Fee collection on Uniswap v3 Positions
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(network: eth, dataset: combined) archive full history combined archive + realtime in one result Ar
What it returns
- block time
- block number
- block hash
- contract address
- topics hash
- success
- log header address
- log header index
- data
- transaction hash
- from
- to
- enter index
- exit index
- log index
- log after call index
- pc
- smart contract
- signature name
- signature signature
- arguments name
- integer
- value address
- string
- big integer
- hex
- bool
Filters
- transaction to is 0xc364…fe88
- signature name is Collect
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(network: eth, 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(dataset: realtime, network: eth) {
Events(
limit: {count: 20}
where: {Log: {Signature: {Name: {is: "Collect"}}}, Transaction: {To: {is: "0xc36442b4a4522e871399cd717abdd847ab11fe88"}}}
orderBy: {descending: Block_Time}
) {
Block {
Time
Number
Hash
}
Receipt {
ContractAddress
}
Topics {
Hash
}
TransactionStatus {
Success
}
LogHeader {
Address
Index
Data
}
Transaction {
Hash
From
To
}
Log {
EnterIndex
ExitIndex
Index
LogAfterCallIndex
Pc
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
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