Skip to main content

TransactionFilter

Filter criteria for transaction queries.

Schema Definition

input TransactionFilter {
from: AddressString
to: AddressString
blockNumber: BlockRange
timestamp: DateRange
value: BigIntRange
gasPrice: BigIntRange
gasUsed: BigIntRange
nonce: IntRange
status: TransactionStatus
hasContractCreation: Boolean
involvesAddress: AddressString
}

Fields

FieldTypeDescription
fromFilter by sender address.
toFilter by recipient address.
blockNumberFilter by block number range.
timestamp
DateRange input
Filter by transaction timestamp range.
valueFilter by native currency value range.
gasPriceFilter by gas price range.
gasUsedFilter by gas used range.
nonce
IntRange input
Filter by sender's nonce range.
statusFilter by transaction status (SUCCESS, FAILED, PENDING).
hasContractCreation
Boolean scalar
If true, only include transactions that deployed a contract. If false, exclude them.
involvesAddressInclude transactions where this address is either sender or recipient.

Member Of

transactions query