| amountToUiAmountForInterestBearingMintWithoutSimulation | Convert 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) |
| amountToUiAmountForMintWithoutSimulation | Convert 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 |
| amountToUiAmountForScaledUiAmountMintWithoutSimulation | Convert amount to UiAmount for a mint with scaled UI amount extension |
| assertIsMint | - |
| assertIsSupportedTokenProgram | - |
| buildCreateTokenTransaction | Create a transaction that can create a token with metadata |
| buildMintTokensTransaction | Create a transaction that can mint tokens to the desired wallet/owner, including creating their ATA if it does not exist |
| buildTransferTokensTransaction | Create a transaction that can transfer tokens to the desired wallet/owner, including creating their ATA if it does not exist |
| checkedTokenProgramAddress | Check 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 | - |
| fetchTokenAccounts | Fetch all the the token accounts for a given mint and owner Address. Automatically fetching the Mint account itself and calculating the total balance of all the owner's token accounts. |
| 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 | - |
| getAssociatedTokenAccountAddress | Derive 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 | - |
| getCreateTokenInstructions | Create 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 | - |
| getInitializePausableConfigDiscriminatorBytes | - |
| getInitializePausableConfigInstruction | - |
| getInitializePausableConfigInstructionDataCodec | - |
| getInitializePausableConfigInstructionDataDecoder | - |
| getInitializePausableConfigInstructionDataEncoder | - |
| getInitializePausableConfigPausableDiscriminatorBytes | - |
| 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 | - |
| getMintTokensInstructions | Create the instructions required to mint tokens to any wallet/owner, including creating their ATA if it does not exist |
| getMultisigCodec | - |
| getMultisigDecoder | - |
| getMultisigEncoder | - |
| getMultisigSize | - |
| getPauseDiscriminatorBytes | - |
| getPauseInstruction | - |
| getPauseInstructionDataCodec | - |
| getPauseInstructionDataDecoder | - |
| getPauseInstructionDataEncoder | - |
| getPausePausableDiscriminatorBytes | - |
| getPostInitializeInstructionsForMintExtensions | Given 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. |
| getPostInitializeInstructionsForTokenExtensions | Given 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. |
| getPreInitializeInstructionsForMintExtensions | Given 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 | - |
| getResumeDiscriminatorBytes | - |
| getResumeInstruction | - |
| getResumeInstructionDataCodec | - |
| getResumeInstructionDataDecoder | - |
| getResumeInstructionDataEncoder | - |
| getResumePausableDiscriminatorBytes | - |
| 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 | - |
| getTransferTokensInstructions | Create 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 | - |
| parseInitializePausableConfigInstruction | - |
| parseInitializePermanentDelegateInstruction | - |
| parseInitializeScaledUiAmountMintInstruction | - |
| parseInitializeTokenGroupInstruction | - |
| parseInitializeTokenGroupMemberInstruction | - |
| parseInitializeTokenMetadataInstruction | - |
| parseInitializeTransferFeeConfigInstruction | - |
| parseInitializeTransferHookInstruction | - |
| parseMintToCheckedInstruction | - |
| parseMintToInstruction | - |
| parsePauseInstruction | - |
| parseReallocateInstruction | - |
| parseRecoverNestedAssociatedTokenInstruction | - |
| parseRemoveTokenMetadataKeyInstruction | - |
| parseResumeInstruction | - |
| 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 | - |
| tokenAmountToUiAmount | Converts a raw amount (BigInt) to UI amount (human-readable) |
| tokenMetadataField | - |
| tokenUiAmountToAmount | Converts a UI amount (human-readable) to raw amount (BigInt) |
| uiAmountToAmountForInterestBearingMintWithoutSimulation | Convert 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 |
| uiAmountToAmountForMintWithoutSimulation | Convert a UI amount back to the raw amount |
| uiAmountToAmountForScaledUiAmountMintWithoutSimulation | Convert a UI amount back to the raw amount for a mint with a scaled UI amount extension |