Skip to main content

decodeContractAddress

For the complete documentation index, see llms.txt

@midnight-ntwrk/onchain-runtime v3.0.0


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