jj

ki

Returns the latest 10 smart contract calls on Tron, where tx from is TRuHjg…5rdh, date since 2024-11-09 and date till 2024-11-16: timestamp time, block height, smart contract method name, signature hash, address address, annotation, tx hash and 2 more fields.

By Jiří Jícha · saved 16 November 2024 · Bitquery API v1

What it returns

Filters

The query

query ($address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  tron {
    smartContractCalls(
      options: {desc: "block.timestamp.time", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      txFrom: {is: $address}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      smartContractMethod {
        name
        signatureHash
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      txHash
      external
      fee
      fee_usd: fee(in: USD)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "address": "TRuHjgqmgubTzjSoTQ5bsPvuSrsJ2V5rdh",
  "from": "2024-11-09",
  "till": "2024-11-16T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries