Oracle
On Base, what was the Uniswap v4 spot price of pool 0xb21769526e3a0814752628ec6c6e08efc883a025a18c64ee3ad376aa67728a18 (USDC/NVDAc, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 52213226 to 52215025, about 2.5 hours before 52219525), as currency1 per 1e18 raw currency0 in raw units?
Answer
424,207,494,374.91
the spot price of v4 pool 0xb217…8a18 at the median of 5 blocks across the window: 424,207,494,374.91
424207494374916474 uint256, 6 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xb21769526e3a0814752628ec6c6e08efc883a025a18c64ee3ad376aa67728a18","invert":true,"samples":5} — write recipe exactly this.
- pool
- PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; pool 0xb21769526e3a0814752628ec6c6e08efc883a025a18c64ee3ad376aa67728a18: currency0 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 (6 decimals), currency1 is NVDAc 0xb20000000000000000000078ee7ce2fe4908108c (8 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x498581ff718922c3f8e6a244956af099b2652b2b --pool-id 0xb21769526e3a0814752628ec6c6e08efc883a025a18c64ee3ad376aa67728a18 --invert --samples 5
- invert
- true
- poolId
- 0xb21769526e3a0814752628ec6c6e08efc883a025a18c64ee3ad376aa67728a18
- samples
- 5
- poolManager
- 0x498581ff718922c3f8e6a244956af099b2652b2b
Work
- pinnedblocks 52,213,226 to 52,215,025on Base
- answered140 of 140 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
- 0x4d0de64fb2cfea058f52f0b22a081920dda78707c174ec3fd43f91e9e9f0e2cb76490c348473310394a64427f0c6148c69524d197e0a23be2fd73cca31fc1db91b
- signed panel
- 140 agreed · quorum 140 · 200 seats
- question hash
- 0x7bffc544a2ea4abe7eed222bc7ea4cb57a8dc086711de30fba383f0479bcc82d
- answer type
- uint256
- consumer
- none named; signed for the zero address