quoteprice_check
Returns the latest 50 DEX trades on Ethereum, where smart contract address is 0x57c6…67ad, base currency is 0x74d3…a84d and quote currency is 0xc02a…6cc2: timestamp time, block height, quote price, base currency address, base amount, quote amount, quote currency address and transaction hash.
What it returns
- timestamp time
- block height
- quote price
- base currency address
- base amount
- quote amount
- quote currency address
- transaction hash
Filters
- smart contract address is 0x57c6…67ad
- base currency is 0x74d3…a84d
- quote currency is 0xc02a…6cc2
- date since 2023-04-18
- date till 2023-04-18
The query
query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
dexTrades(
options: {desc: ["block.height"], limit: $limit, offset: $offset}
date: {since: $from, till: $till}
smartContractAddress: {is: $address}
baseCurrency : {is : "0x74d30f4a0bdb5a252de7098d3bb11b4c6ba4a84d"}
quoteCurrency: {is : "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
quotePrice
baseCurrency{
address
}
baseAmount
quoteAmount
quoteCurrency{
address
}
transaction {
hash
}
}
}
}
Variables
{
"limit": 50,
"offset": 0,
"network": "ethereum",
"address": "0x57c6ec8ed6597d36655681feebc40af2f63d67ad",
"from": "2023-04-18",
"till": "2023-04-18T23:59:59",
"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