BoostxGeyserLockTokens

lockTokens

Returns the latest 10 smart contract calls on Ethereum and BNB Chain, where smart contract address is 0xd760…A1D6, smart contract method is lockTokens and height is above 9000000: timestamp time, block height, smart contract method name, signature hash, caller address, annotation, transaction hash and 2 more fields.

By Karl · saved 17 June 2022 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $method: 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}
      height: {gt: 9000000}
      smartContractAddress: {is: $address}
      any: {smartContractMethod: {is: $method}}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      smartContractMethod {
        name
        signatureHash
      }
      address: caller {
        address
        annotation
      }
      transaction {
        hash
      }
      gasValue
      external
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "address": "0xd760c35119aC198BF130EBf42fA9158F7D42A1D6",
  "method": "lockTokens",
  "from": null,
  "till": null,
  "dateFormat": "%Y-%m"
}

Similar queries