Michaels OTC curve

Trades for any wallet address

Returns the latest 9999 DEX trades on Ethereum, where maker or taker is 0x7a16…5428 and date after 2023-07-28: transaction hash, address address, contract type, currency name, trade index, date date, block height and 10 more fields.

By Test test · saved 2 August 2023 · run 3 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {desc: "block.height", limit: 9999}
      makerOrTaker: {is: "0x7a16fF8270133F063aAb6C9977183D9e72835428"}
      #exchangeName: {in: ["Uniswap","Uniswap V3"]}
      date: {after: "2023-07-28"}
    ) {
      transaction {
        hash
      }
      smartContract {
        address {
          address
        }
        contractType
        currency {
          name
        }
      }
      tradeIndex
      date {
        date
      }
      block {
        height
      }
      buyAmount
      buyAmountInUsd: buyAmount(in: USD)
      buyCurrency {
        symbol
        address
      }
      sellAmount
      sellAmountInUsd: sellAmount(in: USD)
      sellCurrency {
        symbol
        address
      }
      sellAmountInUsd: sellAmount(in: USD)
      tradeAmount(in: USD)
      transaction {
        gasValue
        gasPrice
        gas
      }
    }
  }
}

Similar queries