solana/src/instructions/spl_token/spl_token library

Classes

AccountState
Account state.
AuthorityType
Defines the AuthorityType class to represent different types of authorities.
CpiGuard
CPI Guard extension for Accounts
CpiGuardInstructionInstruction
DefaultAccountState
Default Account::state extension data for mints.
DefaultAccountStateInstruction
ExtensionType
Defines the ExtensionType class to represent different types of extensions.
ExtraAccountMeta
ExtraAccountMetaAccountData
ExtraAccountMetaList
GroupMemberPointer
GroupMemberPointerInstruction
GroupPointer
GroupPointerInstruction
InterestBearingMintConfigState
Interest-bearing extension data for mints
InterestBearingMintInstruction
MemoTransfer
Memo Transfer extension for Accounts
MemoTransferInstruction
MetadataPointer
Metadata pointer extension data for mints.
MetadataPointerInstruction
MintCloseAuthority
PermanentDelegate
SolanaMintAccount
Mint data.
SolanaMultiSigAccount
Multisignature data.
SolanaMultiSigAccountUtils
SolanaRPCGetCipGuard
SolanaRPCGetDefaultAccountState
SolanaRPCGetExtraMetaAccountData
SolanaRPCGetGroupMemberPointer
SolanaRPCGetGroupPointer
SolanaRPCGetInterestBearingMintConfigState
SolanaRPCGetMemoTransfer
SolanaRPCGetMetadataPointer
SolanaRPCGetMintAccount
SolanaRPCGetMintCloseAuthority
SolanaRPCGetMultisigAccount
SolanaRPCGetPermanentDelegate
SolanaRPCGetTokenAccount
SolanaRPCGetTransferFeeAmount
SolanaRPCGetTransferFeeConfigAccount
SolanaRPCGetTransferHook
SolanaRPCGetTransferHookAccount
SolanaTokenAccount
Account data.
SolanaTokenAccountType
SolanaTokenAccountUtils
SPLToken2022ExecuteLayout
SPLToken2022ExtensionsProgram
SPLToken2022HarvestWithheldTokensToMintLayout
Permissionless instruction to transfer all withheld tokens to the mint layout.
SPLToken2022InitializeDefaultAccountStateLayout
Initialize a new mint with the default state for new Accounts layout.
SPLToken2022InitializeGroupMemberPointerLayout
Initialize the group member pointer extension for the given mint account layout.
SPLToken2022InitializeGroupPointerLayout
Initialize the group pointer extension for the given mint account layout.
SPLToken2022InitializeMetadataPointerLayout
Initialize a new mint with a metadata pointer layout.
SPLToken2022InitializeTransferFeeConfigLayout
Initialize the transfer fee on a new mint layout.
SPLToken2022InitializeTransferHookLayout
Initialize a new mint with a transfer hook program layout.
SPLToken2022InterestBearingMintInitializeLayout
Initialize a new mint with interest accrual layout.
SPLToken2022InterestBearingMintUpdateRateLayout
Update the interest rate layout.
SPLToken2022ToggleCpiGuardLayout
Allow or lock all token operations to happen via CPI as normal.
SPLToken2022ToggleMemoTransferLayout
Require memos or Stop requiring memos layout.
SPLToken2022TransferCheckedWithFeeLayout
Transfer, providing expected mint information and fees layout.
SPLToken2022UpdateDefaultAccountStateLayout
Update the default state for new Accounts. Only supported for mints that include the DefaultAccountState extension.
SPLToken2022UpdateGroupMemberPointerLayout
Update the group member pointer extension for the given mint account layout.
SPLToken2022UpdateGroupPointerLayout
Update the group pointer extension for the given mint account layout.
SPLToken2022UpdateMetadataPointerLayout
Update the metadata pointer address layout.
SPLToken2022UpdateTransferHookLayout
Update the transfer hook program id layout.
SPLToken2022Utils
SPLToken2022WithdrawWithheldTokensFromAccountsLayout
Transfer all withheld tokens to an account layout.
SPLToken2022WithdrawWithheldTokensFromMintLayout
SPLTokenAmountToUiAmountLayout
Convert an Amount of tokens to a UiAmount layout.
SPLTokenApproveCheckedLayout
Represents the layout for the SPL token approve checked operation.
SPLTokenApproveLayout
Represents the layout for the SPL token approve operation.
SPLTokenBurnCheckedLayout
Burns tokens by removing them from an account layout.
SPLTokenBurnLayout
Burns tokens by removing them from an account layout.
SPLTokenCloseAccountLayout
Represents the layout for closing an SPL token account.
SPLTokenCreateNativeMintLayout
Creates the native mint layout.
SPLTokenFreezAccountLayout
Freeze an Initialized account.
SPLTokenInitializeAccount2Layout
Initializes a new account to hold tokens layout.
SPLTokenInitializeAccount3Layout
Initializes a new account to hold tokens layout.
SPLTokenInitializeAccountLayout
Initializes a new account to hold tokens layout.
SPLTokenInitializeImmutableOwnerLayout
Initialize the Immutable Owner layout.
SPLTokenInitializeMint2Layout
Initializes a new mint layout
SPLTokenInitializeMintCloseAuthorityLayout
Initialize the close account authority on a new mint layout.
SPLTokenInitializeMintLayout
Initializes a new mint layout.
SPLTokenInitializeMultisigLayout
Initialize Multisig account layout.
SPLTokenInitializeNonTransferableMintLayout
Initialize the non transferable extension for the given mint account layout.
SPLTokenInitializePermanentDelegateLayout
Initialize the permanent delegate on a new mint. layout.
SPLTokenMintToCheckedLayout
Mints new tokens to an account layout.
SPLTokenMintToLayout
Mints new tokens to an account layout.
SPLTokenProgram
This class represents instructions for interacting with the SPL Token Program
SPLTokenProgramConst
SPLTokenProgramInstruction
SPLTokenProgramLayout
SPLTokenReallocateLayout
use reallocation to increase the data size layout.
SPLTokenRevokeLayout
Revokes the delegate's authority layout.
SPLTokenSetAuthorityLayout
Sets a new authority of a mint or account layout.
SPLTokenSyncNativeLayout
sync Native layout.
SPLTokenThawAccountLayout
Thaw a Frozen account layout.
SPLTokenTransferCheckedLayout
transfer checked layout.
SPLTokenTransferLayout
Transfers tokens layout.
SPLTokenUiAmountToAmountLayout
uiAmount To Amount layout.
SPLTokenUtils
TransferFee
TransferFeeAmount
Transfer fee extension data for accounts.
TransferFeeConfig
Transfer fee extension data for mints.
TransferFeeInstructionInstruction
TransferHook
TransferHookAccount
Indicates that the tokens from this account belong to a mint with a transfer hook
TransferHookInstruction
TransferHookUtils