Interface: EvmNftInput

moralis-monorepo / @moralisweb3/evm-utils / EvmNftInput

Interface: EvmNftInput

@moralisweb3/evm-utils.EvmNftInput

This can be any object with valid transaction data.

Example

const nftInput = {
         chain: 1,
         contractType: "ERC721",
         tokenAddress: "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e",
         tokenId: "15",
         tokenUri: "string",
         metadata: "string",
         name: "CryptoKitties",
         symbol: "RARI",
         amount: "1",
         blockNumberMinted: "88256",
         blockNumber: "88256",
         ownerOf: "0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359",
         tokenHash: nft.token_hash,
         lastMetadataSync: "date_string",
         lastTokenUriSync: "date_string",
       }

Did this page help you?