myown

Returns transactions on Tron, where tx hash is ae2e98…28bf: block height, timestamp time, success, contract address address, annotation, fee, fee limit and 2 more fields.

By Lisa Wall · saved 26 December 2024 · Bitquery API v1

What it returns

Filters

The query

query ($hash: String!) {
  tron {
    transactions(txHash: {is: $hash}) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      success
      contractAddress {
        address
        annotation
      }
      fee
      fee_usd: fee(in: USD)
      feeLimit
      netFee
      net_fee_usd: netFee(in: USD)
      energyFee
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "hash": "ae2e98054684d1ebd4a6b766a46568ddebc26c502211312617cdeb4b1c2228bf"
}

Similar queries