Deserializes a Bech32-encoded governance action ID string into a GovernanceActionId object.
This function parses a governance action ID string (e.g., "gov_action1...") according to the
CIP-129 specification and returns a structured object
containing the transaction ID and action index.
Throws
Throws an error if the Bech32 string is malformed or invalid.
Deserializes a Bech32-encoded governance action ID string into a GovernanceActionId object.
This function parses a governance action ID string (e.g., "gov_action1...") according to the CIP-129 specification and returns a structured object containing the transaction ID and action index.
Throws
Throws an error if the Bech32 string is malformed or invalid.
See
https://cips.cardano.org/cip/CIP-129|CIP-129 for the official specification.
Example