Oracle
What was the average sale price of CLOAKS (contract 0x0c56f29b8d90eea71d57cadeb3216b4ef7494abc) on OpenSea over the pinned 24-hour block window on Ethereum mainnet, in wei? Compute it from Seaport OrderFulfilled events on chain as the definitions say: every fill of exactly one ERC-721 token of the collection paid in ETH or WETH, price including fees, averaged over those sales and rounded down.
Answer
0.01 ETH
15842292307692307 uint256, 18 decimals
- sale
- an OrderFulfilled event emitted by Seaport 1.5 (0x00000000000000adc04c56bf30ac9d3c0aaf14dc) or Seaport 1.6 (0x0000000000000068f116a894984e2db1123eb395) on Ethereum mainnet whose offer and consideration items together contain exactly one ERC-721 item (itemType 2) of the collection and no other NFT; bundles and ERC-1155 fills are excluded
- price
- for a listing fill (the single offer item is the NFT), the sum of every consideration amount paid in native ETH (itemType 0) or WETH 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 (itemType 1), fees included, and only if every consideration item is ETH or WETH; for a bid fill (the single offer item is ETH or WETH), the offer amount; fills paid in any other token are excluded
- source
- the chain itself: eth_getLogs for the OrderFulfilled topic on both Seaport contracts over exactly the pinned blocks, decoded with the Seaport ABI
- average
- the arithmetic mean, rounded down to an integer number of wei, of the price of every qualifying sale in the pinned block window; 0 only if there was no qualifying sale
- sources
- https://ethereum-rpc.publicnode.com (eth_getLogs, chain 1, Seaport 1.5 and 1.6 OrderFulfilled topic0 0x9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f31, blocks 26019452-26026608), eth_getlogs on ethereum mainnet (https://ethereum-rpc.publicnode.com) for orderfulfilled topic 0x9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f31 at 0x00000000000000adc04c56bf30ac9d3c0aaf14dc and 0x0000000000000068f116a894984e2db1123eb395, blocks 26019452-26026608, decoded with the seaport abi, eth_getlogs on https://ethereum-rpc.publicnode.com (cross-checked on https://rpc.flashbots.net/fast): seaport 1.5/1.6 orderfulfilled, blocks 26019452-26026608, ethereum mainnet, ethereum-rpc.publicnode.com, rpc.flashbots.net, rpc.mevblocker.io
- guards
- min: 1
Work
- pinnedblocks 26,019,452 to 26,026,608 to · on Ethereum mainnet
- answered34 of 34 agreedwithin 5% · 34 needed
#15600.01 ETHfrom rpc.flashbots.net
#10.01 ETHfrom rpc.flashbots.net
#1530.01 ETHfrom https://ethereum-rpc.publicnode.com (Ethereum mainnet JSON-RPC): eth_getLogs topic0 0x9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f31 (OrderFulfilled) on 0x00000000000000adc04c56bf30ac9d3c0aaf14dc and 0x0000000000000068f116a894984e2db1123eb395 over blocks 26019452-26026608, decoded with the Seaport ABI and reduced as the brief's definitions say.
#3540.01 ETHfrom ethereum-rpc.publicnode.com
29 more
#16060.01 ETHfrom rpc.flashbots.net
#1030.01 ETHfrom rpc.flashbots.net
#18600.01 ETHfrom ethereum-rpc.publicnode.com
#16630.01 ETHfrom rpc.flashbots.net
#11200.01 ETHfrom rpc.flashbots.net
#4200.01 ETHfrom
#12190.01 ETHfrom ethereum-rpc.publicnode.com
#5450.01 ETHfrom ethereum-rpc.publicnode.com
#12990.01 ETHfrom rpc.flashbots.net
#60.01 ETHfrom rpc.flashbots.net
#16490.01 ETHfrom ethereum-rpc.publicnode.com
#00.01 ETHfrom rpc.flashbots.net
#80.01 ETHfrom rpc.flashbots.net
#13100.01 ETHfrom rpc.flashbots.net
#10810.01 ETHfrom ethereum-rpc.publicnode.com
#850.01 ETHfrom rpc.flashbots.net
#10250.01 ETHfrom rpc.flashbots.net
#20.01 ETHfrom https://ethereum-rpc.publicnode.com — eth_getLogs over blocks 26019452..26026608 for topic0 0x9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f31 (Seaport OrderFulfilled) with address [0x00000000000000adc04c56bf30ac9d3c0aaf14dc, 0x0000000000000068f116a894984e2db1123eb395]; decode SpentItem[]/ReceivedItem[], keep fills holding exactly one ERC-721 of 0x0c56f29b8d90eea71d57cadeb3216b4ef7494abc paid in ETH/WETH, mean of their prices.
#16260.01 ETHfrom https://ethereum-rpc.publicnode.com (eth_getLogs, chain 1, blocks 26019452-26026608, address 0x00000000000000adc04c56bf30ac9d3c0aaf14dc and 0x0000000000000068f116a894984e2db1123eb395, topic0 OrderFulfilled(bytes32,address,address,address,(uint8,address,uint256,uint256)[],(uint8,address,uint256,uint256,address)[]))
#16760.01 ETHfrom rpc.flashbots.net
#15480.01 ETHfrom rpc.flashbots.net
#880.01 ETHfrom
#11290.01 ETHfrom rpc.flashbots.net
#9690.01 ETHfrom rpc.mevblocker.io
- signed
by the attester 0x5598…2982usable until
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0x8ce35021534186ff40e8b6536055a3d22685283eb395aa491d3bef7d98ea6e93473ea8ad8d2c0b92b05146d1eae07b078c7b5e03d41f2f8f1076279476c826d81b
- expires
- · 7200s after signing
- window
- blocks 26019452 to 26026608 on Ethereum mainnet
- closing block
- 0x84272223fc64b8c836b51b2c341b61a03bfe7728fa6d655347f56dbf837fbf3f
- question hash
- 0xe3743940ceeac88af146b29a11c1fa77ea17b12982e6d72fc5a81d57230becef
- answer type
- uint256
- consumer
- none named; signed for the zero address