gill

token

Enumerations

EnumerationDescription
AccountState-
AssociatedTokenInstruction-
AuthorityType-
ExtensionTypeExtensions that can be applied to mints or accounts. Mint extensions must only be applied to mint accounts, and account extensions must only be applied to token holding accounts.
Token2022Account-
Token2022Instruction-

Type Aliases

Type AliasDescription
AccountStateArgs-
AmountToUiAmountInput-
AmountToUiAmountInstruction-
AmountToUiAmountInstructionData-
AmountToUiAmountInstructionDataArgs-
ApplyConfidentialPendingBalanceInput-
ApplyConfidentialPendingBalanceInstruction-
ApplyConfidentialPendingBalanceInstructionData-
ApplyConfidentialPendingBalanceInstructionDataArgs-
ApproveCheckedInput-
ApproveCheckedInstruction-
ApproveCheckedInstructionData-
ApproveCheckedInstructionDataArgs-
ApproveConfidentialTransferAccountInput-
ApproveConfidentialTransferAccountInstruction-
ApproveConfidentialTransferAccountInstructionData-
ApproveConfidentialTransferAccountInstructionDataArgs-
ApproveInput-
ApproveInstruction-
ApproveInstructionData-
ApproveInstructionDataArgs-
AssociatedTokenError-
AssociatedTokenSeeds-
AuthorityTypeArgs-
BurnCheckedInput-
BurnCheckedInstruction-
BurnCheckedInstructionData-
BurnCheckedInstructionDataArgs-
BurnInput-
BurnInstruction-
BurnInstructionData-
BurnInstructionDataArgs-
CloseAccountInput-
CloseAccountInstruction-
CloseAccountInstructionData-
CloseAccountInstructionDataArgs-
ConfidentialDepositInput-
ConfidentialDepositInstruction-
ConfidentialDepositInstructionData-
ConfidentialDepositInstructionDataArgs-
ConfidentialTransferInput-
ConfidentialTransferInstruction-
ConfidentialTransferInstructionData-
ConfidentialTransferInstructionDataArgs-
ConfidentialTransferWithFeeInput-
ConfidentialTransferWithFeeInstruction-
ConfidentialTransferWithFeeInstructionData-
ConfidentialTransferWithFeeInstructionDataArgs-
ConfidentialWithdrawInput-
ConfidentialWithdrawInstruction-
ConfidentialWithdrawInstructionData-
ConfidentialWithdrawInstructionDataArgs-
ConfigureConfidentialTransferAccountInput-
ConfigureConfidentialTransferAccountInstruction-
ConfigureConfidentialTransferAccountInstructionData-
ConfigureConfidentialTransferAccountInstructionDataArgs-
CreateAssociatedTokenAsyncInput-
CreateAssociatedTokenIdempotentAsyncInput-
CreateAssociatedTokenIdempotentInput-
CreateAssociatedTokenIdempotentInstruction-
CreateAssociatedTokenIdempotentInstructionData-
CreateAssociatedTokenIdempotentInstructionDataArgs-
CreateAssociatedTokenInput-
CreateAssociatedTokenInstruction-
CreateAssociatedTokenInstructionData-
CreateAssociatedTokenInstructionDataArgs-
CreateNativeMintInput-
CreateNativeMintInstruction-
CreateNativeMintInstructionData-
CreateNativeMintInstructionDataArgs-
DecryptableBalanceAuthenticated encryption containing an account balance.
DecryptableBalanceArgs-
DisableConfidentialCreditsInput-
DisableConfidentialCreditsInstruction-
DisableConfidentialCreditsInstructionData-
DisableConfidentialCreditsInstructionDataArgs-
DisableCpiGuardInput-
DisableCpiGuardInstruction-
DisableCpiGuardInstructionData-
DisableCpiGuardInstructionDataArgs-
DisableHarvestToMintInput-
DisableHarvestToMintInstruction-
DisableHarvestToMintInstructionData-
DisableHarvestToMintInstructionDataArgs-
DisableMemoTransfersInput-
DisableMemoTransfersInstruction-
DisableMemoTransfersInstructionData-
DisableMemoTransfersInstructionDataArgs-
DisableNonConfidentialCreditsInput-
DisableNonConfidentialCreditsInstruction-
DisableNonConfidentialCreditsInstructionData-
DisableNonConfidentialCreditsInstructionDataArgs-
EmitTokenMetadataInput-
EmitTokenMetadataInstruction-
EmitTokenMetadataInstructionData-
EmitTokenMetadataInstructionDataArgs-
EmptyConfidentialTransferAccountInput-
EmptyConfidentialTransferAccountInstruction-
EmptyConfidentialTransferAccountInstructionData-
EmptyConfidentialTransferAccountInstructionDataArgs-
EnableConfidentialCreditsInput-
EnableConfidentialCreditsInstruction-
EnableConfidentialCreditsInstructionData-
EnableConfidentialCreditsInstructionDataArgs-
EnableCpiGuardInput-
EnableCpiGuardInstruction-
EnableCpiGuardInstructionData-
EnableCpiGuardInstructionDataArgs-
EnableHarvestToMintInput-
EnableHarvestToMintInstruction-
EnableHarvestToMintInstructionData-
EnableHarvestToMintInstructionDataArgs-
EnableMemoTransfersInput-
EnableMemoTransfersInstruction-
EnableMemoTransfersInstructionData-
EnableMemoTransfersInstructionDataArgs-
EnableNonConfidentialCreditsInput-
EnableNonConfidentialCreditsInstruction-
EnableNonConfidentialCreditsInstructionData-
EnableNonConfidentialCreditsInstructionDataArgs-
EncryptedBalanceElGamal ciphertext containing an account balance.
EncryptedBalanceArgs-
Extension-
ExtensionArgs-
ExtensionTypeArgs-
FreezeAccountInput-
FreezeAccountInstruction-
FreezeAccountInstructionData-
FreezeAccountInstructionDataArgs-
GetAccountDataSizeInput-
GetAccountDataSizeInstruction-
GetAccountDataSizeInstructionData-
GetAccountDataSizeInstructionDataArgs-
GetCreateTokenInstructionsArgs-
GetMintTokensInstructionsArgs-
GetTransferTokensInstructionsArgs-
HarvestWithheldTokensToMintForConfidentialTransferFeeInput-
HarvestWithheldTokensToMintForConfidentialTransferFeeInstruction-
HarvestWithheldTokensToMintForConfidentialTransferFeeInstructionData-
HarvestWithheldTokensToMintForConfidentialTransferFeeInstructionDataArgs-
HarvestWithheldTokensToMintInput-
HarvestWithheldTokensToMintInstruction-
HarvestWithheldTokensToMintInstructionData-
HarvestWithheldTokensToMintInstructionDataArgs-
InitializeAccount2Input-
InitializeAccount2Instruction-
InitializeAccount2InstructionData-
InitializeAccount2InstructionDataArgs-
InitializeAccount3Input-
InitializeAccount3Instruction-
InitializeAccount3InstructionData-
InitializeAccount3InstructionDataArgs-
InitializeAccountInput-
InitializeAccountInstruction-
InitializeAccountInstructionData-
InitializeAccountInstructionDataArgs-
InitializeConfidentialTransferFeeInput-
InitializeConfidentialTransferFeeInstruction-
InitializeConfidentialTransferFeeInstructionData-
InitializeConfidentialTransferFeeInstructionDataArgs-
InitializeConfidentialTransferMintInput-
InitializeConfidentialTransferMintInstruction-
InitializeConfidentialTransferMintInstructionData-
InitializeConfidentialTransferMintInstructionDataArgs-
InitializeDefaultAccountStateInput-
InitializeDefaultAccountStateInstruction-
InitializeDefaultAccountStateInstructionData-
InitializeDefaultAccountStateInstructionDataArgs-
InitializeGroupMemberPointerInput-
InitializeGroupMemberPointerInstruction-
InitializeGroupMemberPointerInstructionData-
InitializeGroupMemberPointerInstructionDataArgs-
InitializeGroupPointerInput-
InitializeGroupPointerInstruction-
InitializeGroupPointerInstructionData-
InitializeGroupPointerInstructionDataArgs-
InitializeImmutableOwnerInput-
InitializeImmutableOwnerInstruction-
InitializeImmutableOwnerInstructionData-
InitializeImmutableOwnerInstructionDataArgs-
InitializeInterestBearingMintInput-
InitializeInterestBearingMintInstruction-
InitializeInterestBearingMintInstructionData-
InitializeInterestBearingMintInstructionDataArgs-
InitializeMetadataPointerInput-
InitializeMetadataPointerInstruction-
InitializeMetadataPointerInstructionData-
InitializeMetadataPointerInstructionDataArgs-
InitializeMint2Input-
InitializeMint2Instruction-
InitializeMint2InstructionData-
InitializeMint2InstructionDataArgs-
InitializeMintCloseAuthorityInput-
InitializeMintCloseAuthorityInstruction-
InitializeMintCloseAuthorityInstructionData-
InitializeMintCloseAuthorityInstructionDataArgs-
InitializeMintInput-
InitializeMintInstruction-
InitializeMintInstructionData-
InitializeMintInstructionDataArgs-
InitializeMultisig2Input-
InitializeMultisig2Instruction-
InitializeMultisig2InstructionData-
InitializeMultisig2InstructionDataArgs-
InitializeMultisigInput-
InitializeMultisigInstruction-
InitializeMultisigInstructionData-
InitializeMultisigInstructionDataArgs-
InitializeNonTransferableMintInput-
InitializeNonTransferableMintInstruction-
InitializeNonTransferableMintInstructionData-
InitializeNonTransferableMintInstructionDataArgs-
InitializePermanentDelegateInput-
InitializePermanentDelegateInstruction-
InitializePermanentDelegateInstructionData-
InitializePermanentDelegateInstructionDataArgs-
InitializeScaledUiAmountMintInput-
InitializeScaledUiAmountMintInstruction-
InitializeScaledUiAmountMintInstructionData-
InitializeScaledUiAmountMintInstructionDataArgs-
InitializeTokenGroupInput-
InitializeTokenGroupInstruction-
InitializeTokenGroupInstructionData-
InitializeTokenGroupInstructionDataArgs-
InitializeTokenGroupMemberInput-
InitializeTokenGroupMemberInstruction-
InitializeTokenGroupMemberInstructionData-
InitializeTokenGroupMemberInstructionDataArgs-
InitializeTokenMetadataInput-
InitializeTokenMetadataInstruction-
InitializeTokenMetadataInstructionData-
InitializeTokenMetadataInstructionDataArgs-
InitializeTransferFeeConfigInput-
InitializeTransferFeeConfigInstruction-
InitializeTransferFeeConfigInstructionData-
InitializeTransferFeeConfigInstructionDataArgs-
InitializeTransferHookInput-
InitializeTransferHookInstruction-
InitializeTransferHookInstructionData-
InitializeTransferHookInstructionDataArgs-
LegacyTokenProgramMonikers-
Mint-
MintArgs-
MintToCheckedInput-
MintToCheckedInstruction-
MintToCheckedInstructionData-
MintToCheckedInstructionDataArgs-
MintToInput-
MintToInstruction-
MintToInstructionData-
MintToInstructionDataArgs-
Multisig-
MultisigArgs-
ParsedAmountToUiAmountInstruction-
ParsedApplyConfidentialPendingBalanceInstruction-
ParsedApproveCheckedInstruction-
ParsedApproveConfidentialTransferAccountInstruction-
ParsedApproveInstruction-
ParsedAssociatedTokenInstruction-
ParsedBurnCheckedInstruction-
ParsedBurnInstruction-
ParsedCloseAccountInstruction-
ParsedConfidentialDepositInstruction-
ParsedConfidentialTransferInstruction-
ParsedConfidentialTransferWithFeeInstruction-
ParsedConfidentialWithdrawInstruction-
ParsedConfigureConfidentialTransferAccountInstruction-
ParsedCreateAssociatedTokenIdempotentInstruction-
ParsedCreateAssociatedTokenInstruction-
ParsedCreateNativeMintInstruction-
ParsedDisableConfidentialCreditsInstruction-
ParsedDisableCpiGuardInstruction-
ParsedDisableHarvestToMintInstruction-
ParsedDisableMemoTransfersInstruction-
ParsedDisableNonConfidentialCreditsInstruction-
ParsedEmitTokenMetadataInstruction-
ParsedEmptyConfidentialTransferAccountInstruction-
ParsedEnableConfidentialCreditsInstruction-
ParsedEnableCpiGuardInstruction-
ParsedEnableHarvestToMintInstruction-
ParsedEnableMemoTransfersInstruction-
ParsedEnableNonConfidentialCreditsInstruction-
ParsedFreezeAccountInstruction-
ParsedGetAccountDataSizeInstruction-
ParsedHarvestWithheldTokensToMintForConfidentialTransferFeeInstruction-
ParsedHarvestWithheldTokensToMintInstruction-
ParsedInitializeAccount2Instruction-
ParsedInitializeAccount3Instruction-
ParsedInitializeAccountInstruction-
ParsedInitializeConfidentialTransferFeeInstruction-
ParsedInitializeConfidentialTransferMintInstruction-
ParsedInitializeDefaultAccountStateInstruction-
ParsedInitializeGroupMemberPointerInstruction-
ParsedInitializeGroupPointerInstruction-
ParsedInitializeImmutableOwnerInstruction-
ParsedInitializeInterestBearingMintInstruction-
ParsedInitializeMetadataPointerInstruction-
ParsedInitializeMint2Instruction-
ParsedInitializeMintCloseAuthorityInstruction-
ParsedInitializeMintInstruction-
ParsedInitializeMultisig2Instruction-
ParsedInitializeMultisigInstruction-
ParsedInitializeNonTransferableMintInstruction-
ParsedInitializePermanentDelegateInstruction-
ParsedInitializeScaledUiAmountMintInstruction-
ParsedInitializeTokenGroupInstruction-
ParsedInitializeTokenGroupMemberInstruction-
ParsedInitializeTokenMetadataInstruction-
ParsedInitializeTransferFeeConfigInstruction-
ParsedInitializeTransferHookInstruction-
ParsedMintToCheckedInstruction-
ParsedMintToInstruction-
ParsedReallocateInstruction-
ParsedRecoverNestedAssociatedTokenInstruction-
ParsedRemoveTokenMetadataKeyInstruction-
ParsedRevokeInstruction-
ParsedSetAuthorityInstruction-
ParsedSetTransferFeeInstruction-
ParsedSyncNativeInstruction-
ParsedThawAccountInstruction-
ParsedToken2022Instruction-
ParsedTransferCheckedInstruction-
ParsedTransferCheckedWithFeeInstruction-
ParsedTransferInstruction-
ParsedUiAmountToAmountInstruction-
ParsedUpdateConfidentialTransferMintInstruction-
ParsedUpdateDefaultAccountStateInstruction-
ParsedUpdateGroupMemberPointerInstruction-
ParsedUpdateGroupPointerInstruction-
ParsedUpdateMetadataPointerInstruction-
ParsedUpdateMultiplierScaledUiMintInstruction-
ParsedUpdateRateInterestBearingMintInstruction-
ParsedUpdateTokenGroupMaxSizeInstruction-
ParsedUpdateTokenGroupUpdateAuthorityInstruction-
ParsedUpdateTokenMetadataFieldInstruction-
ParsedUpdateTokenMetadataUpdateAuthorityInstruction-
ParsedUpdateTransferHookInstruction-
ParsedWithdrawExcessLamportsInstruction-
ParsedWithdrawWithheldTokensFromAccountsForConfidentialTransferFeeInstruction-
ParsedWithdrawWithheldTokensFromAccountsInstruction-
ParsedWithdrawWithheldTokensFromMintForConfidentialTransferFeeInstruction-
ParsedWithdrawWithheldTokensFromMintInstruction-
ReallocateInput-
ReallocateInstruction-
ReallocateInstructionData-
ReallocateInstructionDataArgs-
RecoverNestedAssociatedTokenAsyncInput-
RecoverNestedAssociatedTokenInput-
RecoverNestedAssociatedTokenInstruction-
RecoverNestedAssociatedTokenInstructionData-
RecoverNestedAssociatedTokenInstructionDataArgs-
RemoveTokenMetadataKeyInput-
RemoveTokenMetadataKeyInstruction-
RemoveTokenMetadataKeyInstructionData-
RemoveTokenMetadataKeyInstructionDataArgs-
RevokeInput-
RevokeInstruction-
RevokeInstructionData-
RevokeInstructionDataArgs-
SetAuthorityInput-
SetAuthorityInstruction-
SetAuthorityInstructionData-
SetAuthorityInstructionDataArgs-
SetTransferFeeInput-
SetTransferFeeInstruction-
SetTransferFeeInstructionData-
SetTransferFeeInstructionDataArgs-
SyncNativeInput-
SyncNativeInstruction-
SyncNativeInstructionData-
SyncNativeInstructionDataArgs-
ThawAccountInput-
ThawAccountInstruction-
ThawAccountInstructionData-
ThawAccountInstructionDataArgs-
Token-
Token2022Error-
TokenArgs-
TokenExtensionProgramMonikers-
TokenMetadataFieldFields in the metadata account, used for updating.
TokenMetadataFieldArgs-
TokenProgramMonikers-
TransferCheckedInput-
TransferCheckedInstruction-
TransferCheckedInstructionData-
TransferCheckedInstructionDataArgs-
TransferCheckedWithFeeInput-
TransferCheckedWithFeeInstruction-
TransferCheckedWithFeeInstructionData-
TransferCheckedWithFeeInstructionDataArgs-
TransferFee-
TransferFeeArgs-
TransferInput-
TransferInstruction-
TransferInstructionData-
TransferInstructionDataArgs-
UiAmountToAmountInput-
UiAmountToAmountInstruction-
UiAmountToAmountInstructionData-
UiAmountToAmountInstructionDataArgs-
UpdateConfidentialTransferMintInput-
UpdateConfidentialTransferMintInstruction-
UpdateConfidentialTransferMintInstructionData-
UpdateConfidentialTransferMintInstructionDataArgs-
UpdateDefaultAccountStateInput-
UpdateDefaultAccountStateInstruction-
UpdateDefaultAccountStateInstructionData-
UpdateDefaultAccountStateInstructionDataArgs-
UpdateGroupMemberPointerInput-
UpdateGroupMemberPointerInstruction-
UpdateGroupMemberPointerInstructionData-
UpdateGroupMemberPointerInstructionDataArgs-
UpdateGroupPointerInput-
UpdateGroupPointerInstruction-
UpdateGroupPointerInstructionData-
UpdateGroupPointerInstructionDataArgs-
UpdateMetadataPointerInput-
UpdateMetadataPointerInstruction-
UpdateMetadataPointerInstructionData-
UpdateMetadataPointerInstructionDataArgs-
UpdateMultiplierScaledUiMintInput-
UpdateMultiplierScaledUiMintInstruction-
UpdateMultiplierScaledUiMintInstructionData-
UpdateMultiplierScaledUiMintInstructionDataArgs-
UpdateRateInterestBearingMintInput-
UpdateRateInterestBearingMintInstruction-
UpdateRateInterestBearingMintInstructionData-
UpdateRateInterestBearingMintInstructionDataArgs-
UpdateTokenGroupMaxSizeInput-
UpdateTokenGroupMaxSizeInstruction-
UpdateTokenGroupMaxSizeInstructionData-
UpdateTokenGroupMaxSizeInstructionDataArgs-
UpdateTokenGroupUpdateAuthorityInput-
UpdateTokenGroupUpdateAuthorityInstruction-
UpdateTokenGroupUpdateAuthorityInstructionData-
UpdateTokenGroupUpdateAuthorityInstructionDataArgs-
UpdateTokenMetadataFieldInput-
UpdateTokenMetadataFieldInstruction-
UpdateTokenMetadataFieldInstructionData-
UpdateTokenMetadataFieldInstructionDataArgs-
UpdateTokenMetadataUpdateAuthorityInput-
UpdateTokenMetadataUpdateAuthorityInstruction-
UpdateTokenMetadataUpdateAuthorityInstructionData-
UpdateTokenMetadataUpdateAuthorityInstructionDataArgs-
UpdateTransferHookInput-
UpdateTransferHookInstruction-
UpdateTransferHookInstructionData-
UpdateTransferHookInstructionDataArgs-
WithdrawExcessLamportsInput-
WithdrawExcessLamportsInstruction-
WithdrawExcessLamportsInstructionData-
WithdrawExcessLamportsInstructionDataArgs-
WithdrawWithheldTokensFromAccountsForConfidentialTransferFeeInput-
WithdrawWithheldTokensFromAccountsForConfidentialTransferFeeInstruction-
WithdrawWithheldTokensFromAccountsForConfidentialTransferFeeInstructionData-
WithdrawWithheldTokensFromAccountsForConfidentialTransferFeeInstructionDataArgs-
WithdrawWithheldTokensFromAccountsInput-
WithdrawWithheldTokensFromAccountsInstruction-
WithdrawWithheldTokensFromAccountsInstructionData-
WithdrawWithheldTokensFromAccountsInstructionDataArgs-
WithdrawWithheldTokensFromMintForConfidentialTransferFeeInput-
WithdrawWithheldTokensFromMintForConfidentialTransferFeeInstruction-
WithdrawWithheldTokensFromMintForConfidentialTransferFeeInstructionData-
WithdrawWithheldTokensFromMintForConfidentialTransferFeeInstructionDataArgs-
WithdrawWithheldTokensFromMintInput-
WithdrawWithheldTokensFromMintInstruction-
WithdrawWithheldTokensFromMintInstructionData-
WithdrawWithheldTokensFromMintInstructionDataArgs-

Variables

VariableDescription
AMOUNT_TO_UI_AMOUNT_DISCRIMINATOR-
APPLY_CONFIDENTIAL_PENDING_BALANCE_CONFIDENTIAL_TRANSFER_DISCRIMINATOR-
APPLY_CONFIDENTIAL_PENDING_BALANCE_DISCRIMINATOR-
APPROVE_CHECKED_DISCRIMINATOR-
APPROVE_CONFIDENTIAL_TRANSFER_ACCOUNT_CONFIDENTIAL_TRANSFER_DISCRIMINATOR-
APPROVE_CONFIDENTIAL_TRANSFER_ACCOUNT_DISCRIMINATOR-
APPROVE_DISCRIMINATOR-
ASSOCIATED_TOKEN_ERROR__INVALID_OWNERInvalidOwner: Associated token account owner does not match address derivation
ASSOCIATED_TOKEN_PROGRAM_ADDRESS-
BURN_CHECKED_DISCRIMINATOR-
BURN_DISCRIMINATOR-
CLOSE_ACCOUNT_DISCRIMINATOR-
CONFIDENTIAL_DEPOSIT_CONFIDENTIAL_TRANSFER_DISCRIMINATOR-
CONFIDENTIAL_DEPOSIT_DISCRIMINATOR-
CONFIDENTIAL_TRANSFER_CONFIDENTIAL_TRANSFER_DISCRIMINATOR-
CONFIDENTIAL_TRANSFER_DISCRIMINATOR-
CONFIDENTIAL_TRANSFER_WITH_FEE_CONFIDENTIAL_TRANSFER_DISCRIMINATOR-
CONFIDENTIAL_TRANSFER_WITH_FEE_DISCRIMINATOR-
CONFIDENTIAL_WITHDRAW_CONFIDENTIAL_TRANSFER_DISCRIMINATOR-
CONFIDENTIAL_WITHDRAW_DISCRIMINATOR-
CONFIGURE_CONFIDENTIAL_TRANSFER_ACCOUNT_CONFIDENTIAL_TRANSFER_DISCRIMINATOR-
CONFIGURE_CONFIDENTIAL_TRANSFER_ACCOUNT_DISCRIMINATOR-
CREATE_ASSOCIATED_TOKEN_DISCRIMINATOR-
CREATE_ASSOCIATED_TOKEN_IDEMPOTENT_DISCRIMINATOR-
CREATE_NATIVE_MINT_DISCRIMINATOR-
DISABLE_CONFIDENTIAL_CREDITS_CONFIDENTIAL_TRANSFER_DISCRIMINATOR-
DISABLE_CONFIDENTIAL_CREDITS_DISCRIMINATOR-
DISABLE_CPI_GUARD_CPI_GUARD_DISCRIMINATOR-
DISABLE_CPI_GUARD_DISCRIMINATOR-
DISABLE_HARVEST_TO_MINT_CONFIDENTIAL_TRANSFER_FEE_DISCRIMINATOR-
DISABLE_HARVEST_TO_MINT_DISCRIMINATOR-
DISABLE_MEMO_TRANSFERS_DISCRIMINATOR-
DISABLE_MEMO_TRANSFERS_MEMO_TRANSFERS_DISCRIMINATOR-
DISABLE_NON_CONFIDENTIAL_CREDITS_CONFIDENTIAL_TRANSFER_DISCRIMINATOR-
DISABLE_NON_CONFIDENTIAL_CREDITS_DISCRIMINATOR-
EMIT_TOKEN_METADATA_DISCRIMINATOR-
EMPTY_CONFIDENTIAL_TRANSFER_ACCOUNT_CONFIDENTIAL_TRANSFER_DISCRIMINATOR-
EMPTY_CONFIDENTIAL_TRANSFER_ACCOUNT_DISCRIMINATOR-
ENABLE_CONFIDENTIAL_CREDITS_CONFIDENTIAL_TRANSFER_DISCRIMINATOR-
ENABLE_CONFIDENTIAL_CREDITS_DISCRIMINATOR-
ENABLE_CPI_GUARD_CPI_GUARD_DISCRIMINATOR-
ENABLE_CPI_GUARD_DISCRIMINATOR-
ENABLE_HARVEST_TO_MINT_CONFIDENTIAL_TRANSFER_FEE_DISCRIMINATOR-
ENABLE_HARVEST_TO_MINT_DISCRIMINATOR-
ENABLE_MEMO_TRANSFERS_DISCRIMINATOR-
ENABLE_MEMO_TRANSFERS_MEMO_TRANSFERS_DISCRIMINATOR-
ENABLE_NON_CONFIDENTIAL_CREDITS_CONFIDENTIAL_TRANSFER_DISCRIMINATOR-
ENABLE_NON_CONFIDENTIAL_CREDITS_DISCRIMINATOR-
FREEZE_ACCOUNT_DISCRIMINATOR-
GET_ACCOUNT_DATA_SIZE_DISCRIMINATOR-
HARVEST_WITHHELD_TOKENS_TO_MINT_DISCRIMINATOR-
HARVEST_WITHHELD_TOKENS_TO_MINT_FOR_CONFIDENTIAL_TRANSFER_FEE_CONFIDENTIAL_TRANSFER_FEE_DISCRIMINATOR-
HARVEST_WITHHELD_TOKENS_TO_MINT_FOR_CONFIDENTIAL_TRANSFER_FEE_DISCRIMINATOR-
HARVEST_WITHHELD_TOKENS_TO_MINT_TRANSFER_FEE_DISCRIMINATOR-
INITIALIZE_ACCOUNT_DISCRIMINATOR-
INITIALIZE_ACCOUNT2_DISCRIMINATOR-
INITIALIZE_ACCOUNT3_DISCRIMINATOR-
INITIALIZE_CONFIDENTIAL_TRANSFER_FEE_CONFIDENTIAL_TRANSFER_FEE_DISCRIMINATOR-
INITIALIZE_CONFIDENTIAL_TRANSFER_FEE_DISCRIMINATOR-
INITIALIZE_CONFIDENTIAL_TRANSFER_MINT_CONFIDENTIAL_TRANSFER_DISCRIMINATOR-
INITIALIZE_CONFIDENTIAL_TRANSFER_MINT_DISCRIMINATOR-
INITIALIZE_DEFAULT_ACCOUNT_STATE_DEFAULT_ACCOUNT_STATE_DISCRIMINATOR-
INITIALIZE_DEFAULT_ACCOUNT_STATE_DISCRIMINATOR-
INITIALIZE_GROUP_MEMBER_POINTER_DISCRIMINATOR-
INITIALIZE_GROUP_MEMBER_POINTER_GROUP_MEMBER_POINTER_DISCRIMINATOR-
INITIALIZE_GROUP_POINTER_DISCRIMINATOR-
INITIALIZE_GROUP_POINTER_GROUP_POINTER_DISCRIMINATOR-
INITIALIZE_IMMUTABLE_OWNER_DISCRIMINATOR-
INITIALIZE_INTEREST_BEARING_MINT_DISCRIMINATOR-
INITIALIZE_INTEREST_BEARING_MINT_INTEREST_BEARING_MINT_DISCRIMINATOR-
INITIALIZE_METADATA_POINTER_DISCRIMINATOR-
INITIALIZE_METADATA_POINTER_METADATA_POINTER_DISCRIMINATOR-
INITIALIZE_MINT_CLOSE_AUTHORITY_DISCRIMINATOR-
INITIALIZE_MINT_DISCRIMINATOR-
INITIALIZE_MINT2_DISCRIMINATOR-
INITIALIZE_MULTISIG_DISCRIMINATOR-
INITIALIZE_MULTISIG2_DISCRIMINATOR-
INITIALIZE_NON_TRANSFERABLE_MINT_DISCRIMINATOR-
INITIALIZE_PERMANENT_DELEGATE_DISCRIMINATOR-
INITIALIZE_SCALED_UI_AMOUNT_MINT_DISCRIMINATOR-
INITIALIZE_SCALED_UI_AMOUNT_MINT_SCALED_UI_AMOUNT_MINT_DISCRIMINATOR-
INITIALIZE_TOKEN_GROUP_DISCRIMINATOR-
INITIALIZE_TOKEN_GROUP_MEMBER_DISCRIMINATOR-
INITIALIZE_TOKEN_METADATA_DISCRIMINATOR-
INITIALIZE_TRANSFER_FEE_CONFIG_DISCRIMINATOR-
INITIALIZE_TRANSFER_FEE_CONFIG_TRANSFER_FEE_DISCRIMINATOR-
INITIALIZE_TRANSFER_HOOK_DISCRIMINATOR-
INITIALIZE_TRANSFER_HOOK_TRANSFER_HOOK_DISCRIMINATOR-
MINT_TO_CHECKED_DISCRIMINATOR-
MINT_TO_DISCRIMINATOR-
REALLOCATE_DISCRIMINATOR-
RECOVER_NESTED_ASSOCIATED_TOKEN_DISCRIMINATOR-
REMOVE_TOKEN_METADATA_KEY_DISCRIMINATOR-
REVOKE_DISCRIMINATOR-
SET_AUTHORITY_DISCRIMINATOR-
SET_TRANSFER_FEE_DISCRIMINATOR-
SET_TRANSFER_FEE_TRANSFER_FEE_DISCRIMINATOR-
SYNC_NATIVE_DISCRIMINATOR-
THAW_ACCOUNT_DISCRIMINATOR-
TOKEN_2022_ERROR__ACCOUNT_FROZENAccountFrozen: Account is frozen
TOKEN_2022_ERROR__ALREADY_IN_USEAlreadyInUse: Already in use
TOKEN_2022_ERROR__AUTHORITY_TYPE_NOT_SUPPORTEDAuthorityTypeNotSupported: Account does not support specified authority type
TOKEN_2022_ERROR__FIXED_SUPPLYFixedSupply: Fixed supply
TOKEN_2022_ERROR__INSUFFICIENT_FUNDSInsufficientFunds: Insufficient funds
TOKEN_2022_ERROR__INVALID_INSTRUCTIONInvalidInstruction: Invalid instruction
TOKEN_2022_ERROR__INVALID_MINTInvalidMint: Invalid Mint
TOKEN_2022_ERROR__INVALID_NUMBER_OF_PROVIDED_SIGNERSInvalidNumberOfProvidedSigners: Invalid number of provided signers
TOKEN_2022_ERROR__INVALID_NUMBER_OF_REQUIRED_SIGNERSInvalidNumberOfRequiredSigners: Invalid number of required signers
TOKEN_2022_ERROR__INVALID_STATEInvalidState: State is invalid for requested operation
TOKEN_2022_ERROR__MINT_CANNOT_FREEZEMintCannotFreeze: This token mint cannot freeze accounts
TOKEN_2022_ERROR__MINT_DECIMALS_MISMATCHMintDecimalsMismatch: The provided decimals value different from the Mint decimals
TOKEN_2022_ERROR__MINT_MISMATCHMintMismatch: Account not associated with this Mint
TOKEN_2022_ERROR__NATIVE_NOT_SUPPORTEDNativeNotSupported: Instruction does not support native tokens
TOKEN_2022_ERROR__NON_NATIVE_HAS_BALANCENonNativeHasBalance: Non-native account can only be closed if its balance is zero
TOKEN_2022_ERROR__NON_NATIVE_NOT_SUPPORTEDNonNativeNotSupported: Instruction does not support non-native tokens
TOKEN_2022_ERROR__NOT_RENT_EXEMPTNotRentExempt: Lamport balance below rent-exempt threshold
TOKEN_2022_ERROR__OVERFLOWOverflow: Operation overflowed
TOKEN_2022_ERROR__OWNER_MISMATCHOwnerMismatch: Owner does not match
TOKEN_2022_ERROR__UNINITIALIZED_STATEUninitializedState: State is unititialized
TOKEN_2022_PROGRAM_ADDRESS-
TOKEN_PROGRAM_ADDRESS-
TRANSFER_CHECKED_DISCRIMINATOR-
TRANSFER_CHECKED_WITH_FEE_DISCRIMINATOR-
TRANSFER_CHECKED_WITH_FEE_TRANSFER_FEE_DISCRIMINATOR-
TRANSFER_DISCRIMINATOR-
UI_AMOUNT_TO_AMOUNT_DISCRIMINATOR-
UPDATE_CONFIDENTIAL_TRANSFER_MINT_CONFIDENTIAL_TRANSFER_DISCRIMINATOR-
UPDATE_CONFIDENTIAL_TRANSFER_MINT_DISCRIMINATOR-
UPDATE_DEFAULT_ACCOUNT_STATE_DEFAULT_ACCOUNT_STATE_DISCRIMINATOR-
UPDATE_DEFAULT_ACCOUNT_STATE_DISCRIMINATOR-
UPDATE_GROUP_MEMBER_POINTER_DISCRIMINATOR-
UPDATE_GROUP_MEMBER_POINTER_GROUP_MEMBER_POINTER_DISCRIMINATOR-
UPDATE_GROUP_POINTER_DISCRIMINATOR-
UPDATE_GROUP_POINTER_GROUP_POINTER_DISCRIMINATOR-
UPDATE_METADATA_POINTER_DISCRIMINATOR-
UPDATE_METADATA_POINTER_METADATA_POINTER_DISCRIMINATOR-
UPDATE_MULTIPLIER_SCALED_UI_MINT_DISCRIMINATOR-
UPDATE_MULTIPLIER_SCALED_UI_MINT_SCALED_UI_AMOUNT_MINT_DISCRIMINATOR-
UPDATE_RATE_INTEREST_BEARING_MINT_DISCRIMINATOR-
UPDATE_RATE_INTEREST_BEARING_MINT_INTEREST_BEARING_MINT_DISCRIMINATOR-
UPDATE_TOKEN_GROUP_MAX_SIZE_DISCRIMINATOR-
UPDATE_TOKEN_GROUP_UPDATE_AUTHORITY_DISCRIMINATOR-
UPDATE_TOKEN_METADATA_FIELD_DISCRIMINATOR-
UPDATE_TOKEN_METADATA_UPDATE_AUTHORITY_DISCRIMINATOR-
UPDATE_TRANSFER_HOOK_DISCRIMINATOR-
UPDATE_TRANSFER_HOOK_TRANSFER_HOOK_DISCRIMINATOR-
WITHDRAW_EXCESS_LAMPORTS_DISCRIMINATOR-
WITHDRAW_WITHHELD_TOKENS_FROM_ACCOUNTS_DISCRIMINATOR-
WITHDRAW_WITHHELD_TOKENS_FROM_ACCOUNTS_FOR_CONFIDENTIAL_TRANSFER_FEE_CONFIDENTIAL_TRANSFER_FEE_DISCRIMINATOR-
WITHDRAW_WITHHELD_TOKENS_FROM_ACCOUNTS_FOR_CONFIDENTIAL_TRANSFER_FEE_DISCRIMINATOR-
WITHDRAW_WITHHELD_TOKENS_FROM_ACCOUNTS_TRANSFER_FEE_DISCRIMINATOR-
WITHDRAW_WITHHELD_TOKENS_FROM_MINT_DISCRIMINATOR-
WITHDRAW_WITHHELD_TOKENS_FROM_MINT_FOR_CONFIDENTIAL_TRANSFER_FEE_CONFIDENTIAL_TRANSFER_FEE_DISCRIMINATOR-
WITHDRAW_WITHHELD_TOKENS_FROM_MINT_FOR_CONFIDENTIAL_TRANSFER_FEE_DISCRIMINATOR-
WITHDRAW_WITHHELD_TOKENS_FROM_MINT_TRANSFER_FEE_DISCRIMINATOR-

Functions

FunctionDescription
amountToUiAmountForInterestBearingMintWithoutSimulationConvert amount to UiAmount for a mint with interest bearing extension without simulating a transaction This implements the same logic as the CPI instruction available in /token/program-2022/src/extension/interest_bearing_mint/mod.rs In general to calculate compounding interest over a period of time, the formula is: A = P * e^(r * t) where A = final amount after interest P = principal amount (initial investment) r = annual interest rate (as a decimal, e.g., 5% = 0.05) t = time in years e = mathematical constant (~2.718)
amountToUiAmountForMintWithoutSimulationConvert amount to UiAmount for a mint without simulating a transaction This implements the same logic as process_amount_to_ui_amount in solana-labs/solana-program-library/token/program-2022/src/processor.rs and process_amount_to_ui_amount in solana-labs/solana-program-library/token/program/src/processor.rs
assertIsSupportedTokenProgram-
buildCreateTokenTransactionCreate a transaction that can create a token with metadata
buildMintTokensTransactionCreate a transaction that can mint tokens to the desired wallet/owner, including creating their ATA if it does not exist
buildTransferTokensTransactionCreate a transaction that can transfer tokens to the desired wallet/owner, including creating their ATA if it does not exist
checkedTokenProgramAddressCheck the provided program is one of the supported token programs. Including setting the default to TOKEN_PROGRAM_ADDRESS (the original SPL token program)
decodeMint-
decodeMultisig-
decodeToken-
extension-
fetchAllMaybeMint-
fetchAllMaybeMultisig-
fetchAllMaybeToken-
fetchAllMint-
fetchAllMultisig-
fetchAllToken-
fetchMaybeMint-
fetchMaybeMultisig-
fetchMaybeToken-
fetchMint-
fetchMultisig-
fetchToken-
findAssociatedTokenPda-
getAccountStateCodec-
getAccountStateDecoder-
getAccountStateEncoder-
getAmountToUiAmountDiscriminatorBytes-
getAmountToUiAmountInstruction-
getAmountToUiAmountInstructionDataCodec-
getAmountToUiAmountInstructionDataDecoder-
getAmountToUiAmountInstructionDataEncoder-
getApplyConfidentialPendingBalanceConfidentialTransferDiscriminatorBytes-
getApplyConfidentialPendingBalanceDiscriminatorBytes-
getApplyConfidentialPendingBalanceInstruction-
getApplyConfidentialPendingBalanceInstructionDataCodec-
getApplyConfidentialPendingBalanceInstructionDataDecoder-
getApplyConfidentialPendingBalanceInstructionDataEncoder-
getApproveCheckedDiscriminatorBytes-
getApproveCheckedInstruction-
getApproveCheckedInstructionDataCodec-
getApproveCheckedInstructionDataDecoder-
getApproveCheckedInstructionDataEncoder-
getApproveConfidentialTransferAccountConfidentialTransferDiscriminatorBytes-
getApproveConfidentialTransferAccountDiscriminatorBytes-
getApproveConfidentialTransferAccountInstruction-
getApproveConfidentialTransferAccountInstructionDataCodec-
getApproveConfidentialTransferAccountInstructionDataDecoder-
getApproveConfidentialTransferAccountInstructionDataEncoder-
getApproveDiscriminatorBytes-
getApproveInstruction-
getApproveInstructionDataCodec-
getApproveInstructionDataDecoder-
getApproveInstructionDataEncoder-
getAssociatedTokenAccountAddressDerive the associated token account (ata) address for an owner and mint/tokenProgram
getAssociatedTokenErrorMessage-
getAuthorityTypeCodec-
getAuthorityTypeDecoder-
getAuthorityTypeEncoder-
getBurnCheckedDiscriminatorBytes-
getBurnCheckedInstruction-
getBurnCheckedInstructionDataCodec-
getBurnCheckedInstructionDataDecoder-
getBurnCheckedInstructionDataEncoder-
getBurnDiscriminatorBytes-
getBurnInstruction-
getBurnInstructionDataCodec-
getBurnInstructionDataDecoder-
getBurnInstructionDataEncoder-
getCloseAccountDiscriminatorBytes-
getCloseAccountInstruction-
getCloseAccountInstructionDataCodec-
getCloseAccountInstructionDataDecoder-
getCloseAccountInstructionDataEncoder-
getConfidentialDepositConfidentialTransferDiscriminatorBytes-
getConfidentialDepositDiscriminatorBytes-
getConfidentialDepositInstruction-
getConfidentialDepositInstructionDataCodec-
getConfidentialDepositInstructionDataDecoder-
getConfidentialDepositInstructionDataEncoder-
getConfidentialTransferConfidentialTransferDiscriminatorBytes-
getConfidentialTransferDiscriminatorBytes-
getConfidentialTransferInstruction-
getConfidentialTransferInstructionDataCodec-
getConfidentialTransferInstructionDataDecoder-
getConfidentialTransferInstructionDataEncoder-
getConfidentialTransferWithFeeConfidentialTransferDiscriminatorBytes-
getConfidentialTransferWithFeeDiscriminatorBytes-
getConfidentialTransferWithFeeInstruction-
getConfidentialTransferWithFeeInstructionDataCodec-
getConfidentialTransferWithFeeInstructionDataDecoder-
getConfidentialTransferWithFeeInstructionDataEncoder-
getConfidentialWithdrawConfidentialTransferDiscriminatorBytes-
getConfidentialWithdrawDiscriminatorBytes-
getConfidentialWithdrawInstruction-
getConfidentialWithdrawInstructionDataCodec-
getConfidentialWithdrawInstructionDataDecoder-
getConfidentialWithdrawInstructionDataEncoder-
getConfigureConfidentialTransferAccountConfidentialTransferDiscriminatorBytes-
getConfigureConfidentialTransferAccountDiscriminatorBytes-
getConfigureConfidentialTransferAccountInstruction-
getConfigureConfidentialTransferAccountInstructionDataCodec-
getConfigureConfidentialTransferAccountInstructionDataDecoder-
getConfigureConfidentialTransferAccountInstructionDataEncoder-
getCreateAssociatedTokenDiscriminatorBytes-
getCreateAssociatedTokenIdempotentDiscriminatorBytes-
getCreateAssociatedTokenIdempotentInstruction-
getCreateAssociatedTokenIdempotentInstructionAsync-
getCreateAssociatedTokenIdempotentInstructionDataCodec-
getCreateAssociatedTokenIdempotentInstructionDataDecoder-
getCreateAssociatedTokenIdempotentInstructionDataEncoder-
getCreateAssociatedTokenInstruction-
getCreateAssociatedTokenInstructionAsync-
getCreateAssociatedTokenInstructionDataCodec-
getCreateAssociatedTokenInstructionDataDecoder-
getCreateAssociatedTokenInstructionDataEncoder-
getCreateNativeMintDiscriminatorBytes-
getCreateNativeMintInstruction-
getCreateNativeMintInstructionDataCodec-
getCreateNativeMintInstructionDataDecoder-
getCreateNativeMintInstructionDataEncoder-
getCreateTokenInstructionsCreate the instructions required to initialize a new token's mint
getDecryptableBalanceCodec-
getDecryptableBalanceDecoder-
getDecryptableBalanceEncoder-
getDisableConfidentialCreditsConfidentialTransferDiscriminatorBytes-
getDisableConfidentialCreditsDiscriminatorBytes-
getDisableConfidentialCreditsInstruction-
getDisableConfidentialCreditsInstructionDataCodec-
getDisableConfidentialCreditsInstructionDataDecoder-
getDisableConfidentialCreditsInstructionDataEncoder-
getDisableCpiGuardCpiGuardDiscriminatorBytes-
getDisableCpiGuardDiscriminatorBytes-
getDisableCpiGuardInstruction-
getDisableCpiGuardInstructionDataCodec-
getDisableCpiGuardInstructionDataDecoder-
getDisableCpiGuardInstructionDataEncoder-
getDisableHarvestToMintConfidentialTransferFeeDiscriminatorBytes-
getDisableHarvestToMintDiscriminatorBytes-
getDisableHarvestToMintInstruction-
getDisableHarvestToMintInstructionDataCodec-
getDisableHarvestToMintInstructionDataDecoder-
getDisableHarvestToMintInstructionDataEncoder-
getDisableMemoTransfersDiscriminatorBytes-
getDisableMemoTransfersInstruction-
getDisableMemoTransfersInstructionDataCodec-
getDisableMemoTransfersInstructionDataDecoder-
getDisableMemoTransfersInstructionDataEncoder-
getDisableMemoTransfersMemoTransfersDiscriminatorBytes-
getDisableNonConfidentialCreditsConfidentialTransferDiscriminatorBytes-
getDisableNonConfidentialCreditsDiscriminatorBytes-
getDisableNonConfidentialCreditsInstruction-
getDisableNonConfidentialCreditsInstructionDataCodec-
getDisableNonConfidentialCreditsInstructionDataDecoder-
getDisableNonConfidentialCreditsInstructionDataEncoder-
getEmitTokenMetadataDiscriminatorBytes-
getEmitTokenMetadataInstruction-
getEmitTokenMetadataInstructionDataCodec-
getEmitTokenMetadataInstructionDataDecoder-
getEmitTokenMetadataInstructionDataEncoder-
getEmptyConfidentialTransferAccountConfidentialTransferDiscriminatorBytes-
getEmptyConfidentialTransferAccountDiscriminatorBytes-
getEmptyConfidentialTransferAccountInstruction-
getEmptyConfidentialTransferAccountInstructionDataCodec-
getEmptyConfidentialTransferAccountInstructionDataDecoder-
getEmptyConfidentialTransferAccountInstructionDataEncoder-
getEnableConfidentialCreditsConfidentialTransferDiscriminatorBytes-
getEnableConfidentialCreditsDiscriminatorBytes-
getEnableConfidentialCreditsInstruction-
getEnableConfidentialCreditsInstructionDataCodec-
getEnableConfidentialCreditsInstructionDataDecoder-
getEnableConfidentialCreditsInstructionDataEncoder-
getEnableCpiGuardCpiGuardDiscriminatorBytes-
getEnableCpiGuardDiscriminatorBytes-
getEnableCpiGuardInstruction-
getEnableCpiGuardInstructionDataCodec-
getEnableCpiGuardInstructionDataDecoder-
getEnableCpiGuardInstructionDataEncoder-
getEnableHarvestToMintConfidentialTransferFeeDiscriminatorBytes-
getEnableHarvestToMintDiscriminatorBytes-
getEnableHarvestToMintInstruction-
getEnableHarvestToMintInstructionDataCodec-
getEnableHarvestToMintInstructionDataDecoder-
getEnableHarvestToMintInstructionDataEncoder-
getEnableMemoTransfersDiscriminatorBytes-
getEnableMemoTransfersInstruction-
getEnableMemoTransfersInstructionDataCodec-
getEnableMemoTransfersInstructionDataDecoder-
getEnableMemoTransfersInstructionDataEncoder-
getEnableMemoTransfersMemoTransfersDiscriminatorBytes-
getEnableNonConfidentialCreditsConfidentialTransferDiscriminatorBytes-
getEnableNonConfidentialCreditsDiscriminatorBytes-
getEnableNonConfidentialCreditsInstruction-
getEnableNonConfidentialCreditsInstructionDataCodec-
getEnableNonConfidentialCreditsInstructionDataDecoder-
getEnableNonConfidentialCreditsInstructionDataEncoder-
getEncryptedBalanceCodec-
getEncryptedBalanceDecoder-
getEncryptedBalanceEncoder-
getExtensionCodec-
getExtensionDecoder-
getExtensionEncoder-
getExtensionTypeCodec-
getExtensionTypeDecoder-
getExtensionTypeEncoder-
getFreezeAccountDiscriminatorBytes-
getFreezeAccountInstruction-
getFreezeAccountInstructionDataCodec-
getFreezeAccountInstructionDataDecoder-
getFreezeAccountInstructionDataEncoder-
getGetAccountDataSizeDiscriminatorBytes-
getGetAccountDataSizeInstruction-
getGetAccountDataSizeInstructionDataCodec-
getGetAccountDataSizeInstructionDataDecoder-
getGetAccountDataSizeInstructionDataEncoder-
getHarvestWithheldTokensToMintDiscriminatorBytes-
getHarvestWithheldTokensToMintForConfidentialTransferFeeConfidentialTransferFeeDiscriminatorBytes-
getHarvestWithheldTokensToMintForConfidentialTransferFeeDiscriminatorBytes-
getHarvestWithheldTokensToMintForConfidentialTransferFeeInstruction-
getHarvestWithheldTokensToMintForConfidentialTransferFeeInstructionDataCodec-
getHarvestWithheldTokensToMintForConfidentialTransferFeeInstructionDataDecoder-
getHarvestWithheldTokensToMintForConfidentialTransferFeeInstructionDataEncoder-
getHarvestWithheldTokensToMintInstruction-
getHarvestWithheldTokensToMintInstructionDataCodec-
getHarvestWithheldTokensToMintInstructionDataDecoder-
getHarvestWithheldTokensToMintInstructionDataEncoder-
getHarvestWithheldTokensToMintTransferFeeDiscriminatorBytes-
getInitializeAccount2DiscriminatorBytes-
getInitializeAccount2Instruction-
getInitializeAccount2InstructionDataCodec-
getInitializeAccount2InstructionDataDecoder-
getInitializeAccount2InstructionDataEncoder-
getInitializeAccount3DiscriminatorBytes-
getInitializeAccount3Instruction-
getInitializeAccount3InstructionDataCodec-
getInitializeAccount3InstructionDataDecoder-
getInitializeAccount3InstructionDataEncoder-
getInitializeAccountDiscriminatorBytes-
getInitializeAccountInstruction-
getInitializeAccountInstructionDataCodec-
getInitializeAccountInstructionDataDecoder-
getInitializeAccountInstructionDataEncoder-
getInitializeConfidentialTransferFeeConfidentialTransferFeeDiscriminatorBytes-
getInitializeConfidentialTransferFeeDiscriminatorBytes-
getInitializeConfidentialTransferFeeInstruction-
getInitializeConfidentialTransferFeeInstructionDataCodec-
getInitializeConfidentialTransferFeeInstructionDataDecoder-
getInitializeConfidentialTransferFeeInstructionDataEncoder-
getInitializeConfidentialTransferMintConfidentialTransferDiscriminatorBytes-
getInitializeConfidentialTransferMintDiscriminatorBytes-
getInitializeConfidentialTransferMintInstruction-
getInitializeConfidentialTransferMintInstructionDataCodec-
getInitializeConfidentialTransferMintInstructionDataDecoder-
getInitializeConfidentialTransferMintInstructionDataEncoder-
getInitializeDefaultAccountStateDefaultAccountStateDiscriminatorBytes-
getInitializeDefaultAccountStateDiscriminatorBytes-
getInitializeDefaultAccountStateInstruction-
getInitializeDefaultAccountStateInstructionDataCodec-
getInitializeDefaultAccountStateInstructionDataDecoder-
getInitializeDefaultAccountStateInstructionDataEncoder-
getInitializeGroupMemberPointerDiscriminatorBytes-
getInitializeGroupMemberPointerGroupMemberPointerDiscriminatorBytes-
getInitializeGroupMemberPointerInstruction-
getInitializeGroupMemberPointerInstructionDataCodec-
getInitializeGroupMemberPointerInstructionDataDecoder-
getInitializeGroupMemberPointerInstructionDataEncoder-
getInitializeGroupPointerDiscriminatorBytes-
getInitializeGroupPointerGroupPointerDiscriminatorBytes-
getInitializeGroupPointerInstruction-
getInitializeGroupPointerInstructionDataCodec-
getInitializeGroupPointerInstructionDataDecoder-
getInitializeGroupPointerInstructionDataEncoder-
getInitializeImmutableOwnerDiscriminatorBytes-
getInitializeImmutableOwnerInstruction-
getInitializeImmutableOwnerInstructionDataCodec-
getInitializeImmutableOwnerInstructionDataDecoder-
getInitializeImmutableOwnerInstructionDataEncoder-
getInitializeInterestBearingMintDiscriminatorBytes-
getInitializeInterestBearingMintInstruction-
getInitializeInterestBearingMintInstructionDataCodec-
getInitializeInterestBearingMintInstructionDataDecoder-
getInitializeInterestBearingMintInstructionDataEncoder-
getInitializeInterestBearingMintInterestBearingMintDiscriminatorBytes-
getInitializeMetadataPointerDiscriminatorBytes-
getInitializeMetadataPointerInstruction-
getInitializeMetadataPointerInstructionDataCodec-
getInitializeMetadataPointerInstructionDataDecoder-
getInitializeMetadataPointerInstructionDataEncoder-
getInitializeMetadataPointerMetadataPointerDiscriminatorBytes-
getInitializeMint2DiscriminatorBytes-
getInitializeMint2Instruction-
getInitializeMint2InstructionDataCodec-
getInitializeMint2InstructionDataDecoder-
getInitializeMint2InstructionDataEncoder-
getInitializeMintCloseAuthorityDiscriminatorBytes-
getInitializeMintCloseAuthorityInstruction-
getInitializeMintCloseAuthorityInstructionDataCodec-
getInitializeMintCloseAuthorityInstructionDataDecoder-
getInitializeMintCloseAuthorityInstructionDataEncoder-
getInitializeMintDiscriminatorBytes-
getInitializeMintInstruction-
getInitializeMintInstructionDataCodec-
getInitializeMintInstructionDataDecoder-
getInitializeMintInstructionDataEncoder-
getInitializeMultisig2DiscriminatorBytes-
getInitializeMultisig2Instruction-
getInitializeMultisig2InstructionDataCodec-
getInitializeMultisig2InstructionDataDecoder-
getInitializeMultisig2InstructionDataEncoder-
getInitializeMultisigDiscriminatorBytes-
getInitializeMultisigInstruction-
getInitializeMultisigInstructionDataCodec-
getInitializeMultisigInstructionDataDecoder-
getInitializeMultisigInstructionDataEncoder-
getInitializeNonTransferableMintDiscriminatorBytes-
getInitializeNonTransferableMintInstruction-
getInitializeNonTransferableMintInstructionDataCodec-
getInitializeNonTransferableMintInstructionDataDecoder-
getInitializeNonTransferableMintInstructionDataEncoder-
getInitializePermanentDelegateDiscriminatorBytes-
getInitializePermanentDelegateInstruction-
getInitializePermanentDelegateInstructionDataCodec-
getInitializePermanentDelegateInstructionDataDecoder-
getInitializePermanentDelegateInstructionDataEncoder-
getInitializeScaledUiAmountMintDiscriminatorBytes-
getInitializeScaledUiAmountMintInstruction-
getInitializeScaledUiAmountMintInstructionDataCodec-
getInitializeScaledUiAmountMintInstructionDataDecoder-
getInitializeScaledUiAmountMintInstructionDataEncoder-
getInitializeScaledUiAmountMintScaledUiAmountMintDiscriminatorBytes-
getInitializeTokenGroupDiscriminatorBytes-
getInitializeTokenGroupInstruction-
getInitializeTokenGroupInstructionDataCodec-
getInitializeTokenGroupInstructionDataDecoder-
getInitializeTokenGroupInstructionDataEncoder-
getInitializeTokenGroupMemberDiscriminatorBytes-
getInitializeTokenGroupMemberInstruction-
getInitializeTokenGroupMemberInstructionDataCodec-
getInitializeTokenGroupMemberInstructionDataDecoder-
getInitializeTokenGroupMemberInstructionDataEncoder-
getInitializeTokenMetadataDiscriminatorBytes-
getInitializeTokenMetadataInstruction-
getInitializeTokenMetadataInstructionDataCodec-
getInitializeTokenMetadataInstructionDataDecoder-
getInitializeTokenMetadataInstructionDataEncoder-
getInitializeTransferFeeConfigDiscriminatorBytes-
getInitializeTransferFeeConfigInstruction-
getInitializeTransferFeeConfigInstructionDataCodec-
getInitializeTransferFeeConfigInstructionDataDecoder-
getInitializeTransferFeeConfigInstructionDataEncoder-
getInitializeTransferFeeConfigTransferFeeDiscriminatorBytes-
getInitializeTransferHookDiscriminatorBytes-
getInitializeTransferHookInstruction-
getInitializeTransferHookInstructionDataCodec-
getInitializeTransferHookInstructionDataDecoder-
getInitializeTransferHookInstructionDataEncoder-
getInitializeTransferHookTransferHookDiscriminatorBytes-
getMintCodec-
getMintDecoder-
getMintEncoder-
getMintSize-
getMintToCheckedDiscriminatorBytes-
getMintToCheckedInstruction-
getMintToCheckedInstructionDataCodec-
getMintToCheckedInstructionDataDecoder-
getMintToCheckedInstructionDataEncoder-
getMintToDiscriminatorBytes-
getMintToInstruction-
getMintToInstructionDataCodec-
getMintToInstructionDataDecoder-
getMintToInstructionDataEncoder-
getMintTokensInstructionsCreate the instructions required to mint tokens to any wallet/owner, including creating their ATA if it does not exist
getMultisigCodec-
getMultisigDecoder-
getMultisigEncoder-
getMultisigSize-
getPostInitializeInstructionsForMintExtensionsGiven a mint address and a list of mint extensions, returns a list of instructions that MUST be run after the initializeMint instruction to properly initialize the given extensions on the mint account.
getPostInitializeInstructionsForTokenExtensionsGiven a token address, its owner and a list of token extensions, returns a list of instructions that MUST be run after the initializeAccount instruction to properly initialize the given extensions on the token account.
getPreInitializeInstructionsForMintExtensionsGiven a mint address and a list of mint extensions, returns a list of instructions that MUST be run before the initializeMint instruction to properly initialize the given extensions on the mint account.
getReallocateDiscriminatorBytes-
getReallocateInstruction-
getReallocateInstructionDataCodec-
getReallocateInstructionDataDecoder-
getReallocateInstructionDataEncoder-
getRecoverNestedAssociatedTokenDiscriminatorBytes-
getRecoverNestedAssociatedTokenInstruction-
getRecoverNestedAssociatedTokenInstructionAsync-
getRecoverNestedAssociatedTokenInstructionDataCodec-
getRecoverNestedAssociatedTokenInstructionDataDecoder-
getRecoverNestedAssociatedTokenInstructionDataEncoder-
getRemoveTokenMetadataKeyDiscriminatorBytes-
getRemoveTokenMetadataKeyInstruction-
getRemoveTokenMetadataKeyInstructionDataCodec-
getRemoveTokenMetadataKeyInstructionDataDecoder-
getRemoveTokenMetadataKeyInstructionDataEncoder-
getRevokeDiscriminatorBytes-
getRevokeInstruction-
getRevokeInstructionDataCodec-
getRevokeInstructionDataDecoder-
getRevokeInstructionDataEncoder-
getSetAuthorityDiscriminatorBytes-
getSetAuthorityInstruction-
getSetAuthorityInstructionDataCodec-
getSetAuthorityInstructionDataDecoder-
getSetAuthorityInstructionDataEncoder-
getSetTransferFeeDiscriminatorBytes-
getSetTransferFeeInstruction-
getSetTransferFeeInstructionDataCodec-
getSetTransferFeeInstructionDataDecoder-
getSetTransferFeeInstructionDataEncoder-
getSetTransferFeeTransferFeeDiscriminatorBytes-
getSyncNativeDiscriminatorBytes-
getSyncNativeInstruction-
getSyncNativeInstructionDataCodec-
getSyncNativeInstructionDataDecoder-
getSyncNativeInstructionDataEncoder-
getThawAccountDiscriminatorBytes-
getThawAccountInstruction-
getThawAccountInstructionDataCodec-
getThawAccountInstructionDataDecoder-
getThawAccountInstructionDataEncoder-
getToken2022ErrorMessage-
getTokenCodec-
getTokenDecoder-
getTokenEncoder-
getTokenMetadataFieldCodec-
getTokenMetadataFieldDecoder-
getTokenMetadataFieldEncoder-
getTokenSize-
getTransferCheckedDiscriminatorBytes-
getTransferCheckedInstruction-
getTransferCheckedInstructionDataCodec-
getTransferCheckedInstructionDataDecoder-
getTransferCheckedInstructionDataEncoder-
getTransferCheckedWithFeeDiscriminatorBytes-
getTransferCheckedWithFeeInstruction-
getTransferCheckedWithFeeInstructionDataCodec-
getTransferCheckedWithFeeInstructionDataDecoder-
getTransferCheckedWithFeeInstructionDataEncoder-
getTransferCheckedWithFeeTransferFeeDiscriminatorBytes-
getTransferDiscriminatorBytes-
getTransferFeeCodec-
getTransferFeeDecoder-
getTransferFeeEncoder-
getTransferInstruction-
getTransferInstructionDataCodec-
getTransferInstructionDataDecoder-
getTransferInstructionDataEncoder-
getTransferTokensInstructionsCreate the instructions required to transfer tokens from one wallet to another, including creating the destination ATA if it does not exist
getUiAmountToAmountDiscriminatorBytes-
getUiAmountToAmountInstruction-
getUiAmountToAmountInstructionDataCodec-
getUiAmountToAmountInstructionDataDecoder-
getUiAmountToAmountInstructionDataEncoder-
getUpdateConfidentialTransferMintConfidentialTransferDiscriminatorBytes-
getUpdateConfidentialTransferMintDiscriminatorBytes-
getUpdateConfidentialTransferMintInstruction-
getUpdateConfidentialTransferMintInstructionDataCodec-
getUpdateConfidentialTransferMintInstructionDataDecoder-
getUpdateConfidentialTransferMintInstructionDataEncoder-
getUpdateDefaultAccountStateDefaultAccountStateDiscriminatorBytes-
getUpdateDefaultAccountStateDiscriminatorBytes-
getUpdateDefaultAccountStateInstruction-
getUpdateDefaultAccountStateInstructionDataCodec-
getUpdateDefaultAccountStateInstructionDataDecoder-
getUpdateDefaultAccountStateInstructionDataEncoder-
getUpdateGroupMemberPointerDiscriminatorBytes-
getUpdateGroupMemberPointerGroupMemberPointerDiscriminatorBytes-
getUpdateGroupMemberPointerInstruction-
getUpdateGroupMemberPointerInstructionDataCodec-
getUpdateGroupMemberPointerInstructionDataDecoder-
getUpdateGroupMemberPointerInstructionDataEncoder-
getUpdateGroupPointerDiscriminatorBytes-
getUpdateGroupPointerGroupPointerDiscriminatorBytes-
getUpdateGroupPointerInstruction-
getUpdateGroupPointerInstructionDataCodec-
getUpdateGroupPointerInstructionDataDecoder-
getUpdateGroupPointerInstructionDataEncoder-
getUpdateMetadataPointerDiscriminatorBytes-
getUpdateMetadataPointerInstruction-
getUpdateMetadataPointerInstructionDataCodec-
getUpdateMetadataPointerInstructionDataDecoder-
getUpdateMetadataPointerInstructionDataEncoder-
getUpdateMetadataPointerMetadataPointerDiscriminatorBytes-
getUpdateMultiplierScaledUiMintDiscriminatorBytes-
getUpdateMultiplierScaledUiMintInstruction-
getUpdateMultiplierScaledUiMintInstructionDataCodec-
getUpdateMultiplierScaledUiMintInstructionDataDecoder-
getUpdateMultiplierScaledUiMintInstructionDataEncoder-
getUpdateMultiplierScaledUiMintScaledUiAmountMintDiscriminatorBytes-
getUpdateRateInterestBearingMintDiscriminatorBytes-
getUpdateRateInterestBearingMintInstruction-
getUpdateRateInterestBearingMintInstructionDataCodec-
getUpdateRateInterestBearingMintInstructionDataDecoder-
getUpdateRateInterestBearingMintInstructionDataEncoder-
getUpdateRateInterestBearingMintInterestBearingMintDiscriminatorBytes-
getUpdateTokenGroupMaxSizeDiscriminatorBytes-
getUpdateTokenGroupMaxSizeInstruction-
getUpdateTokenGroupMaxSizeInstructionDataCodec-
getUpdateTokenGroupMaxSizeInstructionDataDecoder-
getUpdateTokenGroupMaxSizeInstructionDataEncoder-
getUpdateTokenGroupUpdateAuthorityDiscriminatorBytes-
getUpdateTokenGroupUpdateAuthorityInstruction-
getUpdateTokenGroupUpdateAuthorityInstructionDataCodec-
getUpdateTokenGroupUpdateAuthorityInstructionDataDecoder-
getUpdateTokenGroupUpdateAuthorityInstructionDataEncoder-
getUpdateTokenMetadataFieldDiscriminatorBytes-
getUpdateTokenMetadataFieldInstruction-
getUpdateTokenMetadataFieldInstructionDataCodec-
getUpdateTokenMetadataFieldInstructionDataDecoder-
getUpdateTokenMetadataFieldInstructionDataEncoder-
getUpdateTokenMetadataUpdateAuthorityDiscriminatorBytes-
getUpdateTokenMetadataUpdateAuthorityInstruction-
getUpdateTokenMetadataUpdateAuthorityInstructionDataCodec-
getUpdateTokenMetadataUpdateAuthorityInstructionDataDecoder-
getUpdateTokenMetadataUpdateAuthorityInstructionDataEncoder-
getUpdateTransferHookDiscriminatorBytes-
getUpdateTransferHookInstruction-
getUpdateTransferHookInstructionDataCodec-
getUpdateTransferHookInstructionDataDecoder-
getUpdateTransferHookInstructionDataEncoder-
getUpdateTransferHookTransferHookDiscriminatorBytes-
getWithdrawExcessLamportsDiscriminatorBytes-
getWithdrawExcessLamportsInstruction-
getWithdrawExcessLamportsInstructionDataCodec-
getWithdrawExcessLamportsInstructionDataDecoder-
getWithdrawExcessLamportsInstructionDataEncoder-
getWithdrawWithheldTokensFromAccountsDiscriminatorBytes-
getWithdrawWithheldTokensFromAccountsForConfidentialTransferFeeConfidentialTransferFeeDiscriminatorBytes-
getWithdrawWithheldTokensFromAccountsForConfidentialTransferFeeDiscriminatorBytes-
getWithdrawWithheldTokensFromAccountsForConfidentialTransferFeeInstruction-
getWithdrawWithheldTokensFromAccountsForConfidentialTransferFeeInstructionDataCodec-
getWithdrawWithheldTokensFromAccountsForConfidentialTransferFeeInstructionDataDecoder-
getWithdrawWithheldTokensFromAccountsForConfidentialTransferFeeInstructionDataEncoder-
getWithdrawWithheldTokensFromAccountsInstruction-
getWithdrawWithheldTokensFromAccountsInstructionDataCodec-
getWithdrawWithheldTokensFromAccountsInstructionDataDecoder-
getWithdrawWithheldTokensFromAccountsInstructionDataEncoder-
getWithdrawWithheldTokensFromAccountsTransferFeeDiscriminatorBytes-
getWithdrawWithheldTokensFromMintDiscriminatorBytes-
getWithdrawWithheldTokensFromMintForConfidentialTransferFeeConfidentialTransferFeeDiscriminatorBytes-
getWithdrawWithheldTokensFromMintForConfidentialTransferFeeDiscriminatorBytes-
getWithdrawWithheldTokensFromMintForConfidentialTransferFeeInstruction-
getWithdrawWithheldTokensFromMintForConfidentialTransferFeeInstructionDataCodec-
getWithdrawWithheldTokensFromMintForConfidentialTransferFeeInstructionDataDecoder-
getWithdrawWithheldTokensFromMintForConfidentialTransferFeeInstructionDataEncoder-
getWithdrawWithheldTokensFromMintInstruction-
getWithdrawWithheldTokensFromMintInstructionDataCodec-
getWithdrawWithheldTokensFromMintInstructionDataDecoder-
getWithdrawWithheldTokensFromMintInstructionDataEncoder-
getWithdrawWithheldTokensFromMintTransferFeeDiscriminatorBytes-
identifyAssociatedTokenInstruction-
identifyToken2022Account-
identifyToken2022Instruction-
isAssociatedTokenError-
isExtension-
isToken2022Error-
isTokenMetadataField-
parseAmountToUiAmountInstruction-
parseApplyConfidentialPendingBalanceInstruction-
parseApproveCheckedInstruction-
parseApproveConfidentialTransferAccountInstruction-
parseApproveInstruction-
parseBurnCheckedInstruction-
parseBurnInstruction-
parseCloseAccountInstruction-
parseConfidentialDepositInstruction-
parseConfidentialTransferInstruction-
parseConfidentialTransferWithFeeInstruction-
parseConfidentialWithdrawInstruction-
parseConfigureConfidentialTransferAccountInstruction-
parseCreateAssociatedTokenIdempotentInstruction-
parseCreateAssociatedTokenInstruction-
parseCreateNativeMintInstruction-
parseDisableConfidentialCreditsInstruction-
parseDisableCpiGuardInstruction-
parseDisableHarvestToMintInstruction-
parseDisableMemoTransfersInstruction-
parseDisableNonConfidentialCreditsInstruction-
parseEmitTokenMetadataInstruction-
parseEmptyConfidentialTransferAccountInstruction-
parseEnableConfidentialCreditsInstruction-
parseEnableCpiGuardInstruction-
parseEnableHarvestToMintInstruction-
parseEnableMemoTransfersInstruction-
parseEnableNonConfidentialCreditsInstruction-
parseFreezeAccountInstruction-
parseGetAccountDataSizeInstruction-
parseHarvestWithheldTokensToMintForConfidentialTransferFeeInstruction-
parseHarvestWithheldTokensToMintInstruction-
parseInitializeAccount2Instruction-
parseInitializeAccount3Instruction-
parseInitializeAccountInstruction-
parseInitializeConfidentialTransferFeeInstruction-
parseInitializeConfidentialTransferMintInstruction-
parseInitializeDefaultAccountStateInstruction-
parseInitializeGroupMemberPointerInstruction-
parseInitializeGroupPointerInstruction-
parseInitializeImmutableOwnerInstruction-
parseInitializeInterestBearingMintInstruction-
parseInitializeMetadataPointerInstruction-
parseInitializeMint2Instruction-
parseInitializeMintCloseAuthorityInstruction-
parseInitializeMintInstruction-
parseInitializeMultisig2Instruction-
parseInitializeMultisigInstruction-
parseInitializeNonTransferableMintInstruction-
parseInitializePermanentDelegateInstruction-
parseInitializeScaledUiAmountMintInstruction-
parseInitializeTokenGroupInstruction-
parseInitializeTokenGroupMemberInstruction-
parseInitializeTokenMetadataInstruction-
parseInitializeTransferFeeConfigInstruction-
parseInitializeTransferHookInstruction-
parseMintToCheckedInstruction-
parseMintToInstruction-
parseReallocateInstruction-
parseRecoverNestedAssociatedTokenInstruction-
parseRemoveTokenMetadataKeyInstruction-
parseRevokeInstruction-
parseSetAuthorityInstruction-
parseSetTransferFeeInstruction-
parseSyncNativeInstruction-
parseThawAccountInstruction-
parseTokenProgramAddressOrMoniker-
parseTransferCheckedInstruction-
parseTransferCheckedWithFeeInstruction-
parseTransferInstruction-
parseUiAmountToAmountInstruction-
parseUpdateConfidentialTransferMintInstruction-
parseUpdateDefaultAccountStateInstruction-
parseUpdateGroupMemberPointerInstruction-
parseUpdateGroupPointerInstruction-
parseUpdateMetadataPointerInstruction-
parseUpdateMultiplierScaledUiMintInstruction-
parseUpdateRateInterestBearingMintInstruction-
parseUpdateTokenGroupMaxSizeInstruction-
parseUpdateTokenGroupUpdateAuthorityInstruction-
parseUpdateTokenMetadataFieldInstruction-
parseUpdateTokenMetadataUpdateAuthorityInstruction-
parseUpdateTransferHookInstruction-
parseWithdrawExcessLamportsInstruction-
parseWithdrawWithheldTokensFromAccountsForConfidentialTransferFeeInstruction-
parseWithdrawWithheldTokensFromAccountsInstruction-
parseWithdrawWithheldTokensFromMintForConfidentialTransferFeeInstruction-
parseWithdrawWithheldTokensFromMintInstruction-
tokenAmountToUiAmountConverts a raw amount (BigInt) to UI amount (human-readable)
tokenMetadataField-
tokenUiAmountToAmountConverts a UI amount (human-readable) to raw amount (BigInt)
uiAmountToAmountForInterestBearingMintWithoutSimulationConvert an amount with interest back to the original amount without interest This implements the same logic as the CPI instruction available in /token/program-2022/src/extension/interest_bearing_mint/mod.rs
uiAmountToAmountForMintWithoutSimulationConvert a UI amount back to the raw amount

On this page