Transaction Simulation API
Understand a transactoin before signing it
Last updated
Understand a transactoin before signing it
Last updated
See exactly what a transaction will do—before it’s signed. Our API runs a full on‑chain simulation and returns clear, USD‑denominated balance changes, so users of custodial platform such as and can approve or reject transfers with confidence.
Why it matters
Pre‑sign insights – Know the outcome of any transaction in advance.
Seamless integration – A lightweight REST endpoint that drops straight into your existing workflow.
Actionable data – Balance deltas presented in familiar USD terms.
Supported chains Ethereum · BNB Smart Chain · Base · Optimism · Polygon
Get started Request an API key at contact@blocksec.com and start simulating in minutes.
Simulate raw transaction and get balance changes
The block number on which the transaction simulation is based. If this value is 0, transaction simulation will be based on the latest block.
Raw transaction hex string
0xf8a91f85017ad70c7582881994c02aaa39b223fe8d0a0e5c4f27ead9083c756cc280b844a9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa9604500000000000000000000000000000000000000000000000000005af3107a400025a0bbfc1f56c70c58f623a36639f9dd01db632af5bdc1106c16906f6c13b17765cea07a34be3f43332eddbcb9ac8a3b1e261eda25c007283a645d68a8380b19e6602f
Simulation result
Simulate custom transaction parameters and get balance changes
Chain ID for the transaction
The block number on which the transaction simulation is based. If this value is 0, transaction simulation will be based on the latest block.
Simulation result