stellar_contract_upload
Upload a WASM file to the Stellar ledger without creating a contract instance, useful for staging contract code before deployment.
Instructions
Upload a WASM file to the ledger without creating a contract instance
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": {
"source_account": "<source_account>",
"wasm": "<wasm>",
"network": "<network>"
},
"name": "stellar_contract_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee | No | Transaction fee in stroops | |
| wasm | Yes | Path to WASM file to upload | |
| network | Yes | Stellar network | |
| build_only | No | Only build transaction, do not submit | |
| ignore_checks | No | Ignore safety checks | |
| source_account | Yes | Account that will upload the WASM |