opensea-js - v8.0.20
    Preparing search index...

    Interface AssetWithTokenStandard

    Generic Blockchain Asset, with tokenStandard required.

    interface AssetWithTokenStandard {
        decimals?: number;
        name?: string;
        tokenAddress: string;
        tokenId: string | null;
        tokenStandard: TokenStandard;
    }

    Hierarchy (View Summary)

    • Asset
      • AssetWithTokenStandard
    Index

    Properties

    decimals?: number

    Optional for fungible items

    name?: string

    Optional for ENS names

    tokenAddress: string

    The asset's contract address

    tokenId: string | null

    The asset's token ID, or null if ERC-20

    tokenStandard: TokenStandard

    The token standard (e.g. "ERC721") for this asset