Skip to content

verifyOpeningNEAR()

SIP Protocol API Reference v0.12.0


SIP Protocol API Reference / verifyOpeningNEAR

verifyOpeningNEAR(commitment, value, blinding): boolean

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18681

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