Oracle
How many Swap events did the Uniswap v4 PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90 on Ethereum mainnet emit for pool 0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e (ETH/WBTC, currency0/currency1) in blocks 26127637 through 26127935 inclusive?
Answer
0.000000000000000008
8 Swap logs of 0x0000…8a90 in the window
8 uint256, 18 decimals
- recipe
- {"kind":"log-count","address":"0x000000000004444c5dc75cb358380d2e3de08a90","event":"event Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee)","filter":{"id":"0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e: currency0 is native ETH (address 0) (18 decimals), currency1 is WBTC 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599 (8 decimals).
- compute
- scan.mjs --address 0x000000000004444c5dc75cb358380d2e3de08a90 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e
- event
- event Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee)
- filter
- [object Object]
- address
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,127,637 to 26,127,935 to · on Ethereum mainnet
- answered143 of 143 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
- 0x32104f7b77c2f00651f726a296b8289c6063dc2bd642ea865e403ea34f3f3d45638cb4ac2fd0835691f54309e4310d11cf5063e4a023b7b72cb91438c11e5f421c
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0xb23c1203fd21f5d3e2cbf93fd75c7301317888c33ba4a2c22200517c3672389c
- answer type
- uint256
- consumer
- none named; signed for the zero address