Oracle
On Base, what was the Uniswap v4 spot price of pool 0xb24f7fcd75c3a001b74be4c60f181c024154c4d7c33097777e3950979042b073 (tBTC/USDC, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 52212326 to 52214125, about 3 hours before 52219525), as currency0 per 1e18 raw currency1 in raw units?
Answer
11,696,762.22
the spot price of v4 pool 0xb24f…b073 at the median of 9 blocks across the window: 11,696,762.22
11696762222075759486728289 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xb24f7fcd75c3a001b74be4c60f181c024154c4d7c33097777e3950979042b073","samples":9} — write recipe exactly this.
- pool
- PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; pool 0xb24f7fcd75c3a001b74be4c60f181c024154c4d7c33097777e3950979042b073: currency0 is tBTC 0x236aa50979d5f3de3bd1eeb40e81137f22ab794b (18 decimals), currency1 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 (6 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x498581ff718922c3f8e6a244956af099b2652b2b --pool-id 0xb24f7fcd75c3a001b74be4c60f181c024154c4d7c33097777e3950979042b073 --samples 9
- poolId
- 0xb24f7fcd75c3a001b74be4c60f181c024154c4d7c33097777e3950979042b073
- samples
- 9
- poolManager
- 0x498581ff718922c3f8e6a244956af099b2652b2b
Work
- pinnedblocks 52,212,326 to 52,214,125on Base
- answered143 of 143 agreed140 needed
- signed
by the attester 0x5598…2982reproduced firstusable until
Checking the signature in this browser.
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0x1ab5063e20d8f704a0247cbb30f4318cc7485c0a8c1450bceb63c701420e2d9263ccaca01ee0fa1e8741e8aadae304260baba542773609ec65c0d3758fd1696f1c
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0xe61fc523e6e6b15ae83990c208677fc10338fc7f4c3da1c2d44eb8f73c5dde97
- answer type
- uint256
- consumer
- none named; signed for the zero address