@midnight/ledger v3.0.2 • Readme | API
@midnight/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