Type alias Contract

Contract: {
    address: string;
    chain: string;
    collection: string | null;
    contract_standard: string;
    name: string;
}

Contract information returned by OpenSea API.

Type declaration

  • address: string

    Contract address

  • chain: string

    Chain the contract is deployed on

  • collection: string | null

    Associated collection slug (if any)

  • contract_standard: string

    Contract standard (e.g., erc721, erc1155)

  • name: string

    Contract name