File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/swapService/strategies/balmySDK/sources Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ export class CustomOpenOceanQuoteSource extends AlwaysValidConfigAndContextSourc
120
120
const legacyGasPrice = eip1159ToLegacy ( gasPriceResult )
121
121
const gasPrice = Number . parseFloat ( formatUnits ( legacyGasPrice , 9 ) )
122
122
const amount = formatUnits ( order . sellAmount , sellTokenDataResult . decimals )
123
- const { chainKey , nativeAsset } = SUPPORTED_CHAINS [ chainId ]
123
+ const { nativeAsset } = SUPPORTED_CHAINS [ chainId ]
124
124
const native = nativeAsset ?? Addresses . NATIVE_TOKEN
125
125
const queryParams = {
126
126
inTokenAddress : isSameAddress ( sellToken , Addresses . NATIVE_TOKEN )
@@ -140,7 +140,7 @@ export class CustomOpenOceanQuoteSource extends AlwaysValidConfigAndContextSourc
140
140
skipNulls : true ,
141
141
arrayFormat : "comma" ,
142
142
} )
143
- const url = `https://open-api-pro.openocean.finance/v3/${ chainKey } /swap_quote?${ queryString } `
143
+ const url = `https://open-api-pro.openocean.finance/v3/${ chainId } /swap_quote?${ queryString } `
144
144
const headers : Record < string , string > = { }
145
145
if ( config . apiKey ) {
146
146
headers [ "apikey" ] = config . apiKey
You can’t perform that action at this time.
0 commit comments