• Typically used for decoding on-chain Semaphore messages. When Semaphore messages are text they are converted to bigints before the proof is generated (and eventually sent on-chain). This function help devs converting bigint messages to text again. If the original message was not text the output of this function won't probably be human-readable text.

    Parameters

    • message: BigNumberish

      The Semaphore message as a bigint.

    Returns string

    The Semaphore message as a text.