BlockFilter
The BlockFilter input specifies subsets of block data to be retrieved.
Schema Definition
input BlockFilter {
numberGte: UInt64
numberLte: UInt64
timestampGte: UInt64
timestampLte: UInt64
transactionCountGte: Int
transactionCountLte: Int
sizeGte: UInt64
sizeLte: UInt64
gasUsedGte: UInt64
gasUsedLte: UInt64
gasLimitGte: UInt64
gasLimitLte: UInt64
difficultyGte: UInt256
difficultyLte: UInt256
}
Fields
| Field | Type | Description |
|---|---|---|
numberGte | UInt64 scalar | Filter blocks with a block number greater than or equal to this value. |
numberLte | UInt64 scalar | Filter blocks with a block number less than or equal to this value. |
timestampGte | UInt64 scalar | Filter blocks with a timestamp greater than or equal to this value (Unix timestamp in seconds). |
timestampLte | UInt64 scalar | Filter blocks with a timestamp less than or equal to this value (Unix timestamp in seconds). |
transactionCountGte | Int scalar | Filter blocks containing a number of transactions greater than or equal to this value. |
transactionCountLte | Int scalar | Filter blocks containing a number of transactions less than or equal to this value. |
sizeGte | UInt64 scalar | Filter blocks with a size (in bytes) greater than or equal to this value. |
sizeLte | UInt64 scalar | Filter blocks with a size (in bytes) less than or equal to this value. |
gasUsedGte | UInt64 scalar | Filter blocks with total gas used greater than or equal to this value. |
gasUsedLte | UInt64 scalar | Filter blocks with total gas used less than or equal to this value. |
gasLimitGte | UInt64 scalar | Filter blocks with a gas limit greater than or equal to this value. |
gasLimitLte | UInt64 scalar | Filter blocks with a gas limit less than or equal to this value. |
difficultyGte | UInt256 scalar | Filter blocks with mining difficulty greater than or equal to this value. |
difficultyLte | UInt256 scalar | Filter blocks with mining difficulty less than or equal to this value. |
Member Of
blockCount query ● blocks query