TransactionFilter
The TransactionFilter input specifies subsets of transaction data to be retrieved.
Schema Definition
input TransactionFilter {
from: String
to: String
blockNum: UInt64
blockNumGte: UInt64
blockNumLte: UInt64
timestampGte: UInt64
timestampLte: UInt64
valueGte: UInt256
valueLte: UInt256
status: TransactionStatus
gasPriceGte: UInt256
gasPriceLte: UInt256
gasUsedGte: UInt64
gasUsedLte: UInt64
}
Fields
| Field | Type | Description |
|---|---|---|
from | String scalar | Filter by the sender's address. |
to | String scalar | Filter by the recipient's address. |
blockNum | UInt64 scalar | Filter by exact block number. |
blockNumGte | UInt64 scalar | Filter by minimum block number. |
blockNumLte | UInt64 scalar | Filter by maximum block number. |
timestampGte | UInt64 scalar | Filter by minimum Unix timestamp in seconds. |
timestampLte | UInt64 scalar | Filter by maximum Unix timestamp in seconds. |
valueGte | UInt256 scalar | Filter by minimum transaction value in wei. |
valueLte | UInt256 scalar | Filter by maximum transaction value in wei. |
status | TransactionStatus enum | Filter by transaction execution status. |
gasPriceGte | UInt256 scalar | Filter by minimum gas price in wei. |
gasPriceLte | UInt256 scalar | Filter by maximum gas price in wei. |
gasUsedGte | UInt64 scalar | Filter by minimum gas consumed. |
gasUsedLte | UInt64 scalar | Filter by maximum gas consumed. |
Member Of
transactionCount query ● transactions query