trades_of_wallet

Returns the latest 10000 DEX trades on Ethereum: block number, block time, block hash, from, to, transaction hash, cost in USD and 15 more fields.

By Omkar_BQ · saved 4 October 2024 · run 3 times · Bitquery API v2

What it returns

The query

{
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      limit: {count: 10000}
      orderBy: {descending: Block_Time}
      where: {any: [{Trade: {Buy: {Buyer: {is: "0x76D75605C770d6B17eFE12C17C001626D371710a"}}}}, {Trade: {Buy: {Seller: {is: "0x76D75605C770d6B17eFE12C17C001626D371710a"}}}}, {Trade: {Sell: {Buyer: {is: "0x76D75605C770d6B17eFE12C17C001626D371710a"}}}}, {Trade: {Sell: {Seller: {is: "0x76D75605C770d6B17eFE12C17C001626D371710a"}}}}, {Transaction: {From: {is: "0x76D75605C770d6B17eFE12C17C001626D371710a"}}}]}
    ) {
      Block {
        Number
        Time
        Hash
      }
      Transaction {
        From
        To
        Hash
        CostInUSD
        ValueInUSD
      }
      Trade {
        Buy {
          Amount
          Buyer
          Seller
          Price
          Currency {
            Name
            Symbol
            SmartContract
          }
        }
        Sell {
          Amount
          Buyer
          Seller
          Price
          Currency {
            Name
            Symbol
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries