Tron smart contract calls

Returns the latest 10 smart contract calls on Tron, where date since 2023-08-09 and date till 2023-08-09: timestamp time, block height, address address, annotation, smart contract method name, signature hash, argument and 7 more fields.

By gaurav · saved 10 August 2023 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  tron {
    smartContractCalls(
      options: {desc: "block.height", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      external: true
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      smartContractMethod {
        name
        signatureHash
      }
      arguments {
        argument
        argumentType
        index
        value
      }
      callDepth
      energyUsageTotal
      txTo {
        address
      }
      txHash
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "tron",
  "from": "2023-08-09",
  "till": "2023-08-09T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries