Skip to main content

/api/v1/contracts/results/{transactionIdOrHash}/actions REST API Endpoint

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

Updated on
Dec 18, 2024

Path Parameters

transactionIdOrHash
string
REQUIRED

The transaction Id or a 32 byte hash with optional 0x prefix

Query Parameters

index
string

The contract log index

limit
integer

The maximum number of items to return

order
string

The order in which items are listed (asc or desc)

Returns

actions
array

An array of objects, each representing an action taken during a contract execution

call_depth
integer

The depth of the call in the call stack

call_operation_type
string

The type of call operation

call_type
string

The specific type of call being made

caller
string

The ID of the account or contract that initiated the call

caller_type
string

The type of the caller

from
string

The address that initiated the call

gas
integer

The amount of gas allocated for the call

gas_used
integer

The amount of gas used by the call

index
integer

The index of the action within the transaction

input
string

The input data for the call, typically the encoded function call and parameters

recipient
string

The ID of the recipient account or contract

recipient_type
string

The type of the recipient

result_data
string

The data returned by the call, if any

result_data_type
string

The type of data returned

timestamp
string

The timestamp of the action

to
string

The address of the recipient

value
integer

The amount of cryptocurrency transferred as part of the call

links
object

An object containing pagination links

next
string | null

A URL to fetch the next set of transactions, if available

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free