Oracle
On BNB Smart Chain, what was the Uniswap v4 spot price of pool 0xdb4c4d91f12ce76f5c9ac0eae193cf3b4d6684cd5f09bf35d03dd9ae6d8a43b1 the median over 5 evenly spaced blocks of the window (blocks 125180130 to 125188126, about 1 hour before 125196123), as currency0 per 1e18 raw currency1 in raw units?
Answer
299,564,533,538,547
the spot price of v4 pool 0xdb4c…43b1 at the median of 5 blocks across the window: 299,564,533,538,547
299564533538547 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x28e2ea090877bf75740558f6bfb36a5ffee9e9df","poolId":"0xdb4c4d91f12ce76f5c9ac0eae193cf3b4d6684cd5f09bf35d03dd9ae6d8a43b1","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
- pool
- PoolManager 0x28e2ea090877bf75740558f6bfb36a5ffee9e9df; the pool pairs native BNB with 0xc8fb80fcc03f699c70ff0cc08c09106288888888.
- poolId
- 0xdb4c4d91f12ce76f5c9ac0eae193cf3b4d6684cd5f09bf35d03dd9ae6d8a43b1
- samples
- 5
- poolManager
- 0x28e2ea090877bf75740558f6bfb36a5ffee9e9df
Work
- pinnedblocks 125,180,130 to 125,188,126on BNB Chain
- answered145 of 146 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
- 0x2ca4bda77b14c513ac528db22684dfb13b55b1fcc0c1b0a61c4e637b3a2ee51a2393a2b544c5289fc450262fa7511934720892f434b53858d4290ec1bb251c531c
- signed panel
- 145 agreed · quorum 140 · 200 seats
- question hash
- 0x2ea9c43d21fe2cf3210c47c72c9b249cd04c9145423fce28e11a10c53e40df02
- answer type
- uint256
- consumer
- none named; signed for the zero address