@solana/spl-token

Index

Enumerations

Classes

Interfaces

Account AmountToUiAmountInstructionData ApproveCheckedInstructionData ApproveInstructionData BurnCheckedInstructionData BurnInstructionData CloseAccountInstructionData CpiGuard CpiGuardInstructionData CreateNativeMintInstructionData DecodedAmountToUiAmountInstruction DecodedAmountToUiAmountInstructionUnchecked DecodedApproveCheckedInstruction DecodedApproveCheckedInstructionUnchecked DecodedApproveInstruction DecodedApproveInstructionUnchecked DecodedBurnCheckedInstruction DecodedBurnCheckedInstructionUnchecked DecodedBurnInstruction DecodedBurnInstructionUnchecked DecodedCloseAccountInstruction DecodedCloseAccountInstructionUnchecked DecodedFreezeAccountInstruction DecodedFreezeAccountInstructionUnchecked DecodedHarvestWithheldTokensToMintInstruction DecodedHarvestWithheldTokensToMintInstructionUnchecked DecodedInitializeAccount2Instruction DecodedInitializeAccount2InstructionUnchecked DecodedInitializeAccount3Instruction DecodedInitializeAccount3InstructionUnchecked DecodedInitializeAccountInstruction DecodedInitializeAccountInstructionUnchecked DecodedInitializeImmutableOwnerInstruction DecodedInitializeImmutableOwnerInstructionUnchecked DecodedInitializeMint2Instruction DecodedInitializeMint2InstructionUnchecked DecodedInitializeMintCloseAuthorityInstruction DecodedInitializeMintCloseAuthorityInstructionUnchecked DecodedInitializeMintInstruction DecodedInitializeMintInstructionUnchecked DecodedInitializeMultisigInstruction DecodedInitializeMultisigInstructionUnchecked DecodedInitializePermanentDelegateInstruction DecodedInitializePermanentDelegateInstructionUnchecked DecodedInitializeTransferFeeConfigInstruction DecodedInitializeTransferFeeConfigInstructionUnchecked DecodedMintToCheckedInstruction DecodedMintToCheckedInstructionUnchecked DecodedMintToInstruction DecodedMintToInstructionUnchecked DecodedRevokeInstruction DecodedRevokeInstructionUnchecked DecodedSetAuthorityInstruction DecodedSetAuthorityInstructionUnchecked DecodedSyncNativeInstruction DecodedSyncNativeInstructionUnchecked DecodedThawAccountInstruction DecodedThawAccountInstructionUnchecked DecodedTransferCheckedInstruction DecodedTransferCheckedInstructionUnchecked DecodedTransferCheckedWithFeeInstruction DecodedTransferCheckedWithFeeInstructionUnchecked DecodedTransferInstruction DecodedTransferInstructionUnchecked DecodedUiAmountToAmountInstruction DecodedUiAmountToAmountInstructionUnchecked DecodedWithdrawWithheldTokensFromAccountsInstruction DecodedWithdrawWithheldTokensFromAccountsInstructionUnchecked DecodedWithdrawWithheldTokensFromMintInstruction DecodedWithdrawWithheldTokensFromMintInstructionUnchecked DefaultAccountState DefaultAccountStateInstructionData ExtraAccountMeta ExtraAccountMetaAccountData ExtraAccountMetaList FreezeAccountInstructionData HarvestWithheldTokensToMintInstructionData ImmutableOwner InitializeAccount2InstructionData InitializeAccount3InstructionData InitializeAccountInstructionData InitializeImmutableOwnerInstructionData InitializeMint2InstructionData InitializeMintCloseAuthorityInstructionData InitializeMintInstructionData InitializeMultisigInstructionData InitializeNonTransferableMintInstructionData InitializePermanentDelegateInstructionData InitializeTransferFeeConfigInstructionData InitializeTransferHookInstructionData InterestBearingMintConfigState InterestBearingMintInitializeInstructionData InterestBearingMintUpdateRateInstructionData MemoTransfer MemoTransferInstructionData MetadataPointer Mint MintCloseAuthority MintToCheckedInstructionData MintToInstructionData Multisig NonTransferable NonTransferableAccount PermanentDelegate RawAccount RawMint ReallocateInstructionData RevokeInstructionData SetAuthorityInstructionData SyncNativeInstructionData ThawAccountInstructionData TransferCheckedInstructionData TransferCheckedWithFeeInstructionData TransferFee TransferFeeAmount TransferFeeConfig TransferHook TransferHookAccount TransferInstructionData UiAmountToAmountInstructionData UpdateTransferHookInstructionData WithdrawWithheldTokensFromAccountsInstructionData WithdrawWithheldTokensFromMintInstructionData

Type Aliases

Variables

ACCOUNT_SIZE ACCOUNT_TYPE_SIZE ASSOCIATED_TOKEN_PROGRAM_ID AccountLayout CPI_GUARD_SIZE CpiGuardLayout DEFAULT_ACCOUNT_STATE_SIZE DefaultAccountStateLayout ExtraAccountMetaAccountDataLayout ExtraAccountMetaLayout ExtraAccountMetaListLayout IMMUTABLE_OWNER_SIZE INTEREST_BEARING_MINT_CONFIG_STATE_SIZE ImmutableOwnerLayout InterestBearingMintConfigStateLayout LENGTH_SIZE MAX_FEE_BASIS_POINTS MEMO_TRANSFER_SIZE METADATA_POINTER_SIZE MINT_CLOSE_AUTHORITY_SIZE MINT_SIZE MULTISIG_SIZE MemoTransferLayout MetadataPointerLayout MintCloseAuthorityLayout MintLayout MultisigLayout NATIVE_MINT NATIVE_MINT_2022 NON_TRANSFERABLE_ACCOUNT_SIZE NON_TRANSFERABLE_SIZE NonTransferableLayout ONE_IN_BASIS_POINTS PERMANENT_DELEGATE_SIZE PermanentDelegateLayout TOKEN_2022_PROGRAM_ID TOKEN_PROGRAM_ID TRANSFER_FEE_AMOUNT_SIZE TRANSFER_FEE_CONFIG_SIZE TRANSFER_HOOK_ACCOUNT_SIZE TRANSFER_HOOK_SIZE TYPE_SIZE TransferFeeAmountLayout TransferFeeConfigLayout TransferHookAccountLayout TransferHookLayout amountToUiAmountInstructionData approveCheckedInstructionData approveInstructionData burnCheckedInstructionData burnInstructionData closeAccountInstructionData cpiGuardInstructionData createNativeMintInstructionData defaultAccountStateInstructionData freezeAccountInstructionData harvestWithheldTokensToMintInstructionData initializeAccount2InstructionData initializeAccount3InstructionData initializeAccountInstructionData initializeImmutableOwnerInstructionData initializeMetadataPointerData initializeMint2InstructionData initializeMintCloseAuthorityInstructionData initializeMintInstructionData initializeMultisigInstructionData initializeNonTransferableMintInstructionData initializePermanentDelegateInstructionData initializeTransferFeeConfigInstructionData initializeTransferHookInstructionData interestBearingMintInitializeInstructionData interestBearingMintUpdateRateInstructionData memoTransferInstructionData mintToCheckedInstructionData mintToInstructionData revokeInstructionData setAuthorityInstructionData syncNativeInstructionData thawAccountInstructionData transferCheckedInstructionData transferCheckedWithFeeInstructionData transferInstructionData updateMetadataPointerData updateTransferHookInstructionData withdrawWithheldTokensFromAccountsInstructionData withdrawWithheldTokensFromMintInstructionData

Functions

addExtraAccountMetasForExecute amountToUiAmount approve approveChecked burn burnChecked calculateEpochFee calculateFee closeAccount createAccount createAmountToUiAmountInstruction createApproveCheckedInstruction createApproveInstruction createAssociatedTokenAccount createAssociatedTokenAccountIdempotent createAssociatedTokenAccountIdempotentInstruction createAssociatedTokenAccountInstruction createBurnCheckedInstruction createBurnInstruction createCloseAccountInstruction createCreateNativeMintInstruction createDisableCpiGuardInstruction createDisableRequiredMemoTransfersInstruction createEmitInstruction createEnableCpiGuardInstruction createEnableRequiredMemoTransfersInstruction createExecuteInstruction createFreezeAccountInstruction createHarvestWithheldTokensToMintInstruction createInitializeAccount2Instruction createInitializeAccount3Instruction createInitializeAccountInstruction createInitializeDefaultAccountStateInstruction createInitializeImmutableOwnerInstruction createInitializeInstruction createInitializeInterestBearingMintInstruction createInitializeMetadataPointerInstruction createInitializeMint2Instruction createInitializeMintCloseAuthorityInstruction createInitializeMintInstruction createInitializeMultisigInstruction createInitializeNonTransferableMintInstruction createInitializePermanentDelegateInstruction createInitializeTransferFeeConfigInstruction createInitializeTransferHookInstruction createInterestBearingMint createMint createMintToCheckedInstruction createMintToInstruction createMultisig createNativeMint createReallocateInstruction createRecoverNestedInstruction createRemoveKeyInstruction createRevokeInstruction createSetAuthorityInstruction createSyncNativeInstruction createThawAccountInstruction createTransferCheckedInstruction createTransferCheckedWithFeeAndTransferHookInstruction createTransferCheckedWithFeeInstruction createTransferCheckedWithTransferHookInstruction createTransferInstruction createUiAmountToAmountInstruction createUpdateAuthorityInstruction createUpdateDefaultAccountStateInstruction createUpdateFieldInstruction createUpdateMetadataPointerInstruction createUpdateRateInterestBearingMintInstruction createUpdateTransferHookInstruction createWithdrawWithheldTokensFromAccountsInstruction createWithdrawWithheldTokensFromMintInstruction createWrappedNativeAccount decodeAmountToUiAmountInstruction decodeAmountToUiAmountInstructionUnchecked decodeApproveCheckedInstruction decodeApproveCheckedInstructionUnchecked decodeApproveInstruction decodeApproveInstructionUnchecked decodeBurnCheckedInstruction decodeBurnCheckedInstructionUnchecked decodeBurnInstruction decodeBurnInstructionUnchecked decodeCloseAccountInstruction decodeCloseAccountInstructionUnchecked decodeFreezeAccountInstruction decodeFreezeAccountInstructionUnchecked decodeHarvestWithheldTokensToMintInstruction decodeHarvestWithheldTokensToMintInstructionUnchecked decodeInitializeAccount2Instruction decodeInitializeAccount2InstructionUnchecked decodeInitializeAccount3Instruction decodeInitializeAccount3InstructionUnchecked decodeInitializeAccountInstruction decodeInitializeAccountInstructionUnchecked decodeInitializeImmutableOwnerInstruction decodeInitializeImmutableOwnerInstructionUnchecked decodeInitializeMint2Instruction decodeInitializeMint2InstructionUnchecked decodeInitializeMintCloseAuthorityInstruction decodeInitializeMintCloseAuthorityInstructionUnchecked decodeInitializeMintInstruction decodeInitializeMintInstructionUnchecked decodeInitializeMultisigInstruction decodeInitializeMultisigInstructionUnchecked decodeInitializePermanentDelegateInstruction decodeInitializePermanentDelegateInstructionUnchecked decodeInitializeTransferFeeConfigInstruction decodeInitializeTransferFeeConfigInstructionUnchecked decodeInstruction decodeMintToCheckedInstruction decodeMintToCheckedInstructionUnchecked decodeMintToInstruction decodeMintToInstructionUnchecked decodeRevokeInstruction decodeRevokeInstructionUnchecked decodeSetAuthorityInstruction decodeSetAuthorityInstructionUnchecked decodeSyncNativeInstruction decodeSyncNativeInstructionUnchecked decodeThawAccountInstruction decodeThawAccountInstructionUnchecked decodeTransferCheckedInstruction decodeTransferCheckedInstructionUnchecked decodeTransferCheckedWithFeeInstruction decodeTransferCheckedWithFeeInstructionUnchecked decodeTransferInstruction decodeTransferInstructionUnchecked decodeUiAmountToAmountInstruction decodeUiAmountToAmountInstructionUnchecked decodeWithdrawWithheldTokensFromAccountsInstruction decodeWithdrawWithheldTokensFromAccountsInstructionUnchecked decodeWithdrawWithheldTokensFromMintInstruction decodeWithdrawWithheldTokensFromMintInstructionUnchecked disableCpiGuard disableRequiredMemoTransfers enableCpiGuard enableRequiredMemoTransfers freezeAccount getAccount getAccountLen getAccountLenForMint getAccountTypeOfMintType getAssociatedTokenAddress getAssociatedTokenAddressSync getCpiGuard getDefaultAccountState getEpochFee getExtensionData getExtensionTypes getExtraAccountMetaAddress getExtraAccountMetas getImmutableOwner getInterestBearingMintConfigState getMemoTransfer getMetadataPointerState getMinimumBalanceForRentExemptAccount getMinimumBalanceForRentExemptAccountWithExtensions getMinimumBalanceForRentExemptMint getMinimumBalanceForRentExemptMintWithExtensions getMinimumBalanceForRentExemptMultisig getMint getMintCloseAuthority getMintLen getMultipleAccounts getMultisig getNewAccountLenForExtensionLen getNonTransferable getNonTransferableAccount getOrCreateAssociatedTokenAccount getPermanentDelegate getTokenMetadata getTransferFeeAmount getTransferFeeConfig getTransferHook getTransferHookAccount getTypeLen harvestWithheldTokensToMint initializeDefaultAccountState initializeTransferHook isAccountExtension isAmountToUiAmountInstruction isApproveCheckedInstruction isApproveInstruction isBurnCheckedInstruction isBurnInstruction isCloseAccountInstruction isFreezeAccountInstruction isInitializeAccount2Instruction isInitializeAccount3Instruction isInitializeAccountInstruction isInitializeMint2Instruction isInitializeMintInstruction isInitializeMultisigInstruction isMintExtension isMintToCheckedInstruction isMintToInstruction isRevokeInstruction isSetAuthorityInstruction isSyncNativeInstruction isThawAccountInstruction isTransferCheckedInstruction isTransferInstruction isUiamountToAmountInstruction mintTo mintToChecked programSupportsExtensions recoverNested resolveExtraAccountMeta revoke setAuthority syncNative thawAccount tokenMetadataInitialize tokenMetadataInitializeWithRentTransfer tokenMetadataRemoveKey tokenMetadataUpdateAuthority tokenMetadataUpdateField tokenMetadataUpdateFieldWithRentTransfer transfer transferChecked transferCheckedWithFee transferCheckedWithFeeAndTransferHook transferCheckedWithTransferHook transferFeeLayout uiAmountToAmount unpackAccount unpackMint unpackMultisig unpackSeeds updateDefaultAccountState updateRateInterestBearingMint updateTokenMetadata updateTransferHook withdrawWithheldTokensFromAccounts withdrawWithheldTokensFromMint

Generated using TypeDoc