Interface AssetWithTokenId

Generic Blockchain Asset, with tokenId required.

interface AssetWithTokenId {
    decimals?: number;
    name?: string;
    tokenAddress: string;
    tokenId: string;
    tokenStandard?: TokenStandard;
}

Hierarchy (view full)

Properties

decimals?: number

Optional for fungible items

name?: string

Optional for ENS names

tokenAddress: string

The asset's contract address

tokenId: string

The asset's token ID

tokenStandard?: TokenStandard

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