Skip to main content

encodeUserAddress

For the complete documentation index, see llms.txt

@midnight-ntwrk/onchain-runtime v3.0.0


@midnight-ntwrk/onchain-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