Skip to content

OneClickQuoteRequest

SIP Protocol API Reference v0.7.0


SIP Protocol API Reference / OneClickQuoteRequest

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

Quote request parameters for POST /v0/quote

optional dry: boolean

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

Preview only, no deposit address generated


swapType: OneClickSwapType

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

How to calculate the swap


slippageTolerance: number

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

Slippage tolerance in basis points (100 = 1%), required


originAsset: string

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

Source asset identifier (NEP-141 format)


destinationAsset: string

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

Destination asset identifier (NEP-141 format)


amount: string

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

Amount in smallest units (input or output depending on swapType)


refundTo: string

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

Address for refunds on failed swaps (format must match refundType)


recipient: string

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

Destination address for output tokens (format must match recipientType)


depositType: string

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

Where user deposits tokens


refundType: string

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

Where refunds go on failure


recipientType: string

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

Where output tokens are sent


deadline: string

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

ISO 8601 timestamp for automatic refund trigger (required)


optional depositMode: OneClickDepositMode

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

Deposit mode


optional appFees: OneClickAppFee[]

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

Optional app-level fees