latest_trades_by_maker

Returns the latest 10 DEX trades on Ethereum, where transaction from is 0x9d65…EFa0: transaction hash, from, to, sender, buy buyer, buy seller, buy currency name and 11 more fields.

By Omkar_BQ · saved 5 October 2024 · run 42 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {Transaction: {From: {is: "0x9d6581468F04e5E55876a2660b5AeAbC12e3EFa0"}}}
      limit: {count: 10}
      orderBy: {descending: Block_Number}
    ) {
      Transaction {
        Hash
        From
        To
      }
      Trade {
        Sender
        Buy {
          Buyer
          Seller
          Currency {
            Name
            SmartContract
          }
          Amount
          Price
        }
        Sell {
          Currency {
            Name
            SmartContract
          }
          Buyer
          Amount
          Seller
          Price
        }
      }
      Block {
        Number
        Time
      }
    }
  }
}

Similar queries