Pairs Created Template

Streams the latest 10 events on Ethereum as they happen, where log smart contract is 0x5c69…aa6f and signature name is PairCreated: block number, transaction hash, smart contract, signature name, signature signature, arguments name, integer and 5 more fields.

By Divyasshree N · saved 10 July 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(network: eth) {
    Events(
      where: {Log: {Signature: {Name: {is: "PairCreated"}}, SmartContract: {is: "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f"}}}
      limit: {count: 10}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Number
      }
      Transaction {
        Hash
      }
      Log {
        SmartContract
        Signature {
          Name
          Signature
        }
      }
      Arguments {
        Name
        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
          }
        }
      }
    }
  }
}

Variables

{
  "token": "0xdac17f958d2ee523a2206206994597c13d831ec7"
}

Similar queries