Skip to content

NEP141TokenCommitment

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / NEP141TokenCommitment

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

NEP-141 token commitment with amount and token info

commitment: `0x${string}`

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

The commitment point C = vG + rH (compressed ed25519, 32 bytes)

NEARPedersenCommitment.commitment


blinding: `0x${string}`

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

The blinding factor r (32 bytes, secret) Required to open/verify the commitment

NEARPedersenCommitment.blinding


tokenContract: string

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

NEP-141 token contract address


decimals: number

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

Token decimals (e.g., 24 for NEAR, 6 for USDC)


optional amountRaw: bigint

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

Original amount in smallest units (u128)