Historical Pepe Price for Uniswap V2

Historical Uniswap Trades

Returns the latest 100 DEX trades on Ethereum, where smart contract address is 0xA43f…Ec9f, exchange name is Uniswap and date since 2024-07-04: timestamp time, block height, trade index, protocol, full name, address address, annotation and 7 more fields.

By Kekspace · saved 5 July 2024 · run 33 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $exchange: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    dexTrades(
      options: {desc: ["block.height", "tradeIndex"], limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      exchangeName: {is: $exchange}
      smartContractAddress: {is: "0xA43fe16908251ee70EF74718545e4FE6C5cCEc9f"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      tradeIndex
      protocol
      exchange {
        fullName
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      buyAmount
      buy_amount_usd: buyAmount(in: USD)
      buyCurrency {
        address
        symbol
      }
      sellAmount
      sell_amount_usd: sellAmount(in: USD)
      sellCurrency {
        address
        symbol
      }
      transaction {
        hash
      }
    }
  }
}

Variables

{
  "limit": 100,
  "offset": 0,
  "network": "ethereum",
  "exchange": "Uniswap",
  "from": "2024-07-04",
  "till": "2024-07-04T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries