Skip to main content

encodeUserAddress

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.19.0


@midnight-ntwrk/compact-runtime / encodeUserAddress

Function: encodeUserAddress()

function encodeUserAddress(addr): Uint8Array;

Encode a UserAddress into a Uint8Array for use in Compact's UserAddress type

Parameters

addr

string

Returns

Uint8Array