@algorandfoundation/algokit-subscriber / types/subscription / BlockUpgradeState
types/subscription.BlockUpgradeState
• currentProtocol: string
Current protocol version
• Optional nextProtocol: string
The next proposed protocol version.
• Optional nextProtocolApprovals: bigint
Number of blocks which approved the protocol upgrade.
• Optional nextProtocolSwitchOn: bigint
Round on which the protocol upgrade will take effect.
• Optional nextProtocolVoteBefore: bigint
Deadline round for this protocol upgrade (No votes will be consider after this round).