Simulate SOL transfer
simulate_transferDry-run a SOL transfer to check success, program logs, compute units, and network fee without signing or broadcasting.
Instructions
Simulates a native SOL transfer without signing or sending it. Returns whether it would succeed, program logs, compute units and the network fee.
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": {
"from": "<from>",
"to": "<to>",
"amountSol": "<amountSol>"
},
"name": "simulate_transfer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient address | |
| from | Yes | Sender address (fee payer) | |
| amountSol | Yes | Amount in SOL, e.g. "0.25" (max 9 decimals) |