NEAR Protocol RPC: Transaction Status (1.0.0)

Check the status and details of a transaction

Download OpenAPI description
Languages
Servers
Mainnet
https://rpc.mainnet.fastnear.com/
Testnet
https://rpc.testnet.fastnear.com/

Check transaction status

Request

Get the status and details of a transaction

Bodyapplication/jsonrequired
jsonrpcstringrequired
Value"2.0"
idstringrequired
Example: "fastnear"
methodstringrequired
Value"tx"
paramsobjectrequired
params.​wait_untilstring

Desired level of execution status guarantee

Default "EXECUTED_OPTIMISTIC"
Enum"NONE""INCLUDED""INCLUDED_FINAL""EXECUTED""EXECUTED_OPTIMISTIC""FINAL"
params.​signed_tx_base64string

Base64-encoded signed transaction

params.​sender_account_idstring

NEAR account ID

params.​tx_hashstring

Base58-encoded hash

curl -i -X POST \
  https://rpc.mainnet.fastnear.com/ \
  -H 'Content-Type: application/json' \
  -d '{
    "jsonrpc": "2.0",
    "id": "fastnear",
    "method": "tx",
    "params": {
      "tx_hash": "8a8HR2Gf8NkLLeNcuHet4JeEz9kWa1fhs6qAnBdiewrR",
      "sender_account_id": "0-relay.hot.tg"
    }
  }'

Responses

Successful response

Bodyapplication/json
jsonrpcstringrequired
Value"2.0"
idstring or numberrequired
One of:
string
resultobject
errorobject
Response
application/json
{ "jsonrpc": "2.0", "id": "string", "result": { "final_execution_status": "NONE", "receipts": [], "receipts_outcome": [], "status": {}, "transaction": {}, "transaction_outcome": {} }, "error": { "code": 0, "message": "string", "data": {} } }