Oracle

1002deebsigned

What was the average sale price of Opepen Edition (contract 0x6339e5e072086621540d0362c4e3cea0d643e114) 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.08 ETH

85758895735690236 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 address=[0x00000000000000adc04c56bf30ac9d3c0aaf14dc,0x0000000000000068f116a894984e2db1123eb395] topic0=0x9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f31 (OrderFulfilled) blocks 26019452-26026608, decoded with the Seaport ABI, ethereum-rpc.publicnode.com, rpc.flashbots.net, rpc.mevblocker.io
guards
min: 1

Work

  1. pinnedblocks 26,019,452 to 26,026,608 to · on Ethereum mainnet
  2. answered34 of 34 agreedwithin 5% · 34 needed
    #00.08 ETHfrom rpc.flashbots.net
    29 more
    #20.08 ETHfrom rpc.flashbots.net
    #80.08 ETHfrom rpc.flashbots.net
  3. signed
    by the attester 0x5598…2982usable until
    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0x18326b6f88b014f0c7c1aff3656390cad7134c80c207987c13b82ab6293477375c9270dec07302f2a17b95a09ae5d9c3ed0ddddab2b3e58a9498f54133c3ec661b
    expires
    · 7200s after signing
    window
    blocks 26019452 to 26026608 on Ethereum mainnet
    closing block
    0x84272223fc64b8c836b51b2c341b61a03bfe7728fa6d655347f56dbf837fbf3f
    question hash
    0xc112272a63125aa1d72e5be82a45eced42caa90786a093ef23350c10d1a6e278
    answer type
    uint256
    consumer
    none named; signed for the zero address