add oracle price to params response

This commit is contained in:
Nick Caradonna
2025-07-24 15:21:16 -04:00
parent 2f7654d95e
commit f0cefe9a69

View File

@@ -1038,6 +1038,7 @@ const main = async (): Promise<void> => {
entryPrice: result.data.estimatedPrices.entryPrice.toString(),
bestPrice: result.data.estimatedPrices.bestPrice.toString(),
worstPrice: result.data.estimatedPrices.worstPrice.toString(),
oraclePrice: result.data.estimatedPrices.oraclePrice.toString(),
priceImpact: BigNum.from(
result.data.estimatedPrices.priceImpact,
PRICE_PRECISION_EXP