Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xe500210c7ea6bfd9f69dce044b09ef384ec2b34832f132baec3b418208e3a657 (USDC/WETH, currency0/currency1) at the window's last block (blocks 26127487 to 26127785, about 1.5 hours before 26128234), as currency0 per 1e18 raw currency1 in raw units?
Answer
2,702.23
the spot price of v4 pool 0xe500…a657 at the closing block: 2,702.23
2702235296 uint256, 6 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xe500210c7ea6bfd9f69dce044b09ef384ec2b34832f132baec3b418208e3a657"} — write recipe exactly this.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0xe500210c7ea6bfd9f69dce044b09ef384ec2b34832f132baec3b418208e3a657: currency0 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 (6 decimals), currency1 is WETH 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 (18 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x000000000004444c5dc75cb358380d2e3de08a90 --pool-id 0xe500210c7ea6bfd9f69dce044b09ef384ec2b34832f132baec3b418208e3a657
- poolId
- 0xe500210c7ea6bfd9f69dce044b09ef384ec2b34832f132baec3b418208e3a657
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,127,487 to 26,127,785 to · on Ethereum mainnet
- answered141 of 141 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
- 0x51152299037151203568654988af08dbc8fc208e2e516738d350fca681a576e55e8f95ce6eed9d7ae978ad0e4c5d91e8a8f69a5a30c4bb712f5c04336fe695291b
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0x2fb7ef36f67b45fcacde0e8508c35ea41eb481be037d8a4760be35ce2668d3ef
- answer type
- uint256
- consumer
- none named; signed for the zero address