Skip to main content

/v1/transaction_results/{transaction_id} REST API Endpoint

Retrieve transaction results by providing the transaction result ID.

Updated on
Oct 4, 2023

/v1/transaction_results/{transaction_id} REST API Endpoint

Parameters

transaction_id
string
REQUIRED
The transaction ID of the transaction result
block_id
string
A block ID optional parameter
collection_id
string
A collection ID optional parameter
expand
string
A comma-separated list indicating which properties of the content to expand
select
string
A comma-separated list indicating which properties of the content to return

Returns

block_id
string
The id of the block
collection_id
string
The id of the collection
execution
string
It indicates whether the transaction execution succeeded or not. This value should be checked when determining the transaction success
status
string
It indicates the state of the transaction execution. Only sealed and expired are final and immutable states
status_code
integer
The numeric code associated with the transaction execution status
error_message
string
The message indicating any errors that occurred during transaction execution
computation_used
string
The amount of computation used by the transaction
events
array
An array of events that were emitted during the execution of the transactions. It contains the following fields:
type
string
The type of the event, which is typically a string that identifies the purpose or function of the event
transaction_id
string
The unique id of the transaction that emitted the event
transaction_index
string
The index of the transaction that emitted the event
event_index
string
The index of the event within the transaction
payload
string
The data payload associated with the event, which can be used to provide additional information about the event
_links
object
An object that contains links to related resources or endpoints
_self
string
It is a link that refers to the current resource itself. In this case, it is the transaction resource requested
Request
1
curl -X 'GET' 'https://docs-demo.flow-mainnet.quiknode.pro/v1/transaction_results/887f8fc77e63374967dac879f3a96b3aa176e21feedfd0ae02fd3a1bd4c6ed5d' \
2
-H 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free