amount in smart contract calls

Returns the latest 10 smart contract calls on Ethereum, where smart contract address is 0x5972…ce3a, date since 2022-01-03 and date till 2022-02-01: timestamp time, block height, smart contract method name, signature hash, caller address, annotation, transaction hash and 3 more fields.

By gaurav · saved 1 February 2022 · 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}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      smartContractMethod {
        name
        signatureHash
      }
      address: caller {
        address
        annotation
      }
      transaction {
        hash
      }
      gasValue
      amount
      external
      amount
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0x59728544b08ab483533076417fbbb2fd0b17ce3a",
  "from": "2022-01-03",
  "till": "2022-02-01T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries