Simulate transaction
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Simulates a single fully signed Stacks transaction on top of a chain tip without committing any state changes.
By default, the transaction is simulated on top of the canonical chain
tip. A specific chain tip can be selected using the tip query parameter.
The response includes the transaction execution result, generated events, execution cost, execution limit, and information about post-condition or VM errors.
The supplied transaction must be fully signed and valid.
Body
Fully signed SIP-005 encoded Stacks transaction represented as a hexadecimal string.
transaction_hexstringrequiredSIP-005 encoded transaction in hexadecimal format.
Parameters
tipstringqueryThe chain tip on top of which the transaction should be simulated. If omitted, the canonical chain tip is used.
Response
Result of the simulated transaction
Invalid request, invalid transaction, or a chain tip that cannot be used for transaction simulation.
Unauthorized.
Chain tip not found.
Internal server error.