Function toBech32

  • encode address hash to bech32 address with version and prefix

    Parameters

    • data: Buffer
    • version: number
    • prefix: string

    Returns string