Function decodeCashAddressVersionByte
- decodeCashAddressVersionByte(version): reservedBitSet | {
length: 32 | 64 | 20 | 24 | 28 | 40 | 48 | 56;
typeBits: number;
} Returns reservedBitSet | {
length: 32 | 64 | 20 | 24 | 28 | 40 | 48 | 56;
typeBits: number;
}
Decode a CashAddress version byte. For a list of known versions, see CashAddressVersionByte.
For the reverse, see encodeCashAddressVersionByte.