decode

fun decode(bech32String: String): Pair<String, ByteArray>

Decodes a Bech32m string.

Return

Pair of (hrp, data bytes)

Parameters

bech32String

Bech32m encoded string

Throws

if string is invalid