Websocket for Latest created pool on Pancake Swap V2 BSC Mainnet

Streams the latest events on BNB Chain as they happen, where log smart contract is 0xcA14…0c73 and signature name is PairCreated: arguments name, arguments type, integer, string, value address, big integer, hex and 2 more fields.

By Akshat · saved 20 May 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(network: bsc) {
    Events(
      orderBy: {descending: Block_Time}
      where: {Log: {Signature: {Name: {is: "PairCreated"}}, SmartContract: {is: "0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73"}}}
    ) {
      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
          }
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries