Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xe018f09af38956affdfeab72c2cefbcd4e6fee44d09df7525ec9dba3e51356a5 (USDC/USDT, currency0/currency1) the median over 13 evenly spaced blocks of the window (blocks 26119302 to 26119600, about 5 hours before 26121095), as currency1 per 1e18 raw currency0 in raw units?
Answer
1,000,155,240,041,820,670
the spot price of v4 pool 0xe018…56a5 at the median of 13 blocks across the window: 1,000,155,240,041,820,670
1000155240041820670 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xe018f09af38956affdfeab72c2cefbcd4e6fee44d09df7525ec9dba3e51356a5","invert":true,"samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --invert --samples 13.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7.
- invert
- true
- poolId
- 0xe018f09af38956affdfeab72c2cefbcd4e6fee44d09df7525ec9dba3e51356a5
- samples
- 13
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,119,302 to 26,119,600 to · on Ethereum mainnet
- 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
- 0xff55daf2f1dea61689033b64c0aa8a15bc543feda18a415bc05b7deb91202ddf4cefb0ad832f0dc0af8c6fc7fda37de8242dae926dd1283e072ef7565c492c6b1b
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0x36add18d8338ef11b9b73bed516f140a84bcb231494a00387487da4e14d5e2ce
- answer type
- uint256
- consumer
- none named; signed for the zero address