weth price against usdc
Returns one DEX trade on Ethereum, where base currency is 0xc02a…6cc2, quote currency is 0xa0b8…eb48 and date is 2023-02-08: 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
- base amount
- base currency address
- base currency symbol
- quote amount
- quote currency address
- quote currency symbol
- quote price
- transaction hash
Filters
- base currency is 0xc02a…6cc2
- quote currency is 0xa0b8…eb48
- date is 2023-02-08
The query
query ($network: EthereumNetwork!, $token: String!, $limit: Int!, $offset: Int!) {
ethereum(network: $network) {
dexTrades(
options: {limit: $limit, offset: $offset}
date: {is: "2023-02-08"}
baseCurrency: {is: $token}
quoteCurrency: {is: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
tradeIndex
protocol
exchange {
fullName
}
smartContract {
address {
address
annotation
}
}
baseAmount
baseCurrency {
address
symbol
}
base_amount_usd: baseAmount(in: USD)
quoteAmount
quoteCurrency {
address
symbol
}
quotePrice
quote_amount_usd: quoteAmount(in: USD)
transaction {
hash
}
}
}
}
Variables
{
"limit": 1,
"offset": 0,
"network": "ethereum",
"token": "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