Trades_of_Ethereum_Wallet

Returns DEX trades on Ethereum, where maker or taker is 0x1c95…d810: sell currency symbol, sell currency address, sell amount, buy currency symbol, buy currency address, buy amount, transaction hash and 5 more fields.

By Omkar Acharekar · saved 5 July 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!) {
  ethereum(network: $network) {
    dexTrades(makerOrTaker: {is: $address}) {
      sellCurrency {
        symbol
        address
      }
      sellAmount
      sell_amount_usd: sellAmount(in: USD)
      buyCurrency {
        symbol
        address
      }
      buyAmount
      transaction {
        hash
      }
      price
      date {
        date
      }
      maker {
        address
      }
      taker {
        address
      }
      protocol
    }
  }
}

Variables

{
  "network": "ethereum",
  "address": "0x1c9529de5435f7c3f7ce1571a131f5571bced810"
  
}

Similar queries