@midnight-ntwrk/onchain-runtime v0.2.2 • Readme | API
@midnight-ntwrk/onchain-runtime v0.2.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