Send Transaction
send_tx request type
This endpoint allows you to send a signed transaction to the NEAR blockchain. Returns the final execution outcome when the transaction is complete.
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/jsonThis operation accepts a JSON-RPC body over POST to /.
Required request inputs: yes
{
"jsonrpc": "2.0",
"id": "fastnear",
"method": "send_tx",
"params": {
"signed_tx_base64": "ExampleBase64EncodedTransaction",
"wait_until": "EXECUTED_OPTIMISTIC"
}
}Request schema
jsonrpc *string2.0id *stringmethod *stringsend_txparams *objectsigned_tx_base64 *stringBase64-encoded signed transaction. This must be generated for the signing account just before submission.
wait_untilstringDesired level of execution status guarantee
NONEINCLUDEDINCLUDED_FINALEXECUTEDEXECUTED_OPTIMISTICFINALResponse reference
200 application/jsonSuccessful response
Response schema
jsonrpc *string2.0id *one ofresultobjectfinal_execution_status *stringDesired level of execution status guarantee
NONEINCLUDEDINCLUDED_FINALEXECUTEDEXECUTED_OPTIMISTICFINALreceiptsarrayReceipts generated from the transaction
itemsobjectreceipts_outcomearrayThe execution outcome of receipts.
itemsobjectstatusobjectOne of multiple possible types
transactionobjectSigned Transaction
transaction_outcomeobjectThe execution outcome of the signed transaction.
errorobjectcodeintegermessagestringdataobject