Skip to main content

QuotePreferences

Hierarchy​

Table of contents​

Properties​

Properties​

bridgeWithGas​

• Optional bridgeWithGas: boolean

include gas transfer with bridging tx

Defined in​

socket-v2-sdk/src/client/models/QuoteRequest.ts:20


disableSwapping​

• Optional disableSwapping: boolean

Flag to specify if routes that have dex swap should be ignored.

Inherited from​

SocketPreferences.disableSwapping

Defined in​

socket-v2-sdk/src/client/models/SocketPreferences.ts:5


excludeBridges​

• Optional excludeBridges: BridgeName[]

Specify Bridges that should be excluded in routes. This option will be ignored if includeBridges is specified.

Inherited from​

SocketPreferences.excludeBridges

Defined in​

socket-v2-sdk/src/client/models/SocketPreferences.ts:15


excludeDexes​

• Optional excludeDexes: Dexes[]

Specify Dexes that should be excluded in routes. This option will be ignored if includeDexes is specified.

Inherited from​

SocketPreferences.excludeDexes

Defined in​

socket-v2-sdk/src/client/models/SocketPreferences.ts:10


includeBridges​

• Optional includeBridges: BridgeName[]

Specify Bridges that should be included in routes.

Inherited from​

SocketPreferences.includeBridges

Defined in​

socket-v2-sdk/src/client/models/SocketPreferences.ts:12


includeDexes​

• Optional includeDexes: Dexes[]

Specify Dexes that should be included in routes.

Inherited from​

SocketPreferences.includeDexes

Defined in​

socket-v2-sdk/src/client/models/SocketPreferences.ts:7


isContractCall​

• Optional isContractCall: boolean

Only get quotes with that are compatible with contracts

Defined in​

socket-v2-sdk/src/client/models/QuoteRequest.ts:18


maxUserTxs​

• Optional maxUserTxs: string

Maximum number of transactions. This option will be ignored if singleTxOnly is marked as true.

Defined in​

socket-v2-sdk/src/client/models/QuoteRequest.ts:16


singleTxOnly​

• Optional singleTxOnly: boolean

Only get quotes with one user transaction to bridge.

Inherited from​

SocketPreferences.singleTxOnly

Defined in​

socket-v2-sdk/src/client/models/SocketPreferences.ts:17


sort​

• Optional sort: SortOptions

Param to sort routes based on.

Defined in​

socket-v2-sdk/src/client/models/QuoteRequest.ts:13


uniqueRoutesPerBridge​

• Optional uniqueRoutesPerBridge: boolean

Flag to return only best route per bridge using the sort criteria

Defined in​

socket-v2-sdk/src/client/models/QuoteRequest.ts:11