Bakri
Returns the latest 50 DEX trades on Ethereum, where base currency is 0x6982…1933, buy currency is 0xc02a…6cc2 and base currency is 0xc02a…6cc2: timestamp time, buy currency symbol, sell amount, trade amount, sell currency symbol, transaction hash and buy amount.
What it returns
- timestamp time
- buy currency symbol
- sell amount
- trade amount
- sell currency symbol
- transaction hash
- buy amount
Filters
- base currency is 0x6982…1933
- buy currency is 0xc02a…6cc2
- base currency is 0xc02a…6cc2
- buy currency is 0x6982…1933
The query
query ($network: EthereumNetwork!, $baseCurrency: String, $buyCurrency: String, $limit: Int!, $offset: Int!) {
ethereum(network: $network) {
sell: dexTrades(
baseCurrency: {is: $baseCurrency}
options: {limit: $limit, offset: $offset, desc: "block.timestamp.time"}
buyCurrency: {is: $buyCurrency}
tradeAmountUsd: {gteq: 1000}
) {
block {
timestamp {
time
}
}
buyCurrency {
symbol
}
sellAmount
tradeAmount(in: USD)
sellCurrency {
symbol
}
transaction {
hash
}
}
buy: dexTrades(
baseCurrency: {is: $buyCurrency}
options: {limit: $limit, offset: $offset, desc: "block.timestamp.time"}
buyCurrency: {is: $baseCurrency}
tradeAmountUsd: {gteq: 1000}
) {
block {
timestamp {
time
}
}
buyCurrency {
symbol
}
buyAmount
tradeAmount(in: USD)
sellCurrency {
symbol
}
transaction {
hash
}
}
}
}
Variables
{
"limit": 50,
"offset": 0,
"network": "ethereum",
"baseCurrency":"0x6982508145454Ce325dDbE47a25d4ec3d2311933",
"buyCurrency":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"dateFormat": "%Y-%m-%d"
}
Similar queries
- Latest Curve DEX swaps on Ethereum · Ethereum · DEXTrades
- Top Curve liquidity pools by 24h volume on Ethereum · Ethereum · DEXTrades
- STRN_TOKEN_MULTIPLE_DECIMALS_DEX_TRADES · Ethereum · DEXTrades
- USDT DECIMAL SHOWING 0 · Ethereum · DEXTrades
- Trades - 0xEE61159E8A72A08371c52D62c19Efd0C7914f917 · Ethereum · DEXTrades