Coda by Ian Macalinao
    Preparing search index...

    Metadata for a V1 (LeafSchema V1) compressed NFT leaf.

    Mirrors the fields of a Token Metadata Metadata account closely enough that a leaf can be decompressed into one. Hashed (along with creators) to produce the dataHash/creatorHash used to verify the leaf on every mutating instruction.

    type MetadataArgs = {
        collection: Option<Collection>;
        creators: Creator[];
        editionNonce: Option<number>;
        isMutable: boolean;
        name: string;
        primarySaleHappened: boolean;
        sellerFeeBasisPoints: number;
        symbol: string;
        tokenProgramVersion: TokenProgramVersion;
        tokenStandard: Option<TokenStandard>;
        uri: string;
        uses: Option<Uses>;
    }
    Index

    Properties

    collection: Option<Collection>

    Collection

    creators: Creator[]

    Creators of the asset and their royalty shares; hashed to produce creatorHash.

    editionNonce: Option<number>

    nonce for easy calculation of editions, if present

    isMutable: boolean

    Whether or not the data struct is mutable, default is not

    name: string

    The name of the asset

    primarySaleHappened: boolean

    Immutable, once flipped, all sales of this metadata are considered secondary.

    sellerFeeBasisPoints: number

    Royalty basis points that goes to creators in secondary sales (0-10000)

    symbol: string

    The symbol for the asset

    tokenProgramVersion: TokenProgramVersion

    Which SPL token program a decompressed version of this leaf's mint should use.

    tokenStandard: Option<TokenStandard>

    Token standard. Currently only NonFungible is allowed.

    uri: string

    URI pointing to JSON representing the asset

    uses: Option<Uses>

    Uses