sui_simulate_transaction
Dry-run a Sui transaction without state changes or fees to verify success and estimate gas. Accepts BCS-encoded transaction bytes in base64.
Instructions
Dry-run a transaction. Always safe — no state changes, no fees. Returns effects, command outputs, and a suggested_gas_price. Use this before any real execution to check that the tx will succeed and to size gas. Accepts BCS-encoded transaction bytes (base64).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"transaction_bcs_b64": "<transaction_bcs_b64>"
},
"name": "sui_simulate_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transaction_bcs_b64 | Yes | Base64-encoded BCS bytes of the unsigned TransactionData. The tool decodes the base64 internally. | |
| network | No | Sui network. Defaults to the server's configured default. |