Hierarchy

  • Erc721Burnable

Implements

  • DetectableFeature

Constructors

Properties

contractWrapper: ContractWrapper<IBurnableERC721>
featureName: "ERC721Burnable" = FEATURE_NFT_BURNABLE.name
token: {
    prepare: ((...args) => Promise<Transaction<Omit<TransactionResultWithMetadata<unknown>, "data">>>);
    (...args): Promise<TResult>;
} = ...

Type declaration

    • (...args): Promise<TResult>
    • Burn NFTs

      Parameters

      • Rest ...args: [tokenId: BigNumberish]

      Returns Promise<TResult>

      Remarks

      Burn NFTs held by the connected wallet

      Example

      // The token ID of the NFT you want to burn
      const tokenId = 0;

      await contract.nft.burn.token(tokenId);
  • prepare: ((...args) => Promise<Transaction<Omit<TransactionResultWithMetadata<unknown>, "data">>>)
      • (...args): Promise<Transaction<Omit<TransactionResultWithMetadata<unknown>, "data">>>
      • Parameters

        • Rest ...args: [tokenId: BigNumberish]

        Returns Promise<Transaction<Omit<TransactionResultWithMetadata<unknown>, "data">>>

Generated using TypeDoc