Coda by Ian Macalinao
    Preparing search index...

    Type Alias UpdateMetadataInstructionDataArgs

    type UpdateMetadataInstructionDataArgs = {
        currentMetadata: MetadataArgsArgs;
        index: number;
        nonce: number | bigint;
        root: number[];
        updateArgs: UpdateArgsArgs;
    }
    Index

    Properties

    currentMetadata: MetadataArgsArgs

    The leaf's current metadata args, verified against dataHash before updateArgs is applied.

    index: number

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

    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.

    updateArgs: UpdateArgsArgs

    The metadata fields to change; fields left unset keep their current value on the leaf.