Oracle

e28ad60bsigned

What was the average sale price of Zama OG (contract 0xb3f2ddaed136cf10d5b228ee2eff29b71c7535fc) 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.0035 ETH

3577187000000000 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
ethereum-rpc.publicnode.com, 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
  3. Signedby the attester 0x5598…2982expired

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0xdf919ad3239a952f336e8790d1aa02929971d38627fc3d9a19d0dcbf7bedbbdf550e30475e8eb655d2916372c55269cd6b14991be2d2c0ef8147ad4624a70d171b
    signed panel
    not in this signature; signed before the panel was, under version 1
    question hash
    0x1276a2129e339e76e60370d31778959fd5f77de36b79c60d9661fb91fdbe9fe6
    answer type
    uint256
    consumer
    none named; signed for the zero address
  4. Scored68 scoreson Ethereum mainnet