Skip to content

verifyOpeningNEAR()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / 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

`0x${string}`

The commitment point to verify

bigint

The claimed value

`0x${string}`

The blinding factor used

boolean

true if the commitment opens correctly