Coda by Ian Macalinao
    Preparing search index...

    Type Alias UpdateAssetDataV2InstructionDataArgs

    type UpdateAssetDataV2InstructionDataArgs = {
        creatorHash: number[];
        dataHash: number[];
        flags: OptionOrNullable<number>;
        index: number;
        newAssetData: OptionOrNullable<ReadonlyUint8Array>;
        newAssetDataSchema: OptionOrNullable<AssetDataSchemaArgs>;
        nonce: number | bigint;
        previousAssetDataHash: OptionOrNullable<number[]>;
        root: number[];
    }
    Index

    Properties

    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.

    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.

    newAssetData: OptionOrNullable<ReadonlyUint8Array>

    Optional raw asset data blob to associate with the asset.

    newAssetDataSchema: OptionOrNullable<AssetDataSchemaArgs>

    Schema describing the format of newAssetData.

    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.

    previousAssetDataHash: OptionOrNullable<number[]>

    Expected current assetDataHash of the leaf, if any, verified before it is replaced by newAssetData.

    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.