Skip to main content

decodeContractAddress

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.15.0


@midnight-ntwrk/compact-runtime / decodeContractAddress

Function: decodeContractAddress()

function decodeContractAddress(addr): string;

Decode a ContractAddress from a Uint8Array originating from Compact's ContractAddress type

Parameters

addr

Uint8Array

Returns

string