Coda by Ian Macalinao
    Preparing search index...

    Type Alias TransferV2Input<TAccountTreeAuthority, TAccountPayer, TAccountAuthority, TAccountLeafOwner, TAccountLeafDelegate, TAccountNewLeafOwner, TAccountMerkleTree, TAccountCoreCollection, TAccountLogWrapper, TAccountCompressionProgram, TAccountSystemProgram>

    type TransferV2Input<
        TAccountTreeAuthority extends string = string,
        TAccountPayer extends string = string,
        TAccountAuthority extends string = string,
        TAccountLeafOwner extends string = string,
        TAccountLeafDelegate extends string = string,
        TAccountNewLeafOwner extends string = string,
        TAccountMerkleTree extends string = string,
        TAccountCoreCollection extends string = string,
        TAccountLogWrapper extends string = string,
        TAccountCompressionProgram extends string = string,
        TAccountSystemProgram extends string = string,
    > = {
        assetDataHash: TransferV2InstructionDataArgs["assetDataHash"];
        authority?: TransactionSigner<TAccountAuthority>;
        compressionProgram?: Address<TAccountCompressionProgram>;
        coreCollection?: Address<TAccountCoreCollection>;
        creatorHash: TransferV2InstructionDataArgs["creatorHash"];
        dataHash: TransferV2InstructionDataArgs["dataHash"];
        flags: TransferV2InstructionDataArgs["flags"];
        index: TransferV2InstructionDataArgs["index"];
        leafDelegate?: Address<TAccountLeafDelegate>;
        leafOwner: Address<TAccountLeafOwner>;
        logWrapper?: Address<TAccountLogWrapper>;
        merkleTree: Address<TAccountMerkleTree>;
        newLeafOwner: Address<TAccountNewLeafOwner>;
        nonce: TransferV2InstructionDataArgs["nonce"];
        payer: TransactionSigner<TAccountPayer>;
        root: TransferV2InstructionDataArgs["root"];
        systemProgram?: Address<TAccountSystemProgram>;
        treeAuthority: Address<TAccountTreeAuthority>;
    }

    Type Parameters

    • TAccountTreeAuthority extends string = string
    • TAccountPayer extends string = string
    • TAccountAuthority extends string = string
    • TAccountLeafOwner extends string = string
    • TAccountLeafDelegate extends string = string
    • TAccountNewLeafOwner extends string = string
    • TAccountMerkleTree extends string = string
    • TAccountCoreCollection extends string = string
    • TAccountLogWrapper extends string = string
    • TAccountCompressionProgram extends string = string
    • TAccountSystemProgram extends string = string
    Index

    Properties

    authority?: TransactionSigner<TAccountAuthority>

    Optional authority, defaults to payer. Must be either the leaf owner or a permanent transfer delegate plugin on the collection.

    compressionProgram?: Address<TAccountCompressionProgram>

    The SPL/MPL Account Compression program that owns and manages the Merkle tree.

    coreCollection?: Address<TAccountCoreCollection>

    MPL Core collection account the asset belongs to (V2 collections).

    leafDelegate?: Address<TAccountLeafDelegate>

    Defaults to leafOwner.

    leafOwner: Address<TAccountLeafOwner>

    Owner of the compressed NFT leaf being operated on.

    logWrapper?: Address<TAccountLogWrapper>

    The SPL/MPL Noop program, used to log leaf data so off-chain indexers can reconstruct the tree.

    merkleTree: Address<TAccountMerkleTree>

    The concurrent Merkle tree account storing the compressed leaves, owned by the account compression program.

    newLeafOwner: Address<TAccountNewLeafOwner>

    New owner the leaf is being transferred to.

    payer: TransactionSigner<TAccountPayer>

    Account that pays for the transaction and any account rent.

    systemProgram?: Address<TAccountSystemProgram>

    The Solana System program.

    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.