get_exchange

Returns DEX trades on Ethereum, where transaction hash is 0x0f03…1045: protocol name.

By Et · saved 8 July 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($hash: String!) {
      EVM(dataset: realtime, network: eth) {
        DEXTrades(where: {Transaction: {Hash: {is: $hash}}}) {
          Trade {
            Dex {
              ProtocolName
            }
          }
        }
      }
    }

Variables

{"hash": "0x0f0334c373e08a1b7c026686149a66b31b80f56b206e530eb778c158ebf21045"}

Similar queries