claims melos

Returns the latest 10 smart contract calls on Ethereum and BNB Chain, where smart contract address is 0x204e…e156, smart contract method is claim and date since 2022-11-21: timestamp time, block height, smart contract method name, signature hash, caller address, annotation, transaction hash and 2 more fields.

By gaurav · saved 28 November 2022 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    smartContractCalls(
      options: {desc: "block.timestamp.time", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      smartContractAddress: {is: $address}
      smartContractMethod: {is: "claim"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      smartContractMethod {
        name
        signatureHash
      }
      address: caller {
        address
        annotation
      }
      transaction {
        hash
      }
      gasValue
      gas_value_usd: gasValue(in: USD)
      external
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "address": "0x204e1f673819bae4a9c582c7de42a6d146afe156",
  "from": "2022-11-21",
  "till": "2022-11-28T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries