Skip to main content
GET
/
api
/
v1
/
contracts
/
results
/
{transactionIdOrHash}
/
actions
Get the contract actions from a contract on the network for a given transactionId or ethereum transaction hash
curl --request GET \
  --url https://mainnet.mirrornode.hedera.com/api/v1/contracts/results/{transactionIdOrHash}/actions
{
  "actions": [
    {
      "call_depth": 1,
      "call_operation_type": "CALL",
      "call_type": "CALL",
      "caller": "0.0.2",
      "caller_type": "ACCOUNT",
      "from": "0x0000000000000000000000000000000000000065",
      "gas": 50000,
      "gas_used": 50000,
      "index": 0,
      "input": "0x123456",
      "recipient": "0.0.2",
      "recipient_type": "ACCOUNT",
      "result_data": "0x123456",
      "result_data_type": "OUTPUT",
      "timestamp": "1586567700.453054000",
      "value": 50000
    }
  ],
  "links": {
    "next": null
  }
}

Path Parameters

transactionIdOrHash
string
required

Transaction Id or a 32 byte hash with optional 0x prefix

Query Parameters

index
string

The index of a contract action

limit
integer
default:25

The maximum number of items to return

Required range: 1 <= x <= 100
order
enum<string>
default:asc

The order in which items are listed

Available options:
asc,
desc

Response

OK

actions
object[]