Skip to content

verifyOpeningNEAR()

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / verifyOpeningNEAR

verifyOpeningNEAR(commitment, value, blinding): boolean

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18717

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