stellar_contract_fetch
Fetch a Stellar smart contract's WASM binary by contract ID and network, optionally saving it to a file for deployment, audit, or offline analysis.
Instructions
Fetch a contract's WASM binary from the network
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": {
"contract_id": "<contract_id>",
"network": "<network>"
},
"name": "stellar_contract_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes | Stellar network | |
| out_file | No | Path to save the fetched WASM file | |
| contract_id | Yes | Contract ID to fetch WASM for |