Latest created pool on uniswap on Base chain

Returns the latest event on Base, where log smart contract is 0x8909…8eC6 and signature name is PairCreated: transaction hash, signature name, arguments name, arguments type, integer, string, value address and 3 more fields.

By Akshat · saved 17 May 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: base) {
    Events( 
      limit: {count: 1}
      orderBy: {descending: Block_Time}
      where: {Log: {Signature: {Name: {is: "PairCreated"}}, SmartContract: {is: "0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6"}}}
    ) {
      Transaction {
        Hash
      }
      Log {
        Signature {
          Name
        }
      }
      Arguments {
        Name
        Type
        Value {
          ... on EVM_ABI_Integer_Value_Arg {
            integer
          }
          ... on EVM_ABI_String_Value_Arg {
            string
          }
          ... on EVM_ABI_Address_Value_Arg {
            address
          }
          ... on EVM_ABI_BigInt_Value_Arg {
            bigInteger
          }
          ... on EVM_ABI_Bytes_Value_Arg {
            hex
          }
          ... on EVM_ABI_Boolean_Value_Arg {
            bool
          }
        }
      }
    }
  }
}

Similar queries