Monitor the specific events of the contracts

Streams the latest 10 events on BNB Chain as they happen, where log header address is 0xbb4C…095c and signature name is Withdrawal or Transfer: block number, transaction hash, smart contract, signature name, signature signature, arguments name, arguments index and 7 more fields.

By Vishal · saved 28 May 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(network: bsc) {
    Events(
      where: {LogHeader: 
        {Address: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}}, 
        Log: {Signature: 
          {Name: 
            {in: ["Withdrawal", "Transfer"]}}}}
      limit: {count: 10}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Number
      }
      Transaction {
        Hash
      }
      Log {
        SmartContract
        Signature {
          Name
          Signature
        }
      }
      Arguments {
        Name
        Index
        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