Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-token-metadata
getCreateInstructionAsync
Function getCreateInstructionAsync
getCreateInstructionAsync
<
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
:
CreateAsyncInput
<
TAccountMetadata
,
TAccountMasterEdition
,
TAccountMint
,
TAccountAuthority
,
TAccountPayer
,
TAccountUpdateAuthority
,
TAccountSystemProgram
,
TAccountSysvarInstructions
,
TAccountSplTokenProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
Promise
<
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
:
CreateAsyncInput
<
TAccountMetadata
,
TAccountMasterEdition
,
TAccountMint
,
TAccountAuthority
,
TAccountPayer
,
TAccountUpdateAuthority
,
TAccountSystemProgram
,
TAccountSysvarInstructions
,
TAccountSplTokenProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
Promise
<
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...