@lightprotocol/compressed-token - v0.23.0-beta.8
    Preparing search index...

      @lightprotocol/compressed-token - v0.23.0-beta.8

      Enumerations

      TokenDataVersion
      ExtensionType

      Classes

      CompressedTokenProgram

      Interfaces

      SelectInputAccountsOptions
      SelectedAccountsResult
      InterfaceOptions
      AccountInterface
      MintInterface
      CompressibleConfig
      CreateAssociatedCTokenAccountParams
      CTokenConfig
      ParsedAccountInfoInterface
      CompressibleAccountInput
      PackedCompressedAccount
      CompressibleLoadParams
      LoadResult
      TokenMetadataInstructionData
      BaseMint
      MintContext
      MintExtension
      TokenMetadata
      CompressedMint
      OffChainTokenMetadata
      OffChainTokenMetadataJson

      Type Aliases

      LightCompressedToken
      createTokenPoolAccountsLayoutParams
      addTokenPoolAccountsLayoutParams
      mintToAccountsLayoutParams
      transferAccountsLayoutParams
      approveAccountsLayoutParams
      revokeAccountsLayoutParams
      freezeAccountsLayoutParams
      thawAccountsLayoutParams
      CompressParams
      CompressSplTokenAccountParams
      DecompressParams
      TransferParams
      ApproveParams
      RevokeParams
      CreateMintParams
      MergeTokenAccountsParams
      MintToParams
      CreateSplInterfaceParams
      CreateTokenPoolParams
      AddSplInterfaceParams
      AddTokenPoolParams
      ApproveAndMintToParams
      CreateTokenProgramLookupTableParams
      TokenTransferOutputData
      PackedTokenTransferOutputData
      InputTokenDataWithContext
      DelegatedTransfer
      BatchCompressInstructionData
      MintToInstructionData
      CompressSplTokenAccountInstructionData
      CompressedTokenInstructionDataTransfer
      TokenData
      CompressedTokenInstructionDataApprove
      CompressedTokenInstructionDataRevoke
      SplInterfaceInfo
      TokenPoolInfo
      SplInterfaceActivity
      TokenPoolActivity
      PackCompressedTokenAccountsParams

      Variables

      createTokenPool
      addTokenPools
      LIGHT_TOKEN_CONFIG
      LIGHT_TOKEN_RENT_SPONSOR
      POOL_SEED
      CPI_AUTHORITY_SEED
      SPL_TOKEN_MINT_RENT_EXEMPT_BALANCE
      CREATE_TOKEN_POOL_DISCRIMINATOR
      MINT_TO_DISCRIMINATOR
      BATCH_COMPRESS_DISCRIMINATOR
      TRANSFER_DISCRIMINATOR
      COMPRESS_SPL_TOKEN_ACCOUNT_DISCRIMINATOR
      APPROVE_DISCRIMINATOR
      REVOKE_DISCRIMINATOR
      ADD_TOKEN_POOL_DISCRIMINATOR
      DECOMPRESS_ACCOUNTS_IDEMPOTENT_DISCRIMINATOR
      MAX_TOP_UP
      BASE_RENT_PER_EPOCH
      RENT_PER_BYTE_PER_EPOCH
      SLOTS_PER_RENT_EPOCH
      COMPRESSION_COST
      COMPRESSION_INCENTIVE
      TOTAL_COMPRESSION_COST
      COMPRESSIBLE_CTOKEN_ACCOUNT_SIZE
      COMPRESSIBLE_CTOKEN_RENT_PER_EPOCH
      DEFAULT_PREPAY_EPOCHS
      DEFAULT_WRITE_TOP_UP
      IDL
      DelegatedTransferLayout
      CpiContextLayout
      CompressedTokenInstructionDataTransferLayout
      mintToLayout
      batchCompressLayout
      compressSplTokenAccountInstructionDataLayout
      revokeAccountsLayout
      thawAccountsLayout
      CompressedTokenInstructionDataApproveLayout
      CompressedTokenInstructionDataRevokeLayout
      isSingleTokenPoolInfo
      ERROR_NO_ACCOUNTS_FOUND
      ERROR_MIXED_TREE_TYPES
      DEFAULT_COMPRESSIBLE_CONFIG
      createAtaInterfaceIdempotentInstruction
      MAX_TRANSACTION_SIZE
      MAX_COMBINED_BATCH_BYTES
      MAX_LOAD_ONLY_BATCH_BYTES

      Functions

      approveAndMintTo
      approve
      compressSplTokenAccount
      compress
      createMint
      createSplInterface
      addSplInterfaces
      createTokenProgramLookupTable
      decompressDelegated
      decompress
      mergeTokenAccounts
      mintTo
      revoke
      transferDelegated
      transfer
      rentPerEpoch
      calculateFeePayerCostAtCreation
      getAtaInterface
      createLoadAtaInstructions
      loadAta
      encodeMintToInstructionData
      decodeMintToInstructionData
      encodeBatchCompressInstructionData
      decodeBatchCompressInstructionData
      encodeCompressSplTokenAccountInstructionData
      decodeCompressSplTokenAccountInstructionData
      encodeTransferInstructionData
      decodeTransferInstructionData
      createTokenPoolAccountsLayout
      addTokenPoolAccountsLayout
      mintToAccountsLayout
      transferAccountsLayout
      approveAccountsLayout
      freezeAccountsLayout
      encodeApproveInstructionData
      decodeApproveInstructionData
      encodeRevokeInstructionData
      decodeRevokeInstructionData
      sumUpTokenAmount
      validateSameTokenOwner
      parseTokenData
      parseMaybeDelegatedTransfer
      createTransferOutputState
      createDecompressOutputState
      isSingleSplInterfaceInfo
      deriveSplInterfaceInfo
      checkSplInterfaceInfo
      getSplInterfaceInfos
      selectSplInterfaceInfo
      selectSplInterfaceInfosForDecompression
      deriveTokenPoolInfo
      checkTokenPoolInfo
      getTokenPoolInfos
      selectTokenPoolInfo
      selectTokenPoolInfosForDecompression
      packCompressedTokenAccounts
      groupAccountsByTreeType
      selectAccountsByPreferredTreeType
      selectTokenAccountsForApprove
      selectMinCompressedTokenAccountsForDecompression
      selectMinCompressedTokenAccountsForTransfer
      selectMinCompressedTokenAccountsForTransferOrPartial
      selectSmartCompressedTokenAccountsForTransfer
      selectSmartCompressedTokenAccountsForTransferOrPartial
      checkMint
      createAtaInterface
      createAtaInterfaceIdempotent
      createMintInterface
      decompressInterface
      getOrCreateAtaInterface
      selectInputsForAmount
      createLoadAtaInstructionsFromInterface
      mintToCompressed
      mintToInterface
      mintToCToken
      transferInterface
      sliceLast
      createTransferInterfaceInstructions
      createUnwrapInstructions
      updateMetadataField
      updateMetadataAuthority
      removeMetadataKey
      updateMintAuthority
      updateFreezeAuthority
      wrap
      toAccountInfo
      getAccountInterface
      getAssociatedTokenAddressInterface
      getMintInterface
      unpackMintInterface
      unpackMintData
      createAssociatedCTokenAccountInstruction
      createAssociatedCTokenAccountIdempotentInstruction
      createAssociatedTokenAccountInterfaceInstruction
      createAssociatedTokenAccountInterfaceIdempotentInstruction
      createDecompressInterfaceInstruction
      createLoadAccountsParams
      calculateCompressibleLoadComputeUnits
      createTokenMetadata
      createMintInstruction
      createMintToCompressedInstruction
      createMintToInterfaceInstruction
      createMintToInstruction
      createLightTokenTransferInstruction
      createUnwrapInstruction
      createUpdateMetadataFieldInstruction
      createUpdateMetadataAuthorityInstruction
      createRemoveMetadataKeyInstruction
      createUpdateMintAuthorityInstruction
      createUpdateFreezeAuthorityInstruction
      createWrapInstruction
      deserializeMint
      serializeMint
      decodeTokenMetadata
      encodeTokenMetadata
      extractTokenMetadata
      toOffChainMetadataJson
      estimateTransactionSize

      References

      LightTokenProgram → CompressedTokenProgram