SolverVisibleIntent
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / SolverVisibleIntent
Interface: SolverVisibleIntent
Section titled “Interface: 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)
Properties
Section titled “Properties”intentId
Section titled “intentId”intentId:
string
Defined in: @sip-protocol/types/dist/index.d.ts:398
Intent identifier
version
Section titled “version”version:
string
Defined in: @sip-protocol/types/dist/index.d.ts:400
Protocol version
privacyLevel
Section titled “privacyLevel”privacyLevel:
string
Defined in: @sip-protocol/types/dist/index.d.ts:402
Privacy level (affects what proofs are required)
createdAt
Section titled “createdAt”createdAt:
number
Defined in: @sip-protocol/types/dist/index.d.ts:404
Intent creation timestamp
expiry
Section titled “expiry”expiry:
number
Defined in: @sip-protocol/types/dist/index.d.ts:406
Intent expiry timestamp
outputAsset
Section titled “outputAsset”outputAsset:
Asset
Defined in: @sip-protocol/types/dist/index.d.ts:408
Desired output asset (VISIBLE)
minOutputAmount
Section titled “minOutputAmount”minOutputAmount:
bigint
Defined in: @sip-protocol/types/dist/index.d.ts:410
Minimum acceptable output amount (VISIBLE)
maxSlippage
Section titled “maxSlippage”maxSlippage:
number
Defined in: @sip-protocol/types/dist/index.d.ts:412
Maximum acceptable slippage (VISIBLE)
inputCommitment
Section titled “inputCommitment”inputCommitment:
Commitment
Defined in: @sip-protocol/types/dist/index.d.ts:414
Commitment to input amount - solver cannot see actual amount
senderCommitment
Section titled “senderCommitment”senderCommitment:
Commitment
Defined in: @sip-protocol/types/dist/index.d.ts:416
Commitment to sender - solver cannot see sender identity
recipientStealthAddress
Section titled “recipientStealthAddress”recipientStealthAddress:
`0x${string}`
Defined in: @sip-protocol/types/dist/index.d.ts:418
One-time stealth address - unlinkable to recipient’s identity
ephemeralPublicKey
Section titled “ephemeralPublicKey”ephemeralPublicKey:
`0x${string}`
Defined in: @sip-protocol/types/dist/index.d.ts:420
Ephemeral public key for stealth derivation
fundingProof
Section titled “fundingProof”fundingProof:
ZKProof
Defined in: @sip-protocol/types/dist/index.d.ts:422
Funding proof (proves sufficient balance without revealing amount)
validityProof
Section titled “validityProof”validityProof:
ZKProof
Defined in: @sip-protocol/types/dist/index.d.ts:424
Validity proof (proves intent is well-formed)