Get DRep ID
cardano_governance_drep_idExtract a Cardano DRep ID from a DRep verification key file, returning it in bech32 or hex format for governance identification.
Instructions
Get the DRep ID from a verification key file.
Args:
drep_verification_key_file (string): Path to DRep verification key file
output_format (string, optional): Output format: "bech32" (default) or "hex"
Returns: The DRep ID.
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": {
"drep_verification_key_file": "<drep_verification_key_file>"
},
"name": "cardano_governance_drep_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_format | No | Output format | bech32 |
| drep_verification_key_file | Yes | Path to DRep verification key file |