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
- erc20Transfers
- fromAddress
- fromAddressLabel
- gas
- gasPrice
- hash
- input
- internalTransactions
- methodLabel
- nativeTransfers
- nftTransfers
- nonce
- possibleSpam
- receiptCumulativeGasUsed
- receiptGasUsed
- receiptStatus
- summary
- toAddress
- toAddressLabel
- 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
erc20Transfers
• Readonly
erc20Transfers: EvmWalletHistoryErc20Transfer
[]
fromAddress
• Readonly
fromAddress: EvmAddress
Description
The from address
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
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
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
• Readonly
toAddress: EvmAddress
Description
The to address
toAddressLabel
• Optional
Readonly
toAddressLabel: string
Description
The label of the to address
transactionIndex
• Readonly
transactionIndex: number
value
• Readonly
value: string
Description
The value sent