Skip to main content

decodeUserAddress

For the complete documentation index, see llms.txt

@midnight-ntwrk/onchain-runtime v3.0.0


@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