Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xeda62d2906d0edf26d40c793d581609552a44a87f618a98ff76ebe8dde4b7edb (USDC/USDG, currency0/currency1) the median over 13 evenly spaced blocks of the window (blocks 26120348 to 26120646, about 1.5 hours before 26121095), as currency1 per 1e18 raw currency0 in raw units?
Answer
999,912,457,466,348,625
the spot price of v4 pool 0xeda6…7edb at the median of 13 blocks across the window: 999,912,457,466,348,625
999912457466348625 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xeda62d2906d0edf26d40c793d581609552a44a87f618a98ff76ebe8dde4b7edb","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 USDG 0xe343167631d89b6ffc58b88d6b7fb0228795491d.
- invert
- true
- poolId
- 0xeda62d2906d0edf26d40c793d581609552a44a87f618a98ff76ebe8dde4b7edb
- samples
- 13
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,120,348 to 26,120,646 to · on Ethereum mainnet
- answered142 of 142 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
- 0x59957acae005be097ccb9f2716c7ada412cab07ee942eda9edeb7d0128574f220f293964ac5d379c4af49cbb155ccb719ff19c1666c787202b09e5f4c29fa6d21c
- signed panel
- 142 agreed · quorum 140 · 200 seats
- question hash
- 0xfddee3a62d137e7ac39b51714d5909dedb9d28fa766348701d8b1af6ee1e5e91
- answer type
- uint256
- consumer
- none named; signed for the zero address