Oracle
On Base, what was the Uniswap v4 spot price of pool 0xaf15cd1f9c3874bbcfddfc2b544544612c9de8c8bae28ba21c129c6b286c1e19 (ETH/USDC, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 52172948 to 52174747, about 1 hour before 52176547), as currency0 per 1e18 raw currency1 in raw units?
Answer
370,123,324.35 ETH
the spot price of v4 pool 0xaf15…1e19 at the median of 5 blocks across the window: 370,123,324.35 ETH
370123324357117119203958161 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xaf15cd1f9c3874bbcfddfc2b544544612c9de8c8bae28ba21c129c6b286c1e19","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
- pool
- PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; currency0 is native ETH (address 0), currency1 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913.
- poolId
- 0xaf15cd1f9c3874bbcfddfc2b544544612c9de8c8bae28ba21c129c6b286c1e19
- samples
- 5
- poolManager
- 0x498581ff718922c3f8e6a244956af099b2652b2b
Work
- pinnedblocks 52,172,948 to 52,174,747on Base
- answered141 of 141 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
- 0xb53bbd2f8f82bca26991632a285914164d6bde8e1a722a46f353935a5eb9263c6f31853e92f2aa146159545ac7aae91571dba8217c80fcfc5ba2141491820bc41b
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0x5d3bcb5f9fc7744fafda9ccb516a4872acc804a52270fe1da431817982da3ae0
- answer type
- uint256
- consumer
- none named; signed for the zero address