Skip to content

NEP141TokenCommitment

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / NEP141TokenCommitment

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18663

NEP-141 token commitment with amount and token info

commitment: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18644

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

NEARPedersenCommitment.commitment


blinding: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18649

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

NEARPedersenCommitment.blinding


tokenContract: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18667

NEP-141 token contract address


decimals: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18671

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


optional amountRaw?: bigint

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18675

Original amount in smallest units (u128)