Smart contract event API
Returns the latest 10 smart contract events on Ethereum, where date since 2023-07-24 and date till 2023-07-24: timestamp time, block height, argument, arguments value, address address, annotation, smart contract event name and 3 more fields.
What it returns
- timestamp time
- block height
- argument
- arguments value
- address address
- annotation
- smart contract event name
- signature hash
- transaction hash
- tx from address
Filters
- date since 2023-07-24
- date till 2023-07-24
The query
query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
smartContractEvents(
options: {desc: "block.height", limit: $limit, offset: $offset}
date: {since: $from, till: $till}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
arguments {
argument
value
}
smartContract {
address {
address
annotation
}
}
smartContractEvent {
name
signatureHash
}
transaction {
hash
txFrom {
address
}
}
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "ethereum",
"from": "2023-07-24",
"till": "2023-07-24",
"dateFormat": "%Y-%m-%d"
}
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