dextrades wallet test

Returns the latest 10 DEX trades on Ethereum, where transaction from is 0x933A…827D: sell amount, sell amount in USD, sell buyer, sell seller, sell currency symbol, sell smart contract, buy amount 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!) {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      limit: {count: 10}
      where: {Transaction: {From: {is: $wallet}}}
      orderBy: {descending: Block_Time}
    ) {
      Trade {
        Sell {
          Amount
          AmountInUSD
          Buyer
          Seller
          Currency {
            Symbol
            SmartContract
          }
        }
        Buy {
          Amount
          AmountInUSD
          Buyer
          Currency {
            Symbol
            SmartContract
          }
          Price
          PriceInUSD
          Seller
        }
        Sender
      }
      Transaction {
        Value
        ValueInUSD
        Hash
        Cost
        CostInUSD
      }
    }
  }
}

Variables

{
  "wallet": "0x933A21B634993346Ae40087eA3e5B055A038827D"
  
}

Similar queries