Broadcast Transaction (Commit)
broadcast_tx_commit request type
This endpoint allows you to send a signed transaction and wait until it is fully executed and committed on the NEAR blockchain.
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": "broadcast_tx_commit",
"params": {
"signed_tx_base64": "DgAAAG1pa2UubmVhcgCpPJgEEFUwQjFQvL8V3CnZ0h688WG5sVsKE8JYM37ax2cUjgEAAAAAAAAADQAAAG1pa2V0ZXN0Lm5lYXIPfFBmYNAIe2/MicVhDXbvT3w06LxS2OCF0UHIYgjNDQAAAHRlc3RpbmcgbWVtbwEAAAADAQAAAAAAAAAAAAAAAAAAAA=="
}
}Request schema
jsonrpc *string2.0id *stringmethod *stringbroadcast_tx_commitparams *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