LRG

Returns the latest 10 smart contract calls on Ethereum and BNB Chain, where caller is 0x744c…25a2, date since 2023-01-15 and date till 2023-01-22: timestamp time, block height, smart contract method name, signature hash, address address, annotation, transaction hash and 2 more fields.

By LARGECHAIN · saved 22 January 2023 · 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}
      caller: {is: $address}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      smartContractMethod {
        name
        signatureHash
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      transaction {
        hash
      }
      external
      gasValue
      gas_value_usd: gasValue(in: USD)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "address": "0x744c3e7ccff5a8e6b0ea8365ae75fe210bff25a2",
  "from": "2023-01-15",
  "till": "2023-01-22T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries