prepareExecuteAndWait
POST
JSON-RPC prepareExecuteAndWaitProtocol Details
Inputs
params
commandsarray[object]requiredOutputs
result
txobjectrequiredRelated Schemas
JsPrepareSubmissionRequest
JsPrepareSubmissionRequest
commandsarray[object]requiredresult
result
txobjectrequiredHistory
Updated
1.4.0The method was updated in this snapshot.
cURL
cURL
curl \
<JSON_RPC_URL> \
-H 'content-type: application/json' \
--data @- <<'EOF'
{
"jsonrpc": "2.0",
"id": 1,
"method": "prepareExecuteAndWait",
"params": {
"params": {
"commands": [
{
"CreateCommand": {}
}
]
}
}
}
EOF
Resultapplication/json
Result
{
"tx": {
"status": "<string>",
"commandId": "<string>",
"payload": {
"updateId": "<string>",
"completionOffset": "<integer>"
}
}
}