Skip to main content

decodeCoinPublicKey

For the complete documentation index, see llms.txt

@midnight-ntwrk/onchain-runtime v3.0.0


@midnight-ntwrk/onchain-runtime / decodeCoinPublicKey

Function: decodeCoinPublicKey()

function decodeCoinPublicKey(pk): string

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

Parameters​

pk​

Uint8Array

Returns​

string