stellar_soroban_simulate
Simulate a Soroban smart contract invocation to preview its footprint, events, and results without submitting a transaction.
Instructions
Simulate a Soroban smart contract invocation to get footprint, events, and results. Does NOT submit transaction.
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": {
"contractId": "<contractId>",
"method": "<method>",
"sourceAccount": "<sourceAccount>"
},
"name": "stellar_soroban_simulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractId | Yes | Soroban contract ID (C...) | |
| method | Yes | Contract method name to invoke | |
| sourceAccount | Yes | Source account public key (G...) to use for simulation. | |
| args | No | List of arguments for the contract invocation. |