get_contract_source
Retrieve the source code of a smart contract by providing its name. Enables inspection and verification of deployed contracts on the Xian blockchain.
Instructions
Get the source code of a smart contract
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_name": "<contract_name>"
},
"name": "get_contract_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract_name | Yes | Name of the contract |