Coda by Ian Macalinao
    Preparing search index...

    Type Alias SetAndVerifyCollectionInstructionDataArgs

    type SetAndVerifyCollectionInstructionDataArgs = {
        collection: Address;
        creatorHash: number[];
        dataHash: number[];
        index: number;
        message: MetadataArgsArgs;
        nonce: number | bigint;
        root: number[];
    }
    Index

    Properties

    collection: Address

    Collection mint to set on the leaf's metadata and mark verified in the same instruction.

    creatorHash: number[]

    Keccak256 hash of the leaf's creators array, used together with root to verify the leaf before it is modified.

    dataHash: number[]

    Keccak256 hash of the leaf's metadata, used together with root to verify the leaf before it is modified.

    index: number

    Position of the leaf within the Merkle tree, used with the Merkle proof to locate and verify the leaf.

    The leaf's current metadata args, verified against dataHash before collection is set and marked verified.

    nonce: number | bigint

    Tree-scoped nonce identifying the leaf, equal to the tree's numMinted at the time the leaf was minted. Combined with the tree address to derive the leaf's asset id.

    root: number[]

    Current Merkle root of the tree, used together with the Merkle proof (passed as remaining accounts) to verify the leaf being operated on.