Interface: Erc20TransactionInput
moralis-monorepo / @moralisweb3/common-evm-utils / Erc20TransactionInput
Interface: Erc20TransactionInput
@moralisweb3/common-evm-utils.Erc20TransactionInput
This can be any object with valid erc20 transfer data.
Example
const input = {
chain: 1,
address: "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e",
toAddress: "0x62AED87d21Ad0F3cdE4D147Fdcc9245401Af0044",
fromAddress: "0xd4a3BebD824189481FC45363602b83C9c7e9cbDf",
value: "650000000000000000",
blockTimestamp: "2021-04-02T10:07:54.000Z",
blockHash: "0x0372c302e3c52e8f2e15d155e2c545e6d802e479236564af052759253b20fd86",
blockNumber: "12526958",
transactionHash: "0x2d30ca6f024dbc1307ac8a1a44ca27de6f797ec22ef20627a1307243b0ab7d09",
transactionIndex: 3,
possibleSpam: false,
logIndex: 2
}
Table of contents
Properties
- address
- blockHash
- blockNumber
- blockTimestamp
- chain
- fromAddress
- logIndex
- possibleSpam
- toAddress
- transactionHash
- transactionIndex
- value
Properties
address
• address: EvmAddressInput
blockHash
• blockHash: string
blockNumber
• blockNumber: BigNumberInput
blockTimestamp
• blockTimestamp: DateInput
chain
• chain: EvmChainish
fromAddress
• fromAddress: EvmAddressInput
logIndex
• logIndex: number
possibleSpam
• possibleSpam: boolean
toAddress
• toAddress: EvmAddressInput
transactionHash
• transactionHash: string
transactionIndex
• transactionIndex: number
value
• value: BigNumberInput