[Ethereum] Get List of Pairs Created on Uniswap

This query gives you PairCreated event emitted from Uniswap Factory Contract.

Returns 10 smart contract events on Ethereum, where smart contract address is 0x5C69…aA6f and smart contract event is PairCreated, sorted by block timestamp iso8601, highest first: argument, arguments index, arguments value, iso8601 and transaction hash.

By Nikhil · saved 29 August 2023 · run 52 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum {
    smartContractEvents(
      smartContractAddress: {is: "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f"}
      smartContractEvent: {is: "PairCreated"}
      options: {desc: "block.timestamp.iso8601", limit: 10}
    ) {
      arguments {
        argument
        index
        value
      }
      block {
        timestamp {
          iso8601
        }
      }
      transaction {
        hash
      }
    }
  }
}

Similar queries