Expand description
Instruction types
Enums§
- Authority
Type - Specifies the authority type for SetAuthority instructions
- Token
Instruction - Instructions supported by the token program.
Constants§
- MAX_
SIGNERS - Maximum number of multisignature signers (max N)
- MIN_
SIGNERS - Minimum number of multisignature signers (min N)
Functions§
- amount_
to_ ui_ amount - Creates an
AmountToUiAmount
instruction - approve
- Creates an
Approve
instruction. - approve_
checked - Creates an
ApproveChecked
instruction. - burn
- Creates a
Burn
instruction. - burn_
checked - Creates a
BurnChecked
instruction. - close_
account - Creates a
CloseAccount
instruction. - create_
native_ mint - Creates a
CreateNativeMint
instruction - decode_
instruction_ data - Utility function for decoding instruction data
- decode_
instruction_ type - Utility function for decoding just the instruction type
- freeze_
account - Creates a
FreezeAccount
instruction. - get_
account_ data_ size - Creates a
GetAccountDataSize
instruction - initialize_
account - Creates a
InitializeAccount
instruction. - initialize_
account2 - Creates a
InitializeAccount2
instruction. - initialize_
account3 - Creates a
InitializeAccount3
instruction. - initialize_
immutable_ owner - Create an
InitializeImmutableOwner
instruction - initialize_
mint - Creates a
InitializeMint
instruction. - initialize_
mint2 - Creates a
InitializeMint2
instruction. - initialize_
mint_ close_ authority - Creates an
InitializeMintCloseAuthority
instruction - initialize_
multisig - Creates a
InitializeMultisig
instruction. - initialize_
multisig2 - Creates a
InitializeMultisig2
instruction. - initialize_
non_ transferable_ mint - Creates an
InitializeNonTransferableMint
instruction - initialize_
permanent_ delegate - Creates an
InitializePermanentDelegate
instruction - is_
valid_ signer_ index - Utility function that checks index is between MIN_SIGNERS and MAX_SIGNERS
- mint_to
- Creates a
MintTo
instruction. - mint_
to_ checked - Creates a
MintToChecked
instruction. - reallocate
- Creates a
Reallocate
instruction - revoke
- Creates a
Revoke
instruction. - set_
authority - Creates a
SetAuthority
instruction. - sync_
native - Creates a
SyncNative
instruction - thaw_
account - Creates a
ThawAccount
instruction. - transfer
Deprecated - Creates a
Transfer
instruction. - transfer_
checked - Creates a
TransferChecked
instruction. - ui_
amount_ to_ amount - Creates a
UiAmountToAmount
instruction