amountOut and gas, then validate before signing to ensure the transaction hasn’t been tampered with.
Quick Start
Get a working simulate-then-validate flow in under 5 minutes.
Simulate Transactions
Predict output amounts and gas consumption for any EVM transaction.
Validate Transactions
Verify transaction integrity before signing with per-field validation checks.
Why Shield?
Source-Agnostic
Works with any EVM transaction — Uniswap, Aave, Enso, or your own contracts. No vendor lock-in.
Tamper Detection
Compares every transaction parameter — calldata, target address, sender, value, and chain ID — to detect any modification between simulation and signing.
No Funds Required
Simulate any transaction without needing the actual tokens in your wallet — test before you commit.
Exact Output Prediction
Get the precise
amountOut you would receive if the transaction were executed on-chain right now.How It Works
Simulate
Send your transaction to the
/simulate endpoint with tokenIn, tokenOut, and amountIn.You get back: simulationId, amountOut, gas, and status.Validate
Before signing, send the unsigned transaction with the
simulationId to /validate.Shield checks every field — data, to, from, value, chainId — and returns per-field results.Base URL
Authentication
Shield uses the same Enso API key as the main Enso API. Pass it as a Bearer token in theAuthorization header or as an api_key query parameter.
Updated
