@midnight-ntwrk/midnight-js-http-client-proof-provider v0.2.5 • API
Midnight.js API Reference v0.2.5 / @midnight-ntwrk/midnight-js-http-client-proof-provider / serializeZKConfig
Function: serializeZKConfig()
serializeZKConfig<
K
>(zkConfig
?):Uint8Array
Serializes a ZKConfig using Borsh format.
Type parameters
• K extends string
Parameters
• zkConfig?: ZKConfig
<K
>
The configuration to serialize.
Returns
Uint8Array