Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-token-metadata
getCreateInstruction
Function getCreateInstruction
getCreateInstruction
<
TAccountMetadata
extends
string
,
TAccountMasterEdition
extends
string
,
TAccountMint
extends
string
,
TAccountAuthority
extends
string
,
TAccountPayer
extends
string
,
TAccountUpdateAuthority
extends
string
,
TAccountSystemProgram
extends
string
,
TAccountSysvarInstructions
extends
string
,
TAccountSplTokenProgram
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"
>
,
>
(
input
:
CreateInput
<
TAccountMetadata
,
TAccountMasterEdition
,
TAccountMint
,
TAccountAuthority
,
TAccountPayer
,
TAccountUpdateAuthority
,
TAccountSystemProgram
,
TAccountSysvarInstructions
,
TAccountSplTokenProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
CreateInstruction
<
TProgramAddress
,
TAccountMetadata
,
TAccountMasterEdition
,
TAccountMint
,
TAccountAuthority
,
TAccountPayer
,
TAccountUpdateAuthority
,
TAccountSystemProgram
,
TAccountSysvarInstructions
,
TAccountSplTokenProgram
,
>
Type Parameters
TAccountMetadata
extends
string
TAccountMasterEdition
extends
string
TAccountMint
extends
string
TAccountAuthority
extends
string
TAccountPayer
extends
string
TAccountUpdateAuthority
extends
string
TAccountSystemProgram
extends
string
TAccountSysvarInstructions
extends
string
TAccountSplTokenProgram
extends
string
TProgramAddress
extends
Address
=
Address
<
"metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"
>
Parameters
input
:
CreateInput
<
TAccountMetadata
,
TAccountMasterEdition
,
TAccountMint
,
TAccountAuthority
,
TAccountPayer
,
TAccountUpdateAuthority
,
TAccountSystemProgram
,
TAccountSysvarInstructions
,
TAccountSplTokenProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
CreateInstruction
<
TProgramAddress
,
TAccountMetadata
,
TAccountMasterEdition
,
TAccountMint
,
TAccountAuthority
,
TAccountPayer
,
TAccountUpdateAuthority
,
TAccountSystemProgram
,
TAccountSysvarInstructions
,
TAccountSplTokenProgram
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...