simulate
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Simulates a transaction without actually submitting it to the network. This method allows you to test transaction outcomes, check for errors, and see the exact ledger changes that would occur if the transaction were executed. The simulation runs against the current working ledger state.
Body
Simulates a transaction without actually submitting it to the network. This method allows you to test transaction outcomes, check for errors, and see the exact ledger changes that would occur if the transaction were executed. The simulation runs against the current working ledger state.
JSON-RPC request payload.
methodstringsimulaterequiredJSON-RPC method name. Must be "simulate" for transaction simulation.
paramsArray<object>requiredArray containing transaction simulation parameters. Must contain exactly one object.
Response
HTTP 200 response for simulate. The body contains either a successful result or a method-level JSON-RPC error.
Bad Request. The request body is malformed or contains invalid JSON-RPC parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.