cURL
curl --request POST \ --url https://api.novashield.so/v1/wallet/tx/simulate \ --header 'Content-Type: application/json' \ --data ' { "transaction": "<string>", "signerPublicKey": "<string>" } '
{ "success": true, "data": { "simulation": { "success": true, "risks": [ "<string>" ], "warnings": [ "<string>" ] }, "transaction": { "instructions": [ { "program": "<string>", "programId": "<string>" } ] }, "riskAssessment": { "score": 123, "level": "SAFE", "verdict": "<string>" }, "recommendations": [ "<string>" ] }, "timestamp": "2023-11-07T05:31:56Z" }
Simulate a transaction and get a human-readable verdict before signing.
Base64-encoded serialized transaction
User's wallet public key
Transaction simulation complete
Show child attributes
Was this page helpful?