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


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


logs

Optional Readonly logs: EvmLog[]


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

Optional Readonly toAddress: EvmAddress

Description

The to address


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