Coda by Ian Macalinao
    Preparing search index...
    • Parameters

      • kind: "V1"
      • data: GetDiscriminatedUnionVariantContent<LeafSchemaArgs, "__kind", "V1">

      Returns {
          __kind: "V1";
          creatorHash: number[];
          dataHash: number[];
          delegate: Address;
          id: Address;
          nonce: number | bigint;
          owner: Address;
      }

      • __kind: "V1"
      • creatorHash: number[]

        Keccak256 hash of the leaf's creators array.

      • dataHash: number[]

        Keccak256 hash of the leaf's metadata (MetadataArgs/MetadataArgsV2).

      • delegate: Address

        Current delegate of the leaf (equal to owner when unset).

      • id: Address

        Asset id of the leaf, derived from the tree address and nonce.

      • nonce: number | bigint

        Tree-scoped nonce assigned to the leaf when it was minted; part of the asset id derivation.

      • owner: Address

        Current owner of the leaf.

    • Parameters

      • kind: "V2"
      • data: GetDiscriminatedUnionVariantContent<LeafSchemaArgs, "__kind", "V2">

      Returns {
          __kind: "V2";
          assetDataHash: number[];
          collectionHash: number[];
          creatorHash: number[];
          dataHash: number[];
          delegate: Address;
          flags: number;
          id: Address;
          nonce: number | bigint;
          owner: Address;
      }

      • __kind: "V2"
      • assetDataHash: number[]

        Hash of the leaf's optional off-chain asset data, if any (V2 only).

      • collectionHash: number[]

        Hash of the leaf's MPL Core collection reference, if any (V2 only).

      • creatorHash: number[]

        Keccak256 hash of the leaf's creators array.

      • dataHash: number[]

        Keccak256 hash of the leaf's metadata (MetadataArgs/MetadataArgsV2).

      • delegate: Address

        Current delegate of the leaf (equal to owner when unset).

      • flags: number

        Packed status bits for the leaf, e.g. frozen and non-transferable (V2 only).

      • id: Address

        Asset id of the leaf, derived from the tree address and nonce.

      • nonce: number | bigint

        Tree-scoped nonce assigned to the leaf when it was minted; part of the asset id derivation.

      • owner: Address

        Current owner of the leaf.