Skip to main content

Class: EvmWalletHistoryTransaction

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

Class: EvmWalletHistoryTransaction

@moralisweb3/common-evm-utils.EvmWalletHistoryTransaction

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmWalletHistoryTransaction

Parameters

NameType
inputEvmWalletHistoryTransactionInput | EvmWalletHistoryTransaction

Returns

EvmWalletHistoryTransaction


fromJSON

Static fromJSON(json): EvmWalletHistoryTransaction

Parameters

NameType
jsonEvmWalletHistoryTransactionJSON

Returns

EvmWalletHistoryTransaction


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


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


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