Skip to content

NEP141TokenCommitment

SIP Protocol API Reference v0.12.0


SIP Protocol API Reference / NEP141TokenCommitment

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18627

NEP-141 token commitment with amount and token info

commitment: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18608

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

NEARPedersenCommitment.commitment


blinding: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18613

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

NEARPedersenCommitment.blinding


tokenContract: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18631

NEP-141 token contract address


decimals: number

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18635

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


optional amountRaw?: bigint

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18639

Original amount in smallest units (u128)