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 26119601 to 26119899, about 4 hours before 26121095), as currency0 per 1e18 raw currency1 in raw units?
Answer
241,324,337,534,319
the spot price of v4 pool 0xd52e…5326 at the median of 5 blocks across the window: 241,324,337,534,319
241324337534319 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,601 to 26,119,899 to · on Ethereum mainnet
- answered144 of 144 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
- 0x01a0d4a014b2390236250c7aa0538726a3e34fccc55180b54ab9cc9288dc47024e09ea3eccea389aa7971c8b107ad19149a70f27ab13ab444f67a4d708f6425e1c
- signed panel
- 144 agreed · quorum 140 · 200 seats
- question hash
- 0xfed9f9c04090d77bedb134b13e96ed10567c9e2bc99724196a645c3a312ea10d
- answer type
- uint256
- consumer
- none named; signed for the zero address