Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xd52eb9285b87e38e3c228b4e339bfe15f24888953966085cd25a2f6403a95326 (XAUt/USDT, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 26119302 to 26119600, about 5 hours before 26121095), as currency0 per 1e18 raw currency1 in raw units?
Answer
241,432,796,216,066
the spot price of v4 pool 0xd52e…5326 at the median of 5 blocks across the window: 241,432,796,216,066
241432796216066 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xd52eb9285b87e38e3c228b4e339bfe15f24888953966085cd25a2f6403a95326","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is XAUt 0x68749665ff8d2d112fa859aa293f07a622782f38, currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7.
- poolId
- 0xd52eb9285b87e38e3c228b4e339bfe15f24888953966085cd25a2f6403a95326
- samples
- 5
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,119,302 to 26,119,600 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
- 0x32c8a29c98090e63a857b2adf9f08b6c52a64d522fed70f1d400283d5b6b712c3f26cd7e9875416a9c874d014fbcd7e4414496146425ddbacf2a01129111cb611c
- signed panel
- 142 agreed · quorum 140 · 200 seats
- question hash
- 0x85480aef9c251772e4b6b520169635acff73d6007c2d747516e45f641b1acf64
- answer type
- uint256
- consumer
- none named; signed for the zero address