Serializes a GovernanceActionId object into its Bech32 string representation.
This function converts a structured GovernanceActionId object (containing a transaction ID
and action index) into its CIP-129 formatted Bech32 string (e.g., "gov_action1...").
Serializes a GovernanceActionId object into its Bech32 string representation.
This function converts a structured GovernanceActionId object (containing a transaction ID and action index) into its CIP-129 formatted Bech32 string (e.g., "gov_action1...").
Throws
Throws an error if the serialization fails.
See
https://cips.cardano.org/cip/CIP-129|CIP-129 for the official specification.
Example