Aave v3 Events subscription

Streams the latest 20 events as they happen, where log smart contract is 0x8787…a4e2: arguments index, arguments name, path index, path name, path type, arguments type, integer and 12 more fields.

By Divyasshree N · saved 23 August 2023 · Bitquery API v2

What it returns

Filters

The subscription

subscription{
  EVM {
    Events(
      limit: {count: 20}
      orderBy: {descending: Block_Time}
      where: {Log: {SmartContract: {is: "0x87870bca3f3fd6335c3f4ce8392d69350b4fa4e2"}}}
    ) {
      Arguments {
        Index
        Name
        Path {
          Index
          Name
          Type
        }
        Type
        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
          }
        }
      }
      Block {
        Number
        Time
      }
      Transaction {
        From
        To
        Hash
      }
      Log {
        Signature {
          Name
        }
        SmartContract
      }
    }
  }
}

Similar queries