transaction for an address

Returns the latest 100 smart contract calls on Ethereum and BNB Chain, where smart contract address is 0x100e…f4cf, date since 2021-05-01 and date till 2021-06-01: timestamp time, block height, smart contract method name, signature hash, caller address, annotation, transaction hash and 2 more fields.

By gaurav · saved 4 January 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
      external
    }
  }
}

Variables

{
  "limit": 100,
  "offset": 10,
  "network": "bsc",
  "address": "0x100e9dfb6f42e19935df75ef616a63feec2ef4cf",
  "from": "2021-05-01",
  "till": "2021-06-01",
  "dateFormat": "%Y-%m-%d"
}

Similar queries