• True if the given status (in any of its on-chain shapes) represents STATUS_ACTIVE. Sentinel chain v3 emits status as the string "STATUS_ACTIVE" in LCD JSON, the numeric 1 in RPC protobuf, and the typed Status.STATUS_ACTIVE enum when decoded by ts-proto. This helper accepts all three so consumers don't need to remember which shape they're looking at.

    Parameters

    • s: string | number

      status value from a chain query (string, number, or Status enum)

    Returns boolean

    true if active

Generated using TypeDoc