---
title: "Get the contract actions from a contract on the network for a given transactionId or ethereum transaction hash"
method: GET
path: "/api/v1/contracts/results/{transactionIdOrHash}/actions"
tags: ["contracts"]
---

# Get the contract actions from a contract on the network for a given transactionId or ethereum transaction hash

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

Returns a list of ContractActions for a contract's function executions for a given transactionId or ethereum transaction hash.

## Path parameters

- `transactionIdOrHash` string, required

## Query parameters

- `index` string
- `limit` integer
- `order` 'asc' | 'desc'

## Response `200`

OK

- ContractActionsResponse
  - `actions` ContractAction[]
    - `call_depth` integer — The nesting depth of the call
    - `call_operation_type` 'CALL' | 'CALLCODE' | 'CREATE' | 'CREATE2' | 'DELEGATECALL' | 'STATICCALL' | 'UNKNOWN' — The type of the call operation
    - `call_type` 'NO_ACTION' | 'CALL' | 'CREATE' | 'PRECOMPILE' | 'SYSTEM' — The type of the call
    - `caller` string, nullable — Network entity ID in the format of `shard.realm.num`
    - `caller_type` 'ACCOUNT' | 'CONTRACT' — The entity type of the caller
    - `from` string — The EVM address of the caller
    - `gas` integer — Gas cost in tinybars
    - `gas_used` integer — Gas used in tinybars
    - `index` integer — The position of the action within the ordered list of actions
    - `input` string, nullable — The hex encoded input data
    - `recipient` string, nullable — Network entity ID in the format of `shard.realm.num`
    - `recipient_type` 'ACCOUNT' | 'CONTRACT', nullable — The entity type of the recipient
    - `result_data` string, nullable — The hex encoded result data
    - `result_data_type` 'OUTPUT' | 'REVERT_REASON' | 'ERROR' — The type of the result data
    - `timestamp` string — A Unix timestamp in seconds.nanoseconds format
    - `to` string, binary, nullable — A network entity encoded as an EVM address in hex.
    - `value` integer — The value of the transaction in tinybars
  - `links` Links
    - `next` string, nullable

## Other responses

- `400` — Invalid parameter
- `404` — Not Found

---

[API](https://skmtc.dev/hedera/apis/mirror-node-rest-api.md) · [All operations](https://skmtc.dev/hedera/apis/mirror-node-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hedera/mirror-node-rest-api/revisions/45f5ccac560c/schema)
