Skip to main content

Transaction Status

tx request type

This endpoint allows you to check the status of a transaction on the NEAR blockchain.

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": "tx",
  "params": {
    "tx_hash": "4EQZ5qoEJUbz8SRNkNwrAPtsn2VFhg9Ci1weaNNpiuR7",
    "sender_account_id": "intents.near"
  }
}

Request schema

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

Example: fastnear

method *string
tx
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