Type alias OneInchAggregatorHelperParams
OneInchAggregatorHelperParams: { apiParamsOverrides?: Partial<OneInchSwapAPIQueryParams>; apiUrl?: string; axios?: AxiosInstance; chainId: ChainId; customHeader?: Record<string, string>; extRouter?: Address; liquiditySourcesProvider?(instance): Promise<string[]>; } Type declaration
Optional
apiUrl?: string
Optional
axios?: AxiosInstance
Optional
customHeader?: Record<string, string>
Optional
extRouter?: Address
liquiditySourcesProvider?:function
- liquiditySourcesProvider(instance): Promise<string[]>
Returns Promise<string[]>
External router to send call. Default to 1inch's AggregationRouterV5 ('0x1111111254EEB25477B68fb85Ed929f73A960582')