Dry run
Use the dryRun
call to simulate the submission of a transaction without executing it so that you can check for potential errors and validate the expected outcome.
Body
atstring · unsignedIntegerOptional
txstring · hexOptional
senderAddressstring · ss58Optional
Responses
200
successful operation
application/json
400
failed to dry-run transaction
application/json
post
POST /transaction/dry-run HTTP/1.1
Host: dot-playbook.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"at": "text",
"tx": "text",
"senderAddress": "text"
}
{
"resultType": "DispatchOutcome",
"result": {
"actualWeight": "text",
"paysFee": "text"
}
}