latest uniswap v2 pairs websocket

Streams events as they happen, where log smart contract is 0x5C69…aA6f and signature name is PairCreated: signature name, parsed, signature signature, smart contract, transaction hash, block date, block number and 7 more fields.

By Chrome · saved 27 September 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
                EVM {
                  Events(
                    where: {Log: {SmartContract: {is: "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f"}, Signature: {Name: {is: "PairCreated"}}}}
                  ) {
                    Log {
                      Signature {
                        Name
                        Parsed
                        Signature
                      }
                      SmartContract
                    }
                    Transaction {
                      Hash
                    }
                    Block {
                      Date
                      Number
                    }
                    Arguments {
                      Name
                      Value {
                        __typename
                        ... 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