DexTrades for wallet 08/11 v2

Returns the latest 10 DEX trades on Ethereum, where transaction from is 0x933A…827D: buy amount, buy amount in USD, buy buyer, buy currency symbol, buy smart contract, buy price in USD, buy price and 13 more fields.

By Hawnsen · saved 8 November 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery($wallet: String!, $limit: Int) {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      limit: {count: $limit}
      where: {Transaction: {From: {is: $wallet}}}
      orderBy: {descending: Block_Time}
    ) {
      Trade {
        Buy {
          Amount
          AmountInUSD
          Buyer
          Currency {
            Symbol
            SmartContract
          }
          PriceInUSD
          Price
        }
        Sell {
          Amount
          AmountInUSD
          Buyer
          Currency {
            Symbol
            SmartContract
          }
          Price
          PriceInUSD
          Seller
        }
        Sender
      }
      Transaction {
        Hash
      }
      Fee {
        SenderFee
        SenderFeeInUSD
      }
      Block {
        Time
      }
    }
  }
}

Variables

{
  "wallet": "0x933A21B634993346Ae40087eA3e5B055A038827D",
  "limit": 10
}

Similar queries