Coda by Ian Macalinao
    Preparing search index...

    Type Alias CollectV2Input<TAccountTreeAuthority, TAccountDestination>

    type CollectV2Input<
        TAccountTreeAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountDestination extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        destination: TAccountDestination;
        treeAuthority: TAccountTreeAuthority;
    }

    Type Parameters

    • TAccountTreeAuthority extends InstructionAccountInput = InstructionAccountInput
    • TAccountDestination extends InstructionAccountInput = InstructionAccountInput
    Index
    destination: TAccountDestination

    Account to receive the collected V2 tree fees.

    treeAuthority: TAccountTreeAuthority

    The tree's TreeConfig PDA, which stores its configuration and acts as the tree's authority for CPIs into the compression program.