Coda by Ian Macalinao
    Preparing search index...

    Type Alias CollectV2Input<TAccountTreeAuthority, TAccountDestination>

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

    Type Parameters

    • TAccountTreeAuthority extends string = string
    • TAccountDestination extends string = string
    Index

    Properties

    destination: Address<TAccountDestination>

    Account to receive the collected V2 tree fees.

    treeAuthority: Address<TAccountTreeAuthority>

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