Skip to main content

Transaction Status (Experimental)

EXPERIMENTAL_tx_status request type

This endpoint allows you to get detailed transaction status with additional execution information beyond what the standard tx method provides.

Network
FastNear API keyNo saved key
Get API key
Endpointhttps://rpc.mainnet.fastnear.com
Authnone detected
Live Response

Responses from the selected endpoint appear here after you run a request.

Live response output will appear here after you run a request.

Request reference

application/json

This operation accepts a JSON-RPC body over POST to /.

Required request inputs: yes

{
  "jsonrpc": "2.0",
  "id": "fastnear",
  "method": "EXPERIMENTAL_tx_status",
  "params": {
    "wait_until": "EXECUTED_OPTIMISTIC",
    "sender_account_id": "intents.near",
    "tx_hash": "4EQZ5qoEJUbz8SRNkNwrAPtsn2VFhg9Ci1weaNNpiuR7"
  }
}

Request schema

object
requires jsonrpc, id, method, params
jsonrpc *string
2.0
id *string

Example: fastnear

method *string
EXPERIMENTAL_tx_status
params *object
wait_untilstring

Desired level of execution status guarantee

NONEINCLUDEDINCLUDED_FINALEXECUTEDEXECUTED_OPTIMISTICFINAL

Default: EXECUTED_OPTIMISTIC

signed_tx_base64string

Base64-encoded signed transaction

sender_account_idstring

NEAR account ID

tx_hashstring

Base58-encoded hash

Response reference

200 application/json

Successful response

Response schema

objectJsonRpcResponse
requires jsonrpc, id
jsonrpc *string
2.0
id *one of
stringnumber
resultobject
requires final_execution_status
final_execution_status *string

Desired level of execution status guarantee

NONEINCLUDEDINCLUDED_FINALEXECUTEDEXECUTED_OPTIMISTICFINAL
receiptsarray

Receipts generated from the transaction

itemsobject
receipts_outcomearray

The execution outcome of receipts.

itemsobject
statusobject

One of multiple possible types

transactionobject

Signed Transaction

transaction_outcomeobject

The execution outcome of the signed transaction.

errorobject
codeinteger
messagestring
dataobject