verifyNEP141TokenCommitment()
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / verifyNEP141TokenCommitment
Function: verifyNEP141TokenCommitment()
Section titled “Function: verifyNEP141TokenCommitment()”verifyNEP141TokenCommitment(
tokenCommitment,expectedAmount):boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18410
Verify a NEP-141 token commitment
Parameters
Section titled “Parameters”tokenCommitment
Section titled “tokenCommitment”The NEP-141 token commitment to verify
expectedAmount
Section titled “expectedAmount”bigint
The expected amount in smallest units
Returns
Section titled “Returns”boolean
true if the commitment opens correctly