verifyNEP141TokenCommitment()
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / verifyNEP141TokenCommitment
Function: verifyNEP141TokenCommitment()
Section titled “Function: verifyNEP141TokenCommitment()”verifyNEP141TokenCommitment(
tokenCommitment,expectedAmount):boolean
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18746
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