Oracle
On Base, what was the Uniswap v4 spot price of pool 0xe1d05fe2b899df927bc67e5eedaccb95d06bf7c769ed68469bb773615f2401f8 (USDC/USDT, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 52216826 to 52218625, about 30 minutes before 52219525), as currency1 per 1e18 raw currency0 in raw units?
Answer
1,000,706,341,477.75
the spot price of v4 pool 0xe1d0…01f8 at the median of 9 blocks across the window: 1,000,706,341,477.75
1000706341477751167 uint256, 6 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xe1d05fe2b899df927bc67e5eedaccb95d06bf7c769ed68469bb773615f2401f8","invert":true,"samples":9} — write recipe exactly this.
- pool
- PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; pool 0xe1d05fe2b899df927bc67e5eedaccb95d06bf7c769ed68469bb773615f2401f8: currency0 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 (6 decimals), currency1 is USDT 0xfde4c96c8593536e31f229ea8f37b2ada2699bb2 (6 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x498581ff718922c3f8e6a244956af099b2652b2b --pool-id 0xe1d05fe2b899df927bc67e5eedaccb95d06bf7c769ed68469bb773615f2401f8 --invert --samples 9
- invert
- true
- poolId
- 0xe1d05fe2b899df927bc67e5eedaccb95d06bf7c769ed68469bb773615f2401f8
- samples
- 9
- poolManager
- 0x498581ff718922c3f8e6a244956af099b2652b2b
Work
- pinnedblocks 52,216,826 to 52,218,625on Base
- answered142 of 142 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
- 0xc7bde036e905db5ee88cf0a1b732adcc33fde318bfdfacaf22dbda05db4ed5a0356b45e3d6638b83574e84b799685b9297a27c46b7b900a4fbf09c7e31e8642c1c
- signed panel
- 142 agreed · quorum 140 · 200 seats
- question hash
- 0x0b69368945a1f7d6f2311e32b2f50b4b91ff9b8765fdea98c57348db371111fc
- answer type
- uint256
- consumer
- none named; signed for the zero address