Skip to main content

TokenListRequest

Hierarchy​

Table of contents​

Properties​

Properties​

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


fromChainId​

• fromChainId: number

Id of source chain, e.g Optimism = 10

Defined in​

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


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


isShortList​

• Optional isShortList: boolean

To be Marked true if you want the shorter and more efficient token list.

Defined in​

socket-v2-sdk/src/client/models/TokenListRequest.ts:9


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


toChainId​

• toChainId: number

Id of destination chain, e.g xDAI = 100

Defined in​

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