Skip to content

verifyNEP141TokenCommitment()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / verifyNEP141TokenCommitment

verifyNEP141TokenCommitment(tokenCommitment, expectedAmount): boolean

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18410

Verify a NEP-141 token commitment

NEP141TokenCommitment

The NEP-141 token commitment to verify

bigint

The expected amount in smallest units

boolean

true if the commitment opens correctly