weth_usdt_trade

Returns the latest DEX trades on Ethereum, where DEX smart contract is 0x0d4a…1852 and block number is below 18992907: block number, buy buyer, buy currency name, buy seller, buy order ID, transaction hash and transaction index.

By Omkar_BQ · saved 14 January 2024 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      orderBy: {descendingByField: "Block_Number", descending: Transaction_Index}
      where: {Trade: {Dex: {SmartContract: {is: "0x0d4a11d5eeaac28ec3f61d100daf4d40471f1852"}}}, Block: {Number: {lt: "18992907"}}}
    ) {
      Block {
        Number
      }
      Trade {
        Buy {
          Buyer
          Currency {
            Name
          }
          Seller
          OrderId
        }
      }
      Transaction {
        Hash
        Index
      }
    }
  }
}

Variables

{
  "network": "eth",
  "limit": 10,
  "offset": 0,
  "token": "0x4d9bd3ac5590552ee51d92e3400f80dc28716539"
}

Similar queries