---
title: "Get transaction by version"
method: GET
path: "/transactions/by_version/{txn_version}"
tags: ["Transactions"]
---

# Get transaction by version

`GET /transactions/by_version/{txn_version}`

Retrieves a transaction by a given version. If the version has been
pruned, a 410 will be returned.

## Path parameters

- `txn_version` string, uint64, required — A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.

## Response `200`

- Transaction — unresolved $ref

## Other responses

- `400`
- `403`
- `404`
- `410`
- `500`
- `503`

## Changes

- **2025-10-09** `5bfbbc5f3ce7` — 7 breaking, 50 warning
  - the mandatory response header `X-APTOS-BLOCK-HEIGHT` removed for the status `200`
  - the mandatory response header `X-APTOS-CHAIN-ID` removed for the status `200`
  - the mandatory response header `X-APTOS-EPOCH` removed for the status `200`
  - the mandatory response header `X-APTOS-LEDGER-OLDEST-VERSION` removed for the status `200`
  - …53 more
- …earlier changes not shown

[Full history](https://skmtc.dev/pontem-network/apis/lumio-node-api/changes/transactions/by_version/:txn_version/get.md)

---

[API](https://skmtc.dev/pontem-network/apis/lumio-node-api.md) · [All operations](https://skmtc.dev/pontem-network/apis/lumio-node-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pontem-network/lumio-node-api/revisions/385d1aaf056f/schema)
