price_usd

Returns DEX trades on Ethereum, where transaction hash is 0x03b0…e49b: buy currency name, buy smart contract, buy currency symbol, buy price in USD, sell smart contract, sell currency name and sell price in USD.

By Omkar_BQ · saved 20 September 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {Transaction: {Hash: {is: "0x03b0e8dbdf485e7b8194027adcd385f8792d5225bd48a0ca11e79a8ecfcae49b"}}}
    ) {
      Trade {
        Buy {
          Currency {
            Name
            SmartContract
            Symbol
          }
          PriceInUSD
        }
        Sell {
          Currency {
            SmartContract
            Name
          }
          PriceInUSD
        }
      }
    }
  }
}

Similar queries