Skip to main content

decodeCoinPublicKey

For the complete documentation index, see llms.txt

@midnight-ntwrk/ledger v3.0.2 • Readme | API


@midnight-ntwrk/ledger v3.0.2 / decodeCoinPublicKey

Function: decodeCoinPublicKey()

decodeCoinPublicKey(pk): CoinPublicKey

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

Parameters​

• pk: Uint8Array

Returns​

CoinPublicKey