Expand description

Instruction types

Enums

Specifies the authority type for SetAuthority instructions

Instructions supported by the token program.

Constants

Maximum number of multisignature signers (max N)

Minimum number of multisignature signers (min N)

Functions

Creates an AmountToUiAmount instruction

Creates an Approve instruction.

Creates an ApproveChecked instruction.

Creates a Burn instruction.

Creates a BurnChecked instruction.

Creates a CloseAccount instruction.

Creates a FreezeAccount instruction.

Creates a GetAccountDataSize instruction

Creates a InitializeAccount instruction.

Creates a InitializeAccount2 instruction.

Creates a InitializeAccount3 instruction.

Creates a InitializeImmutableOwner instruction

Creates a InitializeMint instruction.

Creates a InitializeMint2 instruction.

Creates a InitializeMultisig instruction.

Creates a InitializeMultisig2 instruction.

Utility function that checks index is between MIN_SIGNERS and MAX_SIGNERS

Creates a MintTo instruction.

Creates a MintToChecked instruction.

Creates a Revoke instruction.

Creates a SetAuthority instruction.

Creates a SyncNative instruction

Creates a ThawAccount instruction.

Creates a Transfer instruction.

Creates a TransferChecked instruction.

Creates a UiAmountToAmount instruction