Skip to content

SolverVisibleIntent

SIP Protocol API Reference v0.7.0


SIP Protocol API Reference / SolverVisibleIntent

Defined in: @sip-protocol/types/dist/index.d.ts:396

What solvers can see from a ShieldedIntent

This type represents the PUBLIC view of an intent that solvers receive when evaluating whether to provide a quote.

Privacy guarantees:

  • Sender identity: HIDDEN (only commitment visible)
  • Input amount: HIDDEN (only commitment visible)
  • Recipient: ONE-TIME stealth address (unlinkable)
  • Output requirements: VISIBLE (needed for quoting)

intentId: string

Defined in: @sip-protocol/types/dist/index.d.ts:398

Intent identifier


version: string

Defined in: @sip-protocol/types/dist/index.d.ts:400

Protocol version


privacyLevel: string

Defined in: @sip-protocol/types/dist/index.d.ts:402

Privacy level (affects what proofs are required)


createdAt: number

Defined in: @sip-protocol/types/dist/index.d.ts:404

Intent creation timestamp


expiry: number

Defined in: @sip-protocol/types/dist/index.d.ts:406

Intent expiry timestamp


outputAsset: Asset

Defined in: @sip-protocol/types/dist/index.d.ts:408

Desired output asset (VISIBLE)


minOutputAmount: bigint

Defined in: @sip-protocol/types/dist/index.d.ts:410

Minimum acceptable output amount (VISIBLE)


maxSlippage: number

Defined in: @sip-protocol/types/dist/index.d.ts:412

Maximum acceptable slippage (VISIBLE)


inputCommitment: Commitment

Defined in: @sip-protocol/types/dist/index.d.ts:414

Commitment to input amount - solver cannot see actual amount


senderCommitment: Commitment

Defined in: @sip-protocol/types/dist/index.d.ts:416

Commitment to sender - solver cannot see sender identity


recipientStealthAddress: `0x${string}`

Defined in: @sip-protocol/types/dist/index.d.ts:418

One-time stealth address - unlinkable to recipient’s identity


ephemeralPublicKey: `0x${string}`

Defined in: @sip-protocol/types/dist/index.d.ts:420

Ephemeral public key for stealth derivation


fundingProof: ZKProof

Defined in: @sip-protocol/types/dist/index.d.ts:422

Funding proof (proves sufficient balance without revealing amount)


validityProof: ZKProof

Defined in: @sip-protocol/types/dist/index.d.ts:424

Validity proof (proves intent is well-formed)