APR (Annual Percentage Rate)
APR is the pure annualized yield rate generated exclusively from swap fees, computed in BluePool via RPC Time-Travel on the 24h feeGrowthGlobal delta.
1. Definition & Primary Objective
Unlike static estimations or lagging volume averages, APR in BluePool is determined by the exact on-chain fee growth (`feeGrowthGlobal0X128` and `feeGrowthGlobal1X128`) between the current block and the block from 24 hours prior (RPC Time-Travel). This reflects the actual realized yield captured by active liquidity.
Provide the most accurate and auditable non-compounded annualized fee return metric in DeFi.
2. Mathematical Formulation
APR_24h = ( (Delta_FeeGrowth0 * Price0 + Delta_FeeGrowth1 * Price1) * Liquidity / PositionValueUSD ) * 365 * 100Annualized extrapolation of real 24h on-chain fee growth.
- Delta_FeeGrowth:Fee growth per unit of liquidity between blocks t and t-24h
- Price:Fiat token spot price at the current block
- PositionValueUSD:Total USD market value of tokens in the position
3. Input & Output Vectors
APR (Annual Percentage Rate) in BluePool is a real-time yield metric computed via RPC time-travel from the on-chain delta in feeGrowthGlobal over the preceding 24-hour block interval.
4. Knowledge Graph Relationships
5. Frequently Asked Questions
How is APR calculated in BluePool?
By reading the smart contract state 24h ago and comparing it to current block fee growth, BluePool determines actual realized yield instead of unreliable historical averages.