date filter polygon
Returns the latest 150 DEX trades on Ethereum and Polygon, where base currency is 0x0d50…1270 and date after 2022-05-01: quote price, unixtime, full name, quote amount, quote currency address, quote currency symbol, side and 3 more fields.
What it returns
- quote price
- unixtime
- full name
- quote amount
- quote currency address
- quote currency symbol
- side
- sell amount
- transaction hash
- maker address
Filters
- base currency is 0x0d50…1270
- date after 2022-05-01
The query
query ($network: EthereumNetwork!, $baseCurrency: String!, $quoteCurrency: String!, $limit: Int) {
network: ethereum(network: $network) {
dexTrades(
options: {desc: ["block.timestamp.unixtime"], limit: $limit}
baseCurrency: {is: $baseCurrency}
date: {after: "2022-05-01"}
) {
quotePrice
block {
timestamp {
unixtime
}
}
exchange {
fullName
}
quoteAmount
quoteCurrency(quoteCurrency: {is: $quoteCurrency}) {
address
symbol
}
side
sellAmountInEth: sellAmount(in: ETH)
transaction {
hash
}
maker {
address
}
}
}
}
Variables
{
"baseCurrency": "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
"limit": 150,
"network": "matic",
"quoteCurrency": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f"
}
Similar queries
- trades · Ethereum · DEXTrades
- matic_DEXTrades · Polygon · DEXTrades
- prediction_dextrades · Polygon · DEXTrades
- matic MAPU trades · Polygon · DEXTrades
- List of DEX supported · Polygon · DEXTrades