add oracle price to params response
This commit is contained in:
@@ -1038,6 +1038,7 @@ const main = async (): Promise<void> => {
|
|||||||
entryPrice: result.data.estimatedPrices.entryPrice.toString(),
|
entryPrice: result.data.estimatedPrices.entryPrice.toString(),
|
||||||
bestPrice: result.data.estimatedPrices.bestPrice.toString(),
|
bestPrice: result.data.estimatedPrices.bestPrice.toString(),
|
||||||
worstPrice: result.data.estimatedPrices.worstPrice.toString(),
|
worstPrice: result.data.estimatedPrices.worstPrice.toString(),
|
||||||
|
oraclePrice: result.data.estimatedPrices.oraclePrice.toString(),
|
||||||
priceImpact: BigNum.from(
|
priceImpact: BigNum.from(
|
||||||
result.data.estimatedPrices.priceImpact,
|
result.data.estimatedPrices.priceImpact,
|
||||||
PRICE_PRECISION_EXP
|
PRICE_PRECISION_EXP
|
||||||
|
|||||||
Reference in New Issue
Block a user