covenant_address
Derive the covenant P2SH address for a compiled script on 'mainnet' or 'testnet-10'. Paid (~$0.0003).
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": {
"script_hex": "<script_hex>"
},
"name": "covenant_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | mainnet | |
| script_hex | Yes |