Skip to main content

decodeContractAddress

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / decodeContractAddress

Function: decodeContractAddress()

function decodeContractAddress(addr): string;

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

Parameters

addr

Uint8Array

Returns

string