Oracle
On Base, what was the Uniswap v4 spot price of pool 0xf13203ddbf2c9816a79b656a1a952521702715d92fea465b84ae2ed6e94a7f22 (USDC/USDT, 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
999,252,387,438.24
the spot price of v4 pool 0xf132…7f22 at the median of 9 blocks across the window: 999,252,387,438.24
999252387438245074 uint256, 6 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xf13203ddbf2c9816a79b656a1a952521702715d92fea465b84ae2ed6e94a7f22","samples":9} — write recipe exactly this.
- pool
- PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; pool 0xf13203ddbf2c9816a79b656a1a952521702715d92fea465b84ae2ed6e94a7f22: currency0 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 (6 decimals), currency1 is USDT 0xfde4c96c8593536e31f229ea8f37b2ada2699bb2 (6 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x498581ff718922c3f8e6a244956af099b2652b2b --pool-id 0xf13203ddbf2c9816a79b656a1a952521702715d92fea465b84ae2ed6e94a7f22 --samples 9
- poolId
- 0xf13203ddbf2c9816a79b656a1a952521702715d92fea465b84ae2ed6e94a7f22
- samples
- 9
- poolManager
- 0x498581ff718922c3f8e6a244956af099b2652b2b
Work
- pinnedblocks 52,212,326 to 52,214,125on Base
- answered143 of 145 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
- 0x3066aab375ba8c8896eed6cbefed8de4ab63d8853ea1f95d8b3068ab96c5975252cec66e42f9aa56b3bfbf55bd5a906c01a6eba95d4359e68e659f45c739b5621c
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0x573cf9bcdc225f4fe806d9ac38c4b340199eecfa6654415ae87eb7012b451228
- answer type
- uint256
- consumer
- none named; signed for the zero address