Tron query for an address

Returns 1000 contracts on Tron, where tx owner is TZ2Akd…tYXf: amount, tx hash, tx owner address, contract type, fee, success, currency address and 7 more fields.

By gaurav · saved 20 April 2023 · run 25 times · Bitquery API v1

What it returns

Filters

The query

query ($address: String!, $limit: Int!, $offset: Int!, $since: ISO8601DateTime, $till: ISO8601DateTime) {
  tron(network: tron) {
    contracts(
      txOwner: {is: $address}
      time: {since: $since, till: $till}
      options: {limit: $limit, offset: $offset}
    ) {
      amount
      txHash
      txOwner {
        address
      }
      contractType
      fee
      success
      currency {
        address
        symbol
        decimals
        name
        tokenId
        tokenType
      }
      block {
        height
        timestamp {
          iso8601
        }
      }
    }
  }
}

Variables

{
  "address": "TZ2AkdSbVordzqLVrNwRCtyQoLzy1stYXf",
  "limit": 1000,
  "offset": 0,
  "since": null,
  "till": null
}

Similar queries