verifyOpeningNEAR()
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / verifyOpeningNEAR
Function: verifyOpeningNEAR()
Section titled “Function: verifyOpeningNEAR()”verifyOpeningNEAR(
commitment,value,blinding):boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18381
Verify that a commitment opens to a specific value
Parameters
Section titled “Parameters”commitment
Section titled “commitment”`0x${string}`
The commitment point to verify
bigint
The claimed value
blinding
Section titled “blinding”`0x${string}`
The blinding factor used
Returns
Section titled “Returns”boolean
true if the commitment opens correctly