eth_getLogs-with-filters
Historical data This query uses the realtime dataset (the default), which holds only a recent window - hours to days depending on the cube. For older data add a dataset to the top-level element: EVM(dataset: combined) archive full history combined archive + realtime in one result Archive and comb
What it returns
- block hash
- block number
- transaction hash
- transaction index
- log header address
- data
- log header index
- removed
- topics hash
Filters
- log header address is 0x7d4a…5e6e
The query
# Historical data
# This query uses the realtime dataset (the default), which holds only a
# recent window - hours to days depending on the cube.
#
# For older data add a dataset to the top-level element:
#
# EVM(dataset: combined)
#
# archive full history
# combined archive + realtime in one result
#
# Archive and combined need the historical data add-on:
# https://bitquery.io/pricing
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
{
EVM {
Events(
where: {LogHeader: {Address: {is: "0x7d4a7be025652995364e0e232063abd9e8d65e6e"}}}
limit: {count: 10}
) {
Block {
Hash
Number
}
Transaction {
Hash
Index
}
LogHeader {
Address
Data
Index
Removed
}
Topics {
Hash
}
}
}
}
Similar queries
- New Curve liquidity pools on Ethereum · Ethereum · Events
- New Metric liquidity pools on Ethereum · Ethereum · Events
- event api · Ethereum · Events
- eth deposit contract events · Ethereum · Events
- eth_okx_aproove · Ethereum · Events