Get Policy ID
cardano_transaction_policyidCompute the policy ID from a minting policy script file. Provide the script path to get the hex-encoded policy ID for Cardano native assets.
Instructions
Compute the policy ID from a minting policy script file.
Args:
script_file (string): Path to the minting policy script file
Returns: The policy ID as hex string.
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_file": "<script_file>"
},
"name": "cardano_transaction_policyid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_file | Yes | Path to the minting policy script file |