Skip to main content
Version: Next

emulator.emulator.getgovernanceproposalstatus

Home > @blaze-cardano/emulator > Emulator > getGovernanceProposalStatus

Emulator.getGovernanceProposalStatus() method

Returns the lifecycle status for a governance action, if the emulator is tracking it.

Signature:

getGovernanceProposalStatus(actionId: GovernanceActionId | SerialisedGovId): ProposalStatus | undefined;

Parameters

Parameter

Type

Description

actionId

GovernanceActionId | SerialisedGovId

Identifier of the governance action.

Returns:

ProposalStatus | undefined

{ProposalStatus | undefined} Current status if available.