Coda by Ian Macalinao
Preparing search index...
@solana-programs/token-metadata
getApproveCollectionAuthorityInstruction
Function getApproveCollectionAuthorityInstruction
getApproveCollectionAuthorityInstruction
<
TAccountCollectionAuthorityRecord
extends
InstructionAccountInput
,
TAccountNewCollectionAuthority
extends
InstructionAccountInput
,
TAccountUpdateAuthority
extends
InstructionSignerInput
,
TAccountPayer
extends
InstructionSignerInput
,
TAccountMetadata
extends
InstructionAccountInput
,
TAccountMint
extends
InstructionAccountInput
,
TAccountSystemProgram
extends
InstructionAccountInput
,
TAccountRent
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"
>
,
>
(
input
:
ApproveCollectionAuthorityInput
<
TAccountCollectionAuthorityRecord
,
TAccountNewCollectionAuthority
,
TAccountUpdateAuthority
,
TAccountPayer
,
TAccountMetadata
,
TAccountMint
,
TAccountSystemProgram
,
TAccountRent
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
ApproveCollectionAuthorityInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountCollectionAuthorityRecord
,
InstructionAccountInputAddress
<
TAccountCollectionAuthorityRecord
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountNewCollectionAuthority
,
InstructionAccountInputAddress
<
TAccountNewCollectionAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUpdateAuthority
,
InstructionAccountInputAddress
<
TAccountUpdateAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountMetadata
,
InstructionAccountInputAddress
<
TAccountMetadata
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountMint
,
InstructionAccountInputAddress
<
TAccountMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRent
,
InstructionAccountInputAddress
<
TAccountRent
>
,
>
,
>
Type Parameters
TAccountCollectionAuthorityRecord
extends
InstructionAccountInput
TAccountNewCollectionAuthority
extends
InstructionAccountInput
TAccountUpdateAuthority
extends
InstructionSignerInput
TAccountPayer
extends
InstructionSignerInput
TAccountMetadata
extends
InstructionAccountInput
TAccountMint
extends
InstructionAccountInput
TAccountSystemProgram
extends
InstructionAccountInput
TAccountRent
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"
>
Parameters
input
:
ApproveCollectionAuthorityInput
<
TAccountCollectionAuthorityRecord
,
TAccountNewCollectionAuthority
,
TAccountUpdateAuthority
,
TAccountPayer
,
TAccountMetadata
,
TAccountMint
,
TAccountSystemProgram
,
TAccountRent
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
ApproveCollectionAuthorityInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountCollectionAuthorityRecord
,
InstructionAccountInputAddress
<
TAccountCollectionAuthorityRecord
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountNewCollectionAuthority
,
InstructionAccountInputAddress
<
TAccountNewCollectionAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUpdateAuthority
,
InstructionAccountInputAddress
<
TAccountUpdateAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountMetadata
,
InstructionAccountInputAddress
<
TAccountMetadata
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountMint
,
InstructionAccountInputAddress
<
TAccountMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRent
,
InstructionAccountInputAddress
<
TAccountRent
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...