Skip to main content

Interface: EvmNftTransferInput

moralis-monorepo / @moralisweb3/common-evm-utils / EvmNftTransferInput

Interface: EvmNftTransferInput

@moralisweb3/common-evm-utils.EvmNftTransferInput

This can be any object with valid transfer data.

Example

const input = {
chain: 1,
tokenAddress: "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e",
toAddress: "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e",
operator: null,
fromAddress: "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e",
value: null,
blockTimestamp: "2021-06-04T16:00:15",
blockHash: "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e",
transactionIndex: 123,
blockNumber: "88256",
contractType: "ERC721",
logIndex: 0,
tokenId: "15",
transactionHash: "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e",
transactionType: "1",
possibleSpam: false
}

Table of contents

Properties

Properties

amount

Optional amount: null | string | number


blockHash

blockHash: string


blockNumber

blockNumber: BigNumberInput


blockTimestamp

blockTimestamp: DateInput


chain

chain: EvmChainish


contractType

contractType: string


fromAddress

Optional fromAddress: null | EvmAddressInput


logIndex

logIndex: string | number


operator

Optional operator: null | EvmAddressInput


possibleSpam

possibleSpam: boolean


toAddress

toAddress: EvmAddressInput


tokenAddress

tokenAddress: EvmAddressInput


tokenId

tokenId: string


transactionHash

transactionHash: string


transactionIndex

Optional transactionIndex: null | string | number


transactionType

Optional transactionType: null | string


value

Optional value: null | EvmNativeInput