@lightprotocol/compressed-token - v0.22.1-alpha.2
    Preparing search index...

    Type Alias PackCompressedTokenAccountsParams

    type PackCompressedTokenAccountsParams = {
        inputCompressedTokenAccounts: ParsedTokenAccount[];
        outputStateTreeInfo?: TreeInfo;
        remainingAccounts?: PublicKey[];
        rootIndices: number[];
        tokenTransferOutputs: TokenTransferOutputData[];
    }
    Index

    Properties

    inputCompressedTokenAccounts: ParsedTokenAccount[]

    Input state to be consumed

    outputStateTreeInfo?: TreeInfo

    State trees that the output should be inserted into. Defaults to the 0th state tree of the input state. Gets padded to the length of outputCompressedAccounts.

    remainingAccounts?: PublicKey[]

    Optional remaining accounts to append to

    rootIndices: number[]

    Root indices that are used on-chain to fetch the correct root from the state Merkle tree account for validity proof verification.

    tokenTransferOutputs: TokenTransferOutputData[]