@midnight-ntwrk/compact-runtime v0.7.0 • Readme | API
@midnight-ntwrk/compact-runtime v0.7.0 / ownPublicKey
Function: ownPublicKey()
ownPublicKey(circuitContext): EncodedCoinPublicKey
Retrieves the Zswap coin public key of the user executing the circuit.
Parameters
• circuitContext: CircuitContext
<unknown
>
The current circuit context.