@lightprotocol/compressed-token - v0.23.0-beta.8
    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

    Output state tree. Required for mint/compress (no inputs). For transfer/merge with V1 inputs: pass a V2 tree for migration. If not provided with inputs, uses input tree.

    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[]