Uniswap V3 Fees
Fetch Collect
events for blocks 21000000
to 21010000
for pool_address
0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640
.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/uniswap/v3/fees?chains=ETH&from_block=21000000&to_block=21010000&pool_address__in=0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
...
{
"chain": 1,
"block_number": 21009973,
"block_hash": "0x490223b3d3d242be208b33f1feab7c1d54c846b52c069b942a1e177b5877e741",
"transaction_hash": "0xccfa41ef4044dc6988ccd19382dc3757f2b0763cf36e11339ffe287b7b2f29e8",
"transaction_index": 61,
"log_index": 192,
"timestamp": 1729465703,
"event": "Collect",
"sender": "0xc36442b4a4522e871399cd717abdd847ab11fe88",
"recipient": "0xc36442b4a4522e871399cd717abdd847ab11fe88",
"tick_lower": 197290,
"tick_upper": 197690,
"amount0": 24125.917285,
"amount1": 0.03878239127376524,
"pool_address": "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"
}
]
Query Parameters
v1/api/uniswap/v3/fees
chains
: Filters the data by specific blockchain networks.from_block
: Filters the data by a starting block number.to_block
: Filters the data by an ending block number.pool_address__in
: Filters the data by a list ofpool_address
.sender__in
: Filters the data by a list ofsender
.recipient__in
: Filters the data by a list ofrecipient
.amount0__gte
: Filters the data byamount0
using the greater than or equal to operator.amount0__lte
: Filters the data byamount0
using the less than or equal to operator.amount1__gte
: Filters the data byamount1
using the greater than or equal to operator.amount1__lte
: Filters the data byamount1
using the less than or equal to operator.tick_lower__gte
: Filters the data bytick_lower
using the greater than or equal to operator.tick_lower__lte
: Filters the data bytick_lower
using the less than or equal to operator.tick_upper__gte
: Filters the data bytick_upper
using the greater than or equal to operator.tick_upper__lte
: Filters the data bytick_upper
using the less than or equal to operator.tick__gte
: Filters the data by the minimumtick_lower
value using the greater than or equal to operator.tick__lte
: Filters the data by the maximumtick_upper
value using the greater than or equal to operator.