Smart contractt

Returns smart contract calls on Tron, where date since 2025-02-10 and date till 2025-02-17: minimum of block, maximum of time and count.

By Anish Majhi · saved 17 February 2025 · Bitquery API v1

What it returns

Filters

The query

query ($address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  tron {
    smartContractCalls(
      date: {since: $from, till: $till}
      smartContractAddress: {is: $TR3e7bvoarT1dMtdnzyBVF8tJmfoorEU9J}
    ) {
      created: minimum(of: block, get: time)
      created_block: minimum(of: block)
      created_tx: minimum(of: block, get: tx_hash)
      created_by: minimum(of: block, get: tx_from)
      max_time: maximum(of: time)
      external_calls: count(external: true)
      internal_calls: count(external: false)
      count
      callers: count(uniq: callers)
      days: count(uniq: dates)
      txs: count(uniq: txs)
    }
  }
}

Variables

{
  "limit": 100,
  "offset": 10,
  "address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
  "from": "2025-02-10",
  "till": "2025-02-17T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries