stellar_contract_info
Retrieve Stellar contract interface, metadata, environment metadata, or build details using contract ID, WASM hash, or local WASM file.
Instructions
Get information about a contract (interface, metadata, etc.)
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": {
"info_type": "<info_type>"
},
"name": "stellar_contract_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wasm | No | Path to local WASM file | |
| output | No | Output format | |
| network | No | Network for fetching contract | |
| info_type | Yes | Type of information to retrieve | |
| wasm_hash | No | Hash of WASM on network | |
| contract_id | No | Contract ID on network |