DEXTrades api

Returns 2 DEX trades on Ethereum, where transaction hash is 0x672b…989f: transaction hash, buy amount in USD, buy buyer, buy currency name, buy seller, sell amount in USD, sell buyer and 2 more fields.

By Vishal · saved 7 June 2024 · run 35 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: archive, network: eth) {
    DEXTrades(limit: {count: 2}
    where:{
      Transaction:{
        Hash:{
          is:"0x672b64a68f612667111fb2e1329dc1b47279042e1b84d894aa64119ae34a989f"
        }
      }
    }
    ) {
      Transaction {
        Hash
      }
      Trade {
        Buy {
          AmountInUSD
          Buyer
          Currency {
            Name
          }
          Seller
          Currency {
            Name
          }
          AmountInUSD
        }
        Sell {
          AmountInUSD
          Buyer
          Currency {
            Name
          }
          Seller
          Currency {
            Name
          }
          AmountInUSD
        }
      }
    }
  }
}

Similar queries