Simulates a raw transaction or transaction group as it would be evaluated on the network. The simulation will use blockchain state from the latest committed round.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Body
The transactions to simulate, along with any other inputs.
application/jsonSimulateRequestRequest type for simulation endpoint.
allow-empty-signaturesbooleanAllows transactions without signatures to be simulated as if they had correct signatures.
allow-more-loggingbooleanLifts limits on log opcode usage during simulation.
allow-unnamed-resourcesbooleanAllows access to unnamed resources during simulation.
exec-trace-configSimulateTraceConfigAn object that configures simulation execution trace.
extra-opcode-budgetintegerApplies extra opcode budget during simulation for each transaction group.
roundintegerIf provided, specifies the round preceding the simulation. State changes through this round will be used to run this simulation. Usually only the 4 most recent rounds will be available (controlled by the node config value MaxAcctLookback). If not specified, defaults to the latest available round.
txn-groupsArray<SimulateRequestTransactionGroup>requiredThe transaction groups to simulate.
application/msgpackSimulateRequestRequest type for simulation endpoint.
allow-empty-signaturesbooleanAllows transactions without signatures to be simulated as if they had correct signatures.
allow-more-loggingbooleanLifts limits on log opcode usage during simulation.
allow-unnamed-resourcesbooleanAllows access to unnamed resources during simulation.
exec-trace-configSimulateTraceConfigAn object that configures simulation execution trace.
extra-opcode-budgetintegerApplies extra opcode budget during simulation for each transaction group.
roundintegerIf provided, specifies the round preceding the simulation. State changes through this round will be used to run this simulation. Usually only the 4 most recent rounds will be available (controlled by the node config value MaxAcctLookback). If not specified, defaults to the latest available round.
txn-groupsArray<SimulateRequestTransactionGroup>requiredThe transaction groups to simulate.
Parameters
formatstringjsonmsgpackqueryConfigures whether the response object is JSON or MessagePack encoded. If not provided, defaults to JSON.
Response
Result of a transaction group simulation.
Bad Request
Invalid API Token
Internal Error
Service Temporarily Unavailable
Unknown Error