Patriot Pay (PPY) latest trades
Ethereum Trades for specific time
Returns the latest 100 DEX trades on Ethereum and Polygon, where buy currency is 0xFd55…BF3F: timestamp time, block height, trade index, protocol, full name, address address, annotation and 8 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
- expression
Filters
- buy currency is 0xFd55…BF3F
The query
{
ethereum(network: matic) {
dexTrades(
options: {desc: ["block.height", "tradeIndex"], limit: 100, offset: 0}
buyCurrency: {is: "0xFd55e4a6767fF7FfC0b8105262A8cDAabE7FBF3F"}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
tradeIndex
protocol
exchange {
fullName
}
smartContract {
address {
address
annotation
}
}
buyAmount
buyCurrency {
address
symbol
}
buy_amount_usd: buyAmount(in: USD)
sellAmount
sellCurrency {
address
symbol
}
sell_amount_usd: sellAmount(in: USD)
transaction {
hash
}
PriceInUSD1: expression(get: "buy_amount_usd / buyAmount")
PriceInUSD2: expression(get: "sell_amount_usd / buyAmount")
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "ethereum",
"from": "2023-07-10",
"till": "2023-07-17T23: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