Borrow event for a given address on Aave pool

Returns the latest 10 events on Ethereum, where log header address is 0x8787…A4E2 and signature name is Borrow: transaction hash, block time, signature name, smart contract, arguments name, integer, string and 4 more fields.

By gaurav · saved 24 January 2024 · run 8 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: archive, network: eth) {
    Events(
      limit: {count: 10}
      orderBy: {descending: Block_Time}
      where: {LogHeader: {Address: {is: "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2"}}, Log: {Signature: {Name: {in: ["Borrow"]}}}, Arguments: {includes: {Name: {is: "onBehalfOf"}, Value: {Address: {is: "0x1cd6d86687adccaac08c12134aa569a780368b28"}}}}}
    ) {
      Transaction {
        Hash
      }
      Block {
        Time
      }
      Log {
        Signature {
          Name
        }
        SmartContract
      }
      Arguments {
        Name
        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