estimate_deployment_cost
Calculate the storage cost for a NEAR WASM contract deployment before committing. Specify a file path, base64 bytes, or size to get an upfront cost estimate.
Instructions
Calculate the storage cost for deploying a WASM contract before actually deploying.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "estimate_deployment_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wasm_path | No | Path to the compiled WASM file | |
| wasm_base64 | No | Alternative: Base64-encoded WASM bytes | |
| wasm_size_bytes | No | Alternative: Provide WASM size directly in bytes |