@lightprotocol/compressed-token - v0.23.0-beta.8
Other Libraries
Documentation
GitHub
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
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Enumerations
Token
Data
Version
Extension
Type
Classes
Compressed
Token
Program
Interfaces
Select
Input
Accounts
Options
Selected
Accounts
Result
Interface
Options
Account
Interface
Mint
Interface
Compressible
Config
Create
Associated
C
Token
Account
Params
C
Token
Config
Parsed
Account
Info
Interface
Compressible
Account
Input
Packed
Compressed
Account
Compressible
Load
Params
Load
Result
Token
Metadata
Instruction
Data
Base
Mint
Mint
Context
Mint
Extension
Token
Metadata
Compressed
Mint
Off
Chain
Token
Metadata
Off
Chain
Token
Metadata
Json
Type Aliases
Light
Compressed
Token
create
Token
Pool
Accounts
Layout
Params
add
Token
Pool
Accounts
Layout
Params
mint
To
Accounts
Layout
Params
transfer
Accounts
Layout
Params
approve
Accounts
Layout
Params
revoke
Accounts
Layout
Params
freeze
Accounts
Layout
Params
thaw
Accounts
Layout
Params
Compress
Params
Compress
Spl
Token
Account
Params
Decompress
Params
Transfer
Params
Approve
Params
Revoke
Params
Create
Mint
Params
Merge
Token
Accounts
Params
Mint
To
Params
Create
Spl
Interface
Params
Create
Token
Pool
Params
Add
Spl
Interface
Params
Add
Token
Pool
Params
Approve
And
Mint
To
Params
Create
Token
Program
Lookup
Table
Params
Token
Transfer
Output
Data
Packed
Token
Transfer
Output
Data
Input
Token
Data
With
Context
Delegated
Transfer
Batch
Compress
Instruction
Data
Mint
To
Instruction
Data
Compress
Spl
Token
Account
Instruction
Data
Compressed
Token
Instruction
Data
Transfer
Token
Data
Compressed
Token
Instruction
Data
Approve
Compressed
Token
Instruction
Data
Revoke
Spl
Interface
Info
Token
Pool
Info
Spl
Interface
Activity
Token
Pool
Activity
Pack
Compressed
Token
Accounts
Params
Variables
create
Token
Pool
add
Token
Pools
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
Delegated
Transfer
Layout
Cpi
Context
Layout
Compressed
Token
Instruction
Data
Transfer
Layout
mint
To
Layout
batch
Compress
Layout
compress
Spl
Token
Account
Instruction
Data
Layout
revoke
Accounts
Layout
thaw
Accounts
Layout
Compressed
Token
Instruction
Data
Approve
Layout
Compressed
Token
Instruction
Data
Revoke
Layout
is
Single
Token
Pool
Info
ERROR_
NO_
ACCOUNTS_
FOUND
ERROR_
MIXED_
TREE_
TYPES
DEFAULT_
COMPRESSIBLE_
CONFIG
create
Ata
Interface
Idempotent
Instruction
MAX_
TRANSACTION_
SIZE
MAX_
COMBINED_
BATCH_
BYTES
MAX_
LOAD_
ONLY_
BATCH_
BYTES
Functions
approve
And
Mint
To
approve
compress
Spl
Token
Account
compress
create
Mint
create
Spl
Interface
add
Spl
Interfaces
create
Token
Program
Lookup
Table
decompress
Delegated
decompress
merge
Token
Accounts
mint
To
revoke
transfer
Delegated
transfer
rent
Per
Epoch
calculate
Fee
Payer
Cost
At
Creation
get
Ata
Interface
create
Load
Ata
Instructions
load
Ata
encode
Mint
To
Instruction
Data
decode
Mint
To
Instruction
Data
encode
Batch
Compress
Instruction
Data
decode
Batch
Compress
Instruction
Data
encode
Compress
Spl
Token
Account
Instruction
Data
decode
Compress
Spl
Token
Account
Instruction
Data
encode
Transfer
Instruction
Data
decode
Transfer
Instruction
Data
create
Token
Pool
Accounts
Layout
add
Token
Pool
Accounts
Layout
mint
To
Accounts
Layout
transfer
Accounts
Layout
approve
Accounts
Layout
freeze
Accounts
Layout
encode
Approve
Instruction
Data
decode
Approve
Instruction
Data
encode
Revoke
Instruction
Data
decode
Revoke
Instruction
Data
sum
Up
Token
Amount
validate
Same
Token
Owner
parse
Token
Data
parse
Maybe
Delegated
Transfer
create
Transfer
Output
State
create
Decompress
Output
State
is
Single
Spl
Interface
Info
derive
Spl
Interface
Info
check
Spl
Interface
Info
get
Spl
Interface
Infos
select
Spl
Interface
Info
select
Spl
Interface
Infos
For
Decompression
derive
Token
Pool
Info
check
Token
Pool
Info
get
Token
Pool
Infos
select
Token
Pool
Info
select
Token
Pool
Infos
For
Decompression
pack
Compressed
Token
Accounts
group
Accounts
By
Tree
Type
select
Accounts
By
Preferred
Tree
Type
select
Token
Accounts
For
Approve
select
Min
Compressed
Token
Accounts
For
Decompression
select
Min
Compressed
Token
Accounts
For
Transfer
select
Min
Compressed
Token
Accounts
For
Transfer
Or
Partial
select
Smart
Compressed
Token
Accounts
For
Transfer
select
Smart
Compressed
Token
Accounts
For
Transfer
Or
Partial
check
Mint
create
Ata
Interface
create
Ata
Interface
Idempotent
create
Mint
Interface
decompress
Interface
get
Or
Create
Ata
Interface
select
Inputs
For
Amount
create
Load
Ata
Instructions
From
Interface
mint
To
Compressed
mint
To
Interface
mint
To
C
Token
transfer
Interface
slice
Last
create
Transfer
Interface
Instructions
create
Unwrap
Instructions
update
Metadata
Field
update
Metadata
Authority
remove
Metadata
Key
update
Mint
Authority
update
Freeze
Authority
wrap
to
Account
Info
get
Account
Interface
get
Associated
Token
Address
Interface
get
Mint
Interface
unpack
Mint
Interface
unpack
Mint
Data
create
Associated
C
Token
Account
Instruction
create
Associated
C
Token
Account
Idempotent
Instruction
create
Associated
Token
Account
Interface
Instruction
create
Associated
Token
Account
Interface
Idempotent
Instruction
create
Decompress
Interface
Instruction
create
Load
Accounts
Params
calculate
Compressible
Load
Compute
Units
create
Token
Metadata
create
Mint
Instruction
create
Mint
To
Compressed
Instruction
create
Mint
To
Interface
Instruction
create
Mint
To
Instruction
create
Light
Token
Transfer
Instruction
create
Unwrap
Instruction
create
Update
Metadata
Field
Instruction
create
Update
Metadata
Authority
Instruction
create
Remove
Metadata
Key
Instruction
create
Update
Mint
Authority
Instruction
create
Update
Freeze
Authority
Instruction
create
Wrap
Instruction
deserialize
Mint
serialize
Mint
decode
Token
Metadata
encode
Token
Metadata
extract
Token
Metadata
to
Off
Chain
Metadata
Json
estimate
Transaction
Size
References
Light
Token
Program
Other Libraries
Documentation
GitHub
@lightprotocol/compressed-token - v0.23.0-beta.8
Loading...