Oracle
On BNB Smart Chain, what was the Uniswap v4 spot price of pool 0x0ea94a7ffcec19967990d0ba02e0bd7177b24153f32e8eab2879ec35a758c8f2 the median over 5 evenly spaced blocks of the window (blocks 125140145 to 125148141, about 6 hours before 125196123), as currency0 per 1e18 raw currency1 in raw units?
Answer
1,301,721,095,472,482
the spot price of v4 pool 0x0ea9…c8f2 at the median of 5 blocks across the window: 1,301,721,095,472,482
1301721095472482 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x28e2ea090877bf75740558f6bfb36a5ffee9e9df","poolId":"0x0ea94a7ffcec19967990d0ba02e0bd7177b24153f32e8eab2879ec35a758c8f2","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
- pool
- PoolManager 0x28e2ea090877bf75740558f6bfb36a5ffee9e9df; the pool pairs native BNB with 0x55d398326f99059ff775485246999027b3197955.
- poolId
- 0x0ea94a7ffcec19967990d0ba02e0bd7177b24153f32e8eab2879ec35a758c8f2
- samples
- 5
- poolManager
- 0x28e2ea090877bf75740558f6bfb36a5ffee9e9df
Work
- pinnedblocks 125,140,145 to 125,148,141on BNB Chain
- answered143 of 143 agreed140 needed
- signed
by the attester 0x5598…2982reproduced firstexpired
Checking the signature in this browser.
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0xed3e39d25355726330c11224171fdf23160b367d859b9af0b3e554ffbab9acd714ef8a8a2d7aaadc1818b5f576ba58d751d854085ffc52b51ae576ae3572a4141b
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0x82fd3fa21c84b6c0ac700c5d3453aa20aeb4e98833132ccdb6b5e30ef22f2a2a
- answer type
- uint256
- consumer
- none named; signed for the zero address