---
title: "Get transaction info by account address"
method: GET
path: "/v1/accounts/{address}/transactions"
---

# Get transaction info by account address

`GET /v1/accounts/{address}/transactions`

## Request

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

## Path parameters

- `address` string, required

## Query parameters

- `only_confirmed` boolean
- `only_unconfirmed` boolean
- `only_to` boolean
- `only_from` boolean
- `limit` integer
- `fingerprint` string
- `order_by` string
- `min_timestamp` integer
- `max_timestamp` integer
- `min_block_timestamp` integer
- `max_block_timestamp` integer

## Response `200`

200

- object
  - `data` object[]
    - `txID` string: Transaction ID (Hash).
    - `blockNumber` integer: The block number.
    - `block_timestamp` integer: The block timestamp. (Unit: millisecond)
    - `ret` object[]
      - `contractRet` string: Transaction execution result. (e.g. `SUCCESS`)
      - `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.
    - `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.
  - `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.dev/trongrid/apis/trongrid-v1-api/revisions/22cc4dd60c4c?raw)
