Subscription of all the events in BSC

Streams events on BNB Chain as they happen, where log smart contract is 0x0BFb…1865: block time, block number, from, to, transaction hash, signature name, smart contract and 7 more fields.

By Vishal · saved 24 May 2024 · Bitquery API v1

What it returns

Filters

The subscription

subscription {
  EVM(network: bsc) {
    Events(
      where: {Log: {SmartContract: {is: "0x0BFbCF9fa4f9C56B0F40a671Ad40E0805A091865"}}}
    ) {
      Block {
        Time
        Number
      }
      Transaction {
        From
        To
        Hash
      }
      Log {
        Signature {
          Name
        }
        SmartContract
      }
      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