Oracle

c802fed4signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e (ETH/WBTC, currency0/currency1) at the window's last block (blocks 26126740 to 26127038, about 4 hours before 26128234), as currency0 per 1e18 raw currency1 in raw units?

Answer

316,537,414,595.96

the spot price of v4 pool 0x5993…615e at the closing block: 316,537,414,595.96

316537414595967311949258689794 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e"} — write recipe exactly this.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e: currency0 is native ETH (address 0) (18 decimals), currency1 is WBTC 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599 (8 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x000000000004444c5dc75cb358380d2e3de08a90 --pool-id 0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e
poolId
0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,126,740 to 26,127,038 to · on Ethereum mainnet
  2. answered151 of 151 agreed140 needed
    #1633316,537,414,595.96
    #1794316,537,414,595.96
    #61316,537,414,595.96
    #1681316,537,414,595.96
    #986316,537,414,595.96
    146 more
  3. 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
    0xde8235ad7d6645c19c20e79f7b7ad10b64182a7d074d471a070444877f2e73e27bb97aeb1e6dd4af9bedd589f8b2580e3dd3e48d79ae0099eb95837bfd08fc061b
    signed panel
    151 agreed · quorum 140 · 200 seats
    question hash
    0x2a7147d81c8dafc8a42cbb5d5bbbc0c7a7ef9ac9d6f6c82adb0a96470c8f8e38
    answer type
    uint256
    consumer
    none named; signed for the zero address