test query
Returns 10000 smart contract events on Ethereum, where smart contract event is d78ad9…d822, time since 2024-01-05 and time before 2024-01-05, sorted by block timestamp iso8601 transaction hash, highest first: address address, iso8601, block height, transaction hash, argument and arguments value.
What it returns
- address address
- iso8601
- block height
- transaction hash
- argument
- arguments value
Filters
- smart contract event is d78ad9…d822
- time since 2024-01-05
- time before 2024-01-05
The query
query MyQuery($signature: String!, $since: ISO8601DateTime, $before: ISO8601DateTime, $offset: Int, $limit: Int) {
ethereum(network: ethereum) {
smartContractEvents(
options: {limit: $limit, offset: $offset, desc: ["block.timestamp.iso8601", "transaction.hash"]}
smartContractEvent: {is: $signature}
time: {since: $since, before: $before}
) {
smartContract {
address {
address
}
}
block {
timestamp {
iso8601
}
height
}
transaction {
hash
}
arguments {
argument
value
}
}
}
}
Variables
{
"signature": "d78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822",
"since": "2024-01-05T12:00:00Z",
"before": "2024-01-05T13:00:00Z",
"offset": 0,
"limit": 10000
}
Similar queries
- ethereum smartContractEvents · Ethereum · smartContractEvents
- Aave V3 aPYUSD Lending · Ethereum · smartContractEvents
- Call example · Ethereum · smartContractEvents
- swap · Ethereum · smartContractEvents
- latest emitted events on velas · Ethereum · smartContractEvents