Class: EvmWalletHistoryTransaction
moralis-monorepo / @moralisweb3/common-evm-utils / EvmWalletHistoryTransaction
Class: EvmWalletHistoryTransaction
@moralisweb3/common-evm-utils.EvmWalletHistoryTransaction
Table of contents
Methods
Properties
- blockHash
- blockNumber
- blockTimestamp
- category
- contractInteractions
- erc20Transfers
- fromAddress
- fromAddressEntity
- fromAddressEntityLogo
- fromAddressLabel
- gas
- gasPrice
- hash
- input
- internalTransactions
- logs
- methodLabel
- nativeTransfers
- nftTransfers
- nonce
- possibleSpam
- receiptContractAddress
- receiptCumulativeGasUsed
- receiptGasUsed
- receiptStatus
- summary
- toAddress
- toAddressEntity
- toAddressEntityLogo
- toAddressLabel
- transactionFee
- transactionIndex
- value
Methods
create
▸ Static create(input): EvmWalletHistoryTransaction
Parameters
| Name | Type |
|---|---|
input | EvmWalletHistoryTransactionInput | EvmWalletHistoryTransaction |
Returns
fromJSON
▸ Static fromJSON(json): EvmWalletHistoryTransaction
Parameters
| Name | Type |
|---|---|
json | EvmWalletHistoryTransactionJSON |
Returns
toJSON
▸ toJSON(): EvmWalletHistoryTransactionJSON
Returns
EvmWalletHistoryTransactionJSON
Properties
blockHash
• Readonly blockHash: string
Description
The hash of the block
blockNumber
• Readonly blockNumber: BigNumber
Description
The block number
blockTimestamp
• Readonly blockTimestamp: string
Description
The block timestamp
category
• Readonly category: EvmETransactionCategoryValue
contractInteractions
• Readonly contractInteractions: EvmResolveContractInteractionResponseValue
Description
The contract interactions that happend in the transaction
erc20Transfers
• Readonly erc20Transfers: EvmWalletHistoryErc20Transfer[]
fromAddress
• Readonly fromAddress: EvmAddress
Description
The from address
fromAddressEntity
• Optional Readonly fromAddressEntity: string
Description
The from address entity
fromAddressEntityLogo
• Optional Readonly fromAddressEntityLogo: string
Description
The logo of the from address entity
fromAddressLabel
• Optional Readonly fromAddressLabel: string
Description
The label of the from address
gas
• Optional Readonly gas: string
gasPrice
• Readonly gasPrice: string
Description
The gas price
hash
• Readonly hash: string
Description
The hash of the transaction
input
• Optional Readonly input: string
internalTransactions
• Optional Readonly internalTransactions: EvmInternalTransaction[]
Description
The internal transactions of the transaction
logs
• Optional Readonly logs: EvmLogVerbose[]
methodLabel
• Optional Readonly methodLabel: string
Description
The label of the method called if any called
nativeTransfers
• Readonly nativeTransfers: EvmNativeTransfer[]
nftTransfers
• Readonly nftTransfers: EvmWalletHistoryNftTransfer[]
nonce
• Readonly nonce: string
Description
The nonce
possibleSpam
• Optional Readonly possibleSpam: boolean
Description
Is transaction possible spam
receiptContractAddress
• Optional Readonly receiptContractAddress: string
receiptCumulativeGasUsed
• Readonly receiptCumulativeGasUsed: string
receiptGasUsed
• Readonly receiptGasUsed: string
receiptStatus
• Readonly receiptStatus: string
summary
• Readonly summary: string
Description
Summary of what happened on the transaction
toAddress
• Optional Readonly toAddress: EvmAddress
Description
The to address
toAddressEntity
• Optional Readonly toAddressEntity: string
Description
The to address entity
toAddressEntityLogo
• Optional Readonly toAddressEntityLogo: string
Description
The logo of the to address entity
toAddressLabel
• Optional Readonly toAddressLabel: string
Description
The label of the to address
transactionFee
• Optional Readonly transactionFee: string
transactionIndex
• Readonly transactionIndex: number
value
• Readonly value: string
Description
The value sent