Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Commit 6e76be0

Browse files
committed
removed unused price fetch
1 parent 189c766 commit 6e76be0

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

ts/utils/api_client.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -108,19 +108,4 @@ export class APIClient {
108108
);
109109
return result;
110110
}
111-
112-
public async getETHZRXPricesAsync(): Promise<ETHZRXPriceResponse> {
113-
const resultETH = await fetchUtils.requestAsync(
114-
utils.getAPIBaseUrl(this.networkId),
115-
'/swap/v1/price?sellToken=ETH&buyToken=DAI&sellAmount=1000000000000000000',
116-
);
117-
const resultZRX = await fetchUtils.requestAsync(
118-
utils.getAPIBaseUrl(this.networkId),
119-
'/swap/v1/price?sellToken=ZRX&buyToken=DAI&sellAmount=1000000000000000000',
120-
);
121-
return {
122-
eth: resultETH,
123-
zrx: resultZRX,
124-
};
125-
}
126111
}

0 commit comments

Comments
 (0)