Skip to main content

Interface: GetWalletHistoryOperationRequest

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

Interface: GetWalletHistoryOperationRequest

@moralisweb3/common-evm-utils.GetWalletHistoryOperationRequest

Table of contents

Properties

Properties

address

Readonly address: EvmAddressInput

Description

The address of the wallet


chain

Optional Readonly chain: string | EvmChain

Description

The chain to query


cursor

Optional Readonly cursor: string

Description

The cursor returned in the previous response (used for getting the next page).


fromBlock

Optional Readonly fromBlock: number

Description

The minimum block number from which to get the transactions

  • Provide the param 'from_block' or 'from_date'
  • If 'from_date' and 'from_block' are provided, 'from_block' will be used.

fromDate

Optional Readonly fromDate: string

Description

The start date from which to get the transactions (format in seconds or datestring accepted by momentjs)

  • Provide the param 'from_block' or 'from_date'
  • If 'from_date' and 'from_block' are provided, 'from_block' will be used.

includeInputData

Optional Readonly includeInputData: boolean

Description

Set the input data from the result


includeInternalTransactions

Optional Readonly includeInternalTransactions: boolean

Description

If the result should contain the internal transactions.


limit

Optional Readonly limit: number

Description

The desired page size of the result.


nftMetadata

Optional Readonly nftMetadata: boolean

Description

If the result should contain the nft metadata.


order

Optional Readonly order: "ASC" | "DESC"

Description

The order of the result, in ascending (ASC) or descending (DESC)


toBlock

Optional Readonly toBlock: number

Description

The maximum block number from which to get the transactions.

  • Provide the param 'to_block' or 'to_date'
  • If 'to_date' and 'to_block' are provided, 'to_block' will be used.

toDate

Optional Readonly toDate: Date

Description

Get the transactions up to this date (format in seconds or datestring accepted by momentjs)

  • Provide the param 'to_block' or 'to_date'
  • If 'to_date' and 'to_block' are provided, 'to_block' will be used.