---
title: "Get internal transactions by transaction ID"
method: GET
path: "/v1/transactions/{transactionId}/internal-transactions"
---

# Get internal transactions by transaction ID

`GET /v1/transactions/{transactionId}/internal-transactions`

## Request

- Base URL: `https://api.shasta.trongrid.io`
- URL: `https://api.shasta.trongrid.io/v1/transactions/{transactionId}/internal-transactions`
- Auth: none declared
- TypeScript: <https://skmtc.dev/trongrid/apis/trongrid-v1-api/docs/v1/transactions/:transactionId/internal-transactions/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `transactionId` string, required

## Query parameters

- `only_confirmed` boolean
- `only_unconfirmed` boolean

## Response `200`

200

- object
  - `data` object[]
    - `internal_tx_id` string: The unique ID for the internal transaction.
    - `data` object
      - `note` string: The type of instruction, such as `call`, `create`, `suicide`, `freezeBalanceV2ForEnergy`, `freezeBalanceV2ForBandwidth`, or `unfreezeBalanceV2ForBandwidth`.
      - `rejected` boolean: Whether the internal transaction failed during execution. `true` signifies failure.
      - `call_value` object: Transfer amount map `{ "_": <amount> }`. Key `_` denotes TRX (amount in sun); other keys are TRC-10 token IDs. Always present.
    - `block_timestamp` integer: The block timestamp. (Unit: millisecond)
    - `to_address` string: The recipient's address.
    - `tx_id` string: The transaction hash of the parent transaction that initiated this internal transaction.
    - `from_address` string: The sender's address.
  - `success` boolean: Whether the request succeeded. `true` on success.
  - `meta` Meta: TronGrid response envelope — pagination + timing metadata. Present on every successful TronGrid v1 response.
    - `at` integer: Server timestamp when the response was generated. (Unit: millisecond)
    - `page_size` integer: Number of items returned in this page.
    - `fingerprint` string: Opaque pagination cursor. Pass back as the `fingerprint` query parameter to fetch the next page.
    - `links` object: Pagination links.
      - `next` string: URL for the next page (empty if this is the last page).

## 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.dev/trongrid/apis/trongrid-v1-api/revisions/22cc4dd60c4c?raw)
