FindBestRouteParams
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / FindBestRouteParams
Interface: FindBestRouteParams
Section titled “Interface: FindBestRouteParams”Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4694
Route finding parameters
Properties
Section titled “Properties”from:
object
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4696
Source chain and token
chain:
ChainId
token:
string
to:
object
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4701
Destination chain and token
chain:
ChainId
token:
string
amount
Section titled “amount”amount:
bigint
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4706
Amount to swap (in smallest units)
privacyLevel
Section titled “privacyLevel”privacyLevel:
PrivacyLevel
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4708
Privacy level
preferSpeed?
Section titled “preferSpeed?”
optionalpreferSpeed:boolean
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4710
Prefer speed over cost (default: false)
preferLowFees?
Section titled “preferLowFees?”
optionalpreferLowFees:boolean
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4712
Prefer low fees over speed (default: true)
recipientMetaAddress?
Section titled “recipientMetaAddress?”
optionalrecipientMetaAddress:string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4714
Additional quote parameters
senderAddress?
Section titled “senderAddress?”
optionalsenderAddress:string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4715
slippageTolerance?
Section titled “slippageTolerance?”
optionalslippageTolerance:number
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4716
deadline?
Section titled “deadline?”
optionaldeadline:number
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4717