USCD / WMATIC Polygon (Uni v3)
uniswap latest trades on Polygon
Returns the latest 10 DEX trades on Ethereum and Polygon, where base currency is 0x2791…4174, exchange name is Uniswap v3 and date since 2023-05-19: timestamp time, block height, trade index, protocol, full name, address address, annotation and 7 more fields.
What it returns
- timestamp time
- block height
- trade index
- protocol
- full name
- address address
- annotation
- buy amount
- buy currency address
- buy currency symbol
- sell amount
- sell currency address
- sell currency symbol
- transaction hash
Filters
- base currency is 0x2791…4174
- exchange name is Uniswap v3
- date since 2023-05-19
- date till 2023-05-26
The query
query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $exchange: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
dexTrades(
options: {desc: ["block.height", "tradeIndex"], limit: $limit, offset: $offset}
date: {since: $from, till: $till}
exchangeName: {is: $exchange}
baseCurrency: {is: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
tradeIndex
protocol
exchange {
fullName
}
smartContract {
address {
address
annotation
}
}
buyAmount
buy_amount_usd: buyAmount(in: USD)
buyCurrency {
address
symbol
}
sellAmount
sell_amount_usd: sellAmount(in: USD)
sellCurrency {
address
symbol
}
transaction {
hash
}
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "matic",
"exchange": "Uniswap v3",
"from": "2023-05-19",
"till": "2023-05-26T23:59:59",
"dateFormat": "%Y-%m-%d"
}
Similar queries
- trades · Ethereum · DEXTrades
- matic_DEXTrades · Polygon · DEXTrades
- prediction_dextrades · Polygon · DEXTrades
- matic MAPU trades · Polygon · DEXTrades
- List of DEX supported · Polygon · DEXTrades