Coda by Ian Macalinao
    Preparing search index...

    Type Alias SetCollectionV2InstructionDataArgs

    type SetCollectionV2InstructionDataArgs = {
        assetDataHash: OptionOrNullable<number[]>;
        flags: OptionOrNullable<number>;
        index: number;
        message: MetadataArgsV2Args;
        nonce: number | bigint;
        root: number[];
    }
    Index

    Properties

    assetDataHash: OptionOrNullable<number[]>

    Expected current assetDataHash of the LeafSchema V2 leaf, if any, carried through unchanged by this instruction.

    flags: OptionOrNullable<number>

    Expected current status flags (e.g. frozen, non-transferable) of the LeafSchema V2 leaf, verified before this instruction updates them.

    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 MetadataArgsV2, verified against dataHash before its collection is set.

    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.