---
title: "Changes to Get the opcode traces for a historical transaction on the network with the given transaction ID or hash"
method: GET
path: "/api/v1/contracts/results/{transactionIdOrHash}/opcodes"
---

# Changes to Get the opcode traces for a historical transaction on the network with the given transaction ID or hash

`GET /api/v1/contracts/results/{transactionIdOrHash}/opcodes`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 53 revisions.

- **2025-08-08** (v1) `db389f03b097` — 11 breaking

## Changes

- **2025-08-08** (v1) `db389f03b097` — 11 breaking
  - the response property `_status/messages/items/data` became nullable for the status `400`
  - the response property `_status/messages/items/data` became nullable for the status `404`
  - the response property `_status/messages/items/data` became nullable for the status `429`
  - the response property `_status/messages/items/detail` became nullable for the status `400`
  - the response property `_status/messages/items/detail` became nullable for the status `404`
  - the response property `_status/messages/items/detail` became nullable for the status `429`
  - the response property `contract_id` became nullable for the status `200`
  - the response property `opcodes/items/memory` became nullable for the status `200`
  - the response property `opcodes/items/reason` became nullable for the status `200`
  - the response property `opcodes/items/stack` became nullable for the status `200`
  - the response property `opcodes/items/storage` became nullable for the status `200`

---

[Operation](https://skmtc.dev/hiero-ledger/apis/mirror-node-rest-api/docs/api/v1/contracts/results/:transactionIdOrHash/opcodes/get.md) · [API](https://skmtc.dev/hiero-ledger/apis/mirror-node-rest-api.md) · [Page](https://skmtc.dev/hiero-ledger/apis/mirror-node-rest-api/changes/api/v1/contracts/results/:transactionIdOrHash/opcodes/get)
