SC events Backed Finance’s

Returns one event on Arbitrum, where log smart contract is 0xCA30…5Fb5 and currency smart contract is 0xCA30…5Fb5, sorted by count, highest first: chain ID, count, signature name, signature signature, signature hash, block date, currency name and 2 more fields.

By Abhishek Tripathi · saved 18 July 2024 · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int, $address: String) {
  EVM(dataset: archive, network: $network) {
    Events(
      where: {Log: {SmartContract: {is: $address}}}
      limit: {count: $limit}
      orderBy: {descendingByField: "count"}
    ) {
      ChainId
      count
      Log {
        Signature {
          Name
          Signature
          SignatureHash
        }
      }
      Block {
        Date(maximum: Block_Date)
      }
    }
    Transfers(
      limit: {count: 1}
      where: {Transfer: {Currency: {SmartContract: {is: $address}}}}
    ) {
      Transfer {
        Currency {
          Name
          SmartContract
          Symbol
        }
      }
    }
  }
}

Variables

{"limit":100,"network":"arbitrum","address":"0xCA30c93B02514f86d5C86a6e375E3A330B435Fb5","from":"2023-08-07","till":"2024-07-07"}

Similar queries