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
| Field | Type | Description |
|---|---|---|
from | AddressString scalar | Filter by sender address. |
to | AddressString scalar | Filter by recipient address. |
blockNumber | BlockRange input | Filter by block number range. |
timestamp | DateRange input | Filter by transaction timestamp range. |
value | BigIntRange input | Filter by native currency value range. |
gasPrice | BigIntRange input | Filter by gas price range. |
gasUsed | BigIntRange input | Filter by gas used range. |
nonce | IntRange input | Filter by sender's nonce range. |
status | TransactionStatus enum | Filter by transaction status (SUCCESS, FAILED, PENDING). |
hasContractCreation | Boolean scalar | If true, only include transactions that deployed a contract. If false, exclude them. |
involvesAddress | AddressString scalar | Include transactions where this address is either sender or recipient. |
Member Of
transactions query