Home

Simulate transaction

POST
https://soroban-testnet.nownodes.io/rpc

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Submit a trial contract invocation to simulate how it would be executed by the network. This endpoint calculates the effective transaction data, required authorizations, and minimal resource fee. It provides a way to test and analyze the potential outcomes of a transaction without actually submitting it to the network.

Body

application/json
jsonrpcstringrequired
idintegerrequired
methodstringrequired
paramsobjectrequired
Show child attributes
transactionstringrequired
resourceConfigobject
Show child attributes
instructionLeewayinteger

Response

200OK

Transaction simulation completed successfully

400Bad Request

Bad Request

401Unauthorized

Unauthorized — Missing or invalid API key

500Internal Server Error

Internal Server Error