Skip to main content

EXPERIMENTAL_tx_status RPC Method

Queries transaction status by hash, which returns the results of final transaction and details about all receipts.

Updated on
Oct 04, 2023

Parameters

tx_hash
string

The hash of the transaction

sender_account_id
string

The account id of the sender

wait_until
string

(Optional) The required minimal execution level. Possible values: NONE, INCLUDED, EXECUTED_OPTIMISTIC (default), INCLUDED_FINAL, EXECUTED, FINAL

Returns

receipts
array

The receipts of the transaction

predecessor_id
string

The id of the account that was the previous contract in the chain

receipt
object

The receipt of the transaction

Action
object

The action to be performed on the receiver_id

actions
array

An action built from near-api-js.transactions

FunctionCall
object

An action to be performed on the receiver_id

args
string

The transaction specific argument

deposit
string

The amount deposited

gas
integer

Integer of the gas provided for the transaction execution

method_name
string

The name of the method corresponding to the actions

gas_price
string

Integer of the gasPrice used for each paid gas encoded as a hexadecimal

input_data_ids
array

A vector of input data with the data_ids required for the execution of this receipt

output_data_receivers
array

A vector of output data receivers. It indicates where to send outgoing data. Each DataReceiver consists of data_id and receiver_id for routing

signer_id
string

The account id of the transaction originator

signer_public_key
string

The public key of the signer

receipt_id
string

The receipt id of the transaction originator

receiver_id
string

The identifier for the account

receipts_outcome
array

The receipts outcome for the transaction

block_hash
string

The hash of the block this transaction was associated with

id
string

The id associated with the transaction

outcome
object

The outcome associated with transaction

executor_id
string

The id of the originator

gas_burnt
integer

The gas burnt while executing the transaction

logs
array

Logs for the application being executed by this transaction

metadata
object

Logs for the application being executed by this transaction

gas_profile
array

The information about the gas such as gas used, cost and cost_category

cost
string

The cost of the gas used

cost_category
string

The category of the cost

gas_used
string

The amount of gas used

version
integer

The version number

receipt_ids
array

The id of the recipients

status
object

The status of the transaction

successReceiptId
string

(Optional) The transaction id of the successful recipient

tokens_burnt
string

The amount of tokens burnt

proof
array

The proof of the transaction

direction
string

The direction

hash
string

The hash of the transaction

status
object

The status of the transaction

successValue
string | null

(Optional) The value successfully sent

transaction
object

The transaction object

actions
array

An action built from near-api-js.transactions

FunctionCall
object

An action to be performed on the receiver_id

args
string

The transaction specific argument

deposit
string

The amount deposited

gas
integer

Integer of the gas provided for the transaction execution

method_name
string

The name of the method corresponding to the actions

hash
string

The transaction hash

nonce
integer

The number of transactions made by the sender prior to this one encoded as hexadecimal

public_key
string

The public key of the signer

receiver_id
string

The account id of the transaction receiver

signature
string

Standard ed25519 signature type

signer_id
string

The account id of the transaction originator

transaction_outcome
object

The transaction outcome for the transaction

block_hash
string

The hash of the block this transaction was associated with

id
string

The id associated with the transaction

outcome
object

The outcome associated with transaction

executor_id
string

The id of the originator

gas_burnt
integer

The gas burnt while executing the transaction

logs
array

Logs for the application being executed by this transaction

receipt_ids
array

The id of the recipients

status
object

The status of the transaction

successReceiptId
string

(Optional) The transaction id of the successful recipient

tokens_burnt
string

The amount of tokens burnt

proof
array

The proof of the transaction

direction
string

The direction

hash
string

The hash of the transaction

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