---
title: "Get transaction info by contract address"
method: GET
path: "/v1/contracts/{contractAddress}/transactions"
---

# Get transaction info by contract address

`GET /v1/contracts/{contractAddress}/transactions`

## Path parameters

- `contractAddress` string, required

## Query parameters

- `only_confirmed` boolean
- `only_unconfirmed` boolean
- `min_timestamp` string, date-time
- `max_timestamp` string, date-time
- `order_by` string
- `fingerprint` string
- `limit` integer

## Response `200`

200

- object
  - `data` object[]
    - `txID` string — Transaction ID(Hash).
    - `blockNumber` string — The block number.
    - `block_timestamp` string — The block timestamp.(Unit:millisecond)
    - `ret` object[]
      - `contractRet` string — Transaction execution result. (e.g. `SUCCESS`, `REVERT`)
      - `fee` integer — Transaction fee.(Unit:sun)
    - `signature` string[] — Transaction signature.
    - `raw_data_hex` string — The transaction's raw data. (Format: hex)
    - `raw_data` object — Transaction content. See [here](https://developers.tron.network/docs/tron-protocol-transaction) for details.
      - `fee_limit` integer — The transaction's `FeeLimit`. See [here](https://developers.tron.network/docs/feelimit) for details. (Unit: sun)
      - `expiration` integer — Transaction expiration time. (Unit: millisecond)
      - `timestamp` integer — The block timestamp. (Unit: millisecond)
      - `ref_block_bytes` string — The last two bytes of the reference block's number (height), used for transaction validation.
      - `ref_block_hash` string — Bytes 8 to 16 of the reference block's hash, used for transaction validation.
    - `energy_fee` integer — The amount of TRX burned for Energy. (Unit: sun)
    - `energy_usage` integer — The amount of Energy consumed by the sender's account.
    - `energy_usage_total` integer — The total amount of Energy consumed by the transaction.
    - `net_fee` integer — The amount of TRX burned to pay for the Bandwidth.
    - `net_usage` integer — The amount of Bandwidth consumed.
    - `internal_transactions` object[] — An array of internal transactions. See [here](https://developers.tron.network/docs/tron-protocol-transaction#internal-transactions) for details.
      - `internal_tx_id` string — The unique ID for the internal transaction.
      - `tx_id` string — The hash of the parent transaction.
      - `from_address` string — The sender's address. (Format: Hex, starts with `41`.)
      - `to_address` string — The recipient's address. (Format: Hex, starts with `41`.)
      - `data` object
        - `note` string — The instruction type, e.g. `call`, `create`, `suicide`.
        - `reject` boolean — Whether the internal transaction failed. Note: on this endpoint the wire field is `reject` (an implementation typo of the canonical `rejected`).
        - `call_value` object[]
          - `call_value` integer — Transfer amount. (Unit: sun)
          - `token_id` string — Token ID. `_` denotes TRX (decimals 6); otherwise a TRC-10 token ID.
  - `success` boolean — Whether the request was successful.
  - `meta` object
    - `at` integer — The response timestamp. (Unit: millisecond)
    - `page_size` integer — The number of items returned on the current page.
    - `fingerprint` string — The fingerprint for paginating to the next page.
    - `links` object
      - `next` string — The URL for the next page of results.

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/trongrid/apis/trongrid-v1-api.md) · [All operations](https://skmtc.dev/trongrid/apis/trongrid-v1-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trongrid/trongrid-v1-api/revisions/22cc4dd60c4c/schema)
