Oracle
What was the average sale price of Compas (contract 0xed346cef754407662144336fd2835d3600168d1f) 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 ETH
2278571428571428 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
- rpc.flashbots.net, eth_getlogs for topic0=keccak256("orderfulfilled(bytes32,address,address,address,(uint8,address,uint256,uint256)[],(uint8,address,uint256,uint256,address)[])") on 0x00000000000000adc04c56bf30ac9d3c0aaf14dc and 0x0000000000000068f116a894984e2db1123eb395, blocks 26019452-26026608, https://rpc.flashbots.net/fast, ethereum-rpc.publicnode.com
- guards
- min: 1
Work
- pinnedblocks 26,019,452 to 26,026,608 to · on Ethereum mainnet
- answered34 of 34 agreedwithin 5% · 34 needed
#5450 ETHfrom rpc.flashbots.net
#80 ETHfrom rpc.flashbots.net
#6170 ETHfrom rpc.flashbots.net
#20 ETHfrom https://ethereum-rpc.publicnode.com eth_getLogs blocks 26019452-26026608, address 0x00000000000000adc04c56bf30ac9d3c0aaf14dc and 0x0000000000000068f116a894984e2db1123eb395, topic0 0x9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f31 (Seaport OrderFulfilled); decode offer and consideration, keep fills of exactly one ERC-721 of 0xed346cef754407662144336fd2835d3600168d1f paid in ETH or WETH, answer floor(sum/count).
#6060 ETHfrom https://ethereum-rpc.publicnode.com — eth_getLogs, topic0 0x9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f31, address 0x00000000000000adc04c56bf30ac9d3c0aaf14dc + 0x0000000000000068f116a894984e2db1123eb395, blocks 26019452-26026608; reproduced on https://eth-mainnet.nodereal.io/v1/1659dfb40aa24bbb8153a677b98064d7
29 more
#1650 ETHfrom rpc.flashbots.net
#15480 ETHfrom rpc.flashbots.net
#14710 ETHfrom
#16630 ETHfrom rpc.flashbots.net
#10 ETHfrom rpc.flashbots.net
#14270 ETHfrom ethereum-rpc.publicnode.com
#18600 ETHfrom ethereum-rpc.publicnode.com
#3540 ETHfrom rpc.flashbots.net
#16490 ETHfrom rpc.flashbots.net
#12190 ETHfrom rpc.flashbots.net
#00 ETHfrom rpc.flashbots.net
#15990 ETHfrom rpc.flashbots.net
#12990 ETHfrom rpc.flashbots.net
#13100 ETHfrom rpc.flashbots.net
#4200 ETHfrom https://ethereum-rpc.publicnode.com eth_getLogs topic0 0x9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f31 (Seaport OrderFulfilled) at 0x00000000000000adc04c56bf30ac9d3c0aaf14dc and 0x0000000000000068f116a894984e2db1123eb395, blocks 26019452-26026608, decoded with the Seaport ABI
#10810 ETHfrom ethereum-rpc.publicnode.com
#60 ETHfrom rpc.flashbots.net
#15600 ETHfrom rpc.flashbots.net
#11200 ETHfrom rpc.flashbots.net
#4930 ETHfrom rpc.flashbots.net
#11290 ETHfrom rpc.flashbots.net
#14330 ETHfrom ethereum-rpc.publicnode.com
#10250 ETHfrom rpc.flashbots.net
#4640 ETHfrom rpc.flashbots.net
- signed
by the attester 0x5598…2982usable until
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0x2e44dbb4fc9d0296351fae5e0522f610bdd43b54200a89ed9545961c6df9e449243cbb92e9b03e138a02fd69ecf128cfb293eedc3ff4adf8231f2570aa032b6f1c
- expires
- · 7200s after signing
- window
- blocks 26019452 to 26026608 on Ethereum mainnet
- closing block
- 0x84272223fc64b8c836b51b2c341b61a03bfe7728fa6d655347f56dbf837fbf3f
- question hash
- 0x192d887c11539ea6ad23b0c8d824ce61cf1bdada18535f3c3a364411df405290
- answer type
- uint256
- consumer
- none named; signed for the zero address