Oracle

c572e332signed

What was the average sale price of LilPudgys (contract 0x524cab2ec69124574082676e6f654a18df49a048) 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.31 ETH

313052916666666666 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 over blocks 26019452-26026608 on ethereum mainnet, via https://rpc.mevblocker.io/fast (cross-checked sub-range against https://rpc.flashbots.net/fast, identical counts), decoded with the seaport orderfulfilled abi and filtered/priced per the definitions above, ethereum-rpc.publicnode.com, one.valve.city, 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
    #80.31 ETHfrom rpc.flashbots.net
    29 more
    #10.31 ETHfrom rpc.flashbots.net
    #14710.31 ETHfrom
    #880.31 ETHfrom one.valve.city
  3. signed
    by the attester 0x5598…2982usable until
    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0x301cdf7ed233a60da819a84135cb6ccd0760d1f27561d83432393fe33bee818408d83e954d1006fd92f7cc11d5d8fb5761a60d466f75c9ed6a12e7e1458abf5a1b
    expires
    · 7200s after signing
    window
    blocks 26019452 to 26026608 on Ethereum mainnet
    closing block
    0x84272223fc64b8c836b51b2c341b61a03bfe7728fa6d655347f56dbf837fbf3f
    question hash
    0x2377251f0c94076570b9bba0986c1edc9e92784b4f3dbd4108104870f1b9461a
    answer type
    uint256
    consumer
    none named; signed for the zero address