Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-token-metadata
getCreateMetadataAccountV3Instruction
Function getCreateMetadataAccountV3Instruction
getCreateMetadataAccountV3Instruction
<
TAccountMetadata
extends
string
,
TAccountMint
extends
string
,
TAccountMintAuthority
extends
string
,
TAccountPayer
extends
string
,
TAccountUpdateAuthority
extends
string
,
TAccountSystemProgram
extends
string
,
TAccountRent
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"
>
,
>
(
input
:
CreateMetadataAccountV3Input
<
TAccountMetadata
,
TAccountMint
,
TAccountMintAuthority
,
TAccountPayer
,
TAccountUpdateAuthority
,
TAccountSystemProgram
,
TAccountRent
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
CreateMetadataAccountV3Instruction
<
TProgramAddress
,
TAccountMetadata
,
TAccountMint
,
TAccountMintAuthority
,
TAccountPayer
,
(
|
Address
<
TAccountUpdateAuthority
>
|
TransactionSigner
<
TAccountUpdateAuthority
>
)
extends
TransactionSigner
<
TAccountUpdateAuthority
>
?
AccountMeta
<
TAccountUpdateAuthority
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
TAccountUpdateAuthority
,
TransactionSigner
<
TAccountUpdateAuthority
>
,
>
:
TAccountUpdateAuthority
,
TAccountSystemProgram
,
TAccountRent
,
>
Type Parameters
TAccountMetadata
extends
string
TAccountMint
extends
string
TAccountMintAuthority
extends
string
TAccountPayer
extends
string
TAccountUpdateAuthority
extends
string
TAccountSystemProgram
extends
string
TAccountRent
extends
string
TProgramAddress
extends
Address
=
Address
<
"metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"
>
Parameters
input
:
CreateMetadataAccountV3Input
<
TAccountMetadata
,
TAccountMint
,
TAccountMintAuthority
,
TAccountPayer
,
TAccountUpdateAuthority
,
TAccountSystemProgram
,
TAccountRent
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
CreateMetadataAccountV3Instruction
<
TProgramAddress
,
TAccountMetadata
,
TAccountMint
,
TAccountMintAuthority
,
TAccountPayer
,
(
|
Address
<
TAccountUpdateAuthority
>
|
TransactionSigner
<
TAccountUpdateAuthority
>
)
extends
TransactionSigner
<
TAccountUpdateAuthority
>
?
AccountMeta
<
TAccountUpdateAuthority
>
&
{
role
:
READONLY_SIGNER
}
&
AccountSignerMeta
<
TAccountUpdateAuthority
,
TransactionSigner
<
TAccountUpdateAuthority
>
,
>
:
TAccountUpdateAuthority
,
TAccountSystemProgram
,
TAccountRent
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...