eth-error

Returns DEX trades and address details on Ethereum, where base currency is 0xa19f…ea86 and address is 0xa19f…ea86: base currency symbol, quote currency symbol, quote price, currency name, currency symbol and token type.

By Oluwatomisin · saved 29 May 2024 · run 1 time · Bitquery API v1

What it returns

Filters

The query

{
    ethereum(network: ethereum )
    {
        dexTrades(
            any: {baseCurrency: {is: "0xa19f5264f7d7be11c451c093d8f92592820bea86"}, quoteCurrency: {is:  ""}}
            options: {limitBy: {each: "baseCurrency.symbol"}}
        )
        {
            baseCurrency {
                symbol
            }
            quoteCurrency {
                symbol
            }
            quote: quotePrice
        }
        address(address: {in: "0xa19f5264f7d7be11c451c093d8f92592820bea86"})
        {
            smartContract {
              currency {
                name
                symbol
                tokenType
              }
            }
          }
    }
}

Similar queries