
Spark · Reads onchain state
Reads the price the market's own oracle assigns to an asset. Every Aave market prices assets through its own oracle, and that number is the one the pool uses when it decides what your collateral is worth and when it liquidates. Reading it here gives you the exact figure the protocol is about to act on, inside the same transaction that acts on it, not a screenshot from a price site or a number that was true a block ago. Reach for it whenever a strategy has to convert between a dollar amount and a token amount before it does something: sizing a supply so it lands at a target health factor, capping a repay at what the debt is actually worth, deciding whether a position has drifted far enough to rebalance. Anywhere the words "worth" or "value" appear in a plan, this is the read that makes the rest of the plan arithmetic.
On other protocols · 8