AtomicQueryMTPV2OnChainPubSignals.pubSignalsUnmarshal() method
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
// PubSignalsUnmarshal unmarshal credentialAtomicQueryMTPV2OnChain.circom public signals array to AtomicQueryMTPPubSignals
Signature:
pubSignalsUnmarshal(data: Uint8Array): AtomicQueryMTPV2OnChainPubSignals;
Parameters
Parameter | Type | Description |
---|---|---|
data | Uint8Array |
Returns:
AtomicQueryMTPV2OnChainPubSignals
AtomicQuerySigV2PubSignals