decodeUserAddress
@midnight-ntwrk/onchain-runtime v2.0.1
@midnight-ntwrk/onchain-runtime / decodeUserAddress
Function: decodeUserAddress()
function decodeUserAddress(addr): string
Decode a UserAddress from a Uint8Array originating from
Compact's UserAddress type
Parameters
addr
Uint8Array
Returns
string