Request Parameters
Response
Examples
Successful Validation
Failed Validation (Tampered Data)
If the calldata has been modified since simulation, thedata check will fail:
Interpreting Failed Checks
Cache Expiry
Simulations are cached for 5 minutes. If you call/validate after the simulation has expired, you’ll receive a 404 error:
simulationId and try again.
Best Practices
- Validate immediately before signing — Don’t validate far in advance. Validate as close to the signing moment as possible within the 5-minute window.
- Log the simulationId — Store simulation IDs for debugging and audit trails.
- Re-simulate on failure — If validation fails, re-simulate to get a fresh result rather than retrying the same validation.
- Check individual fields — When
validisfalse, inspect thechecksobject to understand exactly what changed.
Updated
