Skip to main content

encodeCoinPublicKey

For the complete documentation index, see llms.txt

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


@midnight-ntwrk/ledger v3.0.2 / encodeCoinPublicKey

Function: encodeCoinPublicKey()

encodeCoinPublicKey(pk): Uint8Array

Encode a CoinPublicKey into a Uint8Array for use in Compact's CoinPublicKey type

Parameters​

• pk: string

Returns​

Uint8Array