Addresses used in Events Parameters

Returns one event on Arbitrum, where log smart contract is 0xfae3…3752, currency smart contract is 0xfae3…3752 and block date since 2023-09-13, sorted by count, highest first: chain ID, smart contract, signature name, signature signature, signature hash, count, arguments name and 2 more fields.

By Nadia · saved 17 January 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int, $token: String!, $from: String, $till: String) {
  EVM(dataset: combined, network: $network) {
    Events(
      where: {Block: {Date: {since: $from, till: $till}}, Log: {SmartContract: {is: $token}}}
      limit: {count: $limit}
      orderBy: {descendingByField: "count"}
    ) {
      ChainId
      Log {
        SmartContract
        Signature {
          Name
          Signature
          SignatureHash
        }
      }
      count
      Arguments {
        Name
      }
    }
    Transfers(
      limit: {count: 1}
      where: {Transfer: {Currency: {SmartContract: {is: $token}}}}
    ) {
      Transfer {
        Currency {
          Name
          SmartContract
          Symbol
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "network": "arbitrum",
  "from": "2023-09-13",
  "till": "2023-09-19",
  "token": "0xfae39ec09730ca0f14262a636d2d7c5539353752",
  "dateFormat": "%Y-%m-%d"
}

Similar queries