Token Trades

Returns DEX trades on Ethereum, where transaction hash is 0x9334…ce8c: chain ID, block time, block number, buy currency symbol, buy smart contract, buy amount, buy amount in USD and 8 more fields.

By Nadia · saved 17 February 2025 · run 5 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $hash: String) {
  EVM(dataset: combined, network: $network) {
    DEXTrades(where: {Transaction: {Hash: {is: $hash}}}) {
      ChainId
      Block {
        Time
        Number
      }
      Trade {
        Buy {
          Currency {
            Symbol
            SmartContract
          }
          Amount
          AmountInUSD
        }
        Sell {
          Currency {
            Symbol
            SmartContract
          }
          Amount
          AmountInUSD
        }
        Dex {
          ProtocolName
          ProtocolFamily
          ProtocolVersion
          SmartContract
        }
      }
    }
  }
}

Variables

{
  "network": "eth",
  "hash": "0x9334957f03ab9942a882e27b685af0ade7a5a48a0852660b15b61f1b95cdce8c"
}

Similar queries