• Takes a string or binary encoded github.com/cosmos/cosmos-sdk/types.Dec from the protobuf API and converts it into a Decimal with 18 fractional digits.

    See https://github.com/cosmos/cosmos-sdk/issues/10863 for more context why this is needed.

    Parameters

    • input: string | Uint8Array

    Returns Decimal

Generated using TypeDoc