Interface: EvmNftInput
moralis-monorepo / @moralisweb3/common-evm-utils / EvmNftInput
Interface: EvmNftInput
@moralisweb3/common-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",
possibleSpam: false
}
Table of contents
Properties
- amount
- blockNumber
- blockNumberMinted
- chain
- contractType
- lastMetadataSync
- lastTokenUriSync
- media
- metadata
- name
- ownerOf
- possibleSpam
- symbol
- tokenAddress
- tokenHash
- tokenId
- tokenUri
Properties
amount
• Optional
amount: null
| string
| number
blockNumber
• Optional
blockNumber: null
| BigNumberInput
blockNumberMinted
• Optional
blockNumberMinted: null
| BigNumberInput
chain
• chain: EvmChainish
contractType
• contractType: string
lastMetadataSync
• Optional
lastMetadataSync: null
| DateInput
lastTokenUriSync
• Optional
lastTokenUriSync: null
| DateInput
media
• Optional
media: EvmNftMediaInput
| EvmNftMedia
metadata
• Optional
metadata: null
| string
name
• Optional
name: null
| string
ownerOf
• Optional
ownerOf: null
| EvmAddressInput
possibleSpam
• possibleSpam: boolean
symbol
• Optional
symbol: null
| string
tokenAddress
• tokenAddress: EvmAddressInput
tokenHash
• Optional
tokenHash: null
| string
tokenId
• tokenId: string
| number
tokenUri
• Optional
tokenUri: null
| string