sdl_get_contract_source
Fetch the verified Solidity source for a live stake.link contract from Sourcify.
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": "<contract>"
},
"name": "sdl_get_contract_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract | Yes | Contract id, name, or address. | |
| file_path | No | Optional specific Solidity file path. | |
| include_all_files | No | Include all verified source files. |