optimized events api for a pool
Returns the latest 20000 events on BNB Chain, where log smart contract is 0x7b5d…48de, signature name is Swap and block time since 2026-01-19: transaction hash, smart contract, arguments name, big integer and value address.
What it returns
- transaction hash
- smart contract
- arguments name
- big integer
- value address
Filters
- log smart contract is 0x7b5d…48de
- signature name is Swap
- block time since 2026-01-19
- block time till 2026-01-20
The query
query ($pools: [String!]!, $since: DateTime, $till: DateTime, $limit: Int!, $offset: Int!) {
EVM(dataset: archive, network: bsc) {
Events(
limit: {count: $limit, offset: $offset}
orderBy: {descending: Block_Time}
where: {Log: {SmartContract: {in: $pools}, Signature: {Name: {is: "Swap"}}}, Block: {Time: {since: $since, till: $till}}, TransactionStatus: {Success: true}}
) {
Transaction {
Hash
}
Log {
SmartContract
}
Arguments {
Name
Value {
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Address_Value_Arg {
address
}
}
}
}
}
}
Variables
{"pools": "0x7b5d3084f190a63cdc2b10cafaf90c336ca948de",
"since": "2026-01-19T00:00:00Z",
"till":"2026-01-20T00:00:00Z" ,
"limit": 20000,
"offset":0
}
Similar queries
- Flap.sh: Creation Details of One Token (BSC Events) · BNB Chain · Events
- New DODO liquidity pools on BSC · BNB Chain · Events
- Getting details of specific flap.sh token creation using the events api · BNB Chain · Events
- Getting Flap.sh token tax details using events api · BNB Chain · Events
- QE-timeout-140040-bsc · BNB Chain · Events