Skip to main content

BlockTransactionFilter

The BlockTransactionFilter input specifies subsets of transaction data within a block to be retrieved.

Schema Definition

input BlockTransactionFilter {
from: String
to: String
valueGte: UInt256
valueLte: UInt256
status: TransactionStatus
gasPriceGte: UInt256
gasPriceLte: UInt256
gasUsedGte: UInt64
gasUsedLte: UInt64
}

Fields

FieldTypeDescription
fromString scalarFilter by the sender's address.
toString scalarFilter by the recipient's address.
valueGteUInt256 scalarFilter transactions with a value (in wei) greater than or equal to this amount.
valueLteUInt256 scalarFilter transactions with a value (in wei) less than or equal to this amount.
statusTransactionStatus enumFilter by transaction status.
gasPriceGteUInt256 scalarFilter transactions with a gas price (in wei) greater than or equal to this value.
gasPriceLteUInt256 scalarFilter transactions with a gas price (in wei) less than or equal to this value.
gasUsedGteUInt64 scalarFilter transactions that consumed gas greater than or equal to this amount.
gasUsedLteUInt64 scalarFilter transactions that consumed gas less than or equal to this amount.