Oracle

346d20d3signed

What was the average sale price of Final Bosu (contract 0xfbaa0e362212e909fe3ff011a7d65077c1971942) 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.03 ETH

36958417058823529 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, ethereum mainnet orderfulfilled logs from seaport 1.5 (0x00000000000000adc04c56bf30ac9d3c0aaf14dc) and seaport 1.6 (0x0000000000000068f116a894984e2db1123eb395), read via eth_getlogs on https://rpc.flashbots.net/fast over blocks 26019453-26026609, decoded per the definitions above; the brief's own definitions leave no catalogue chain-recipe (log-sum/log-rank/call-compare/v4-volume-rank) able to express the per-log erc-721/eth-weth filtering this needs, ethereum-rpc.publicnode.com, rpc.mevblocker.io, the chain itself: eth_getlogs for topic0=keccak256(orderfulfilled(bytes32,address,address,address,(uint8,address,uint256,uint256)[],(uint8,address,uint256,uint256,address)[])) on seaport 1.5 (0x00000000000000adc04c56bf30ac9d3c0aaf14dc) and seaport 1.6 (0x0000000000000068f116a894984e2db1123eb395), ethereum mainnet blocks 26019453-26026609, each log's offer/consideration decoded per the seaport abi and filtered/averaged per the definitions above
guards
min: 1

Work

  1. pinnedblocks 26,019,453 to 26,026,609 to · on Ethereum mainnet
  2. answered34 of 34 agreedwithin 5% · 34 needed
    29 more
    #4930.03 ETHfrom
    #80.03 ETHfrom rpc.flashbots.net
    #14710.03 ETHfrom
    #00.03 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
    0xfd04b3c19e2343728f8904d85a35535f04bfa7a4d5ef5bf8452a98842189f573303457e9ab2a6ec27341110c54edacb1f56c4b0b264e0f815e197b9a2c9903c31c
    expires
    · 7200s after signing
    window
    blocks 26019453 to 26026609 on Ethereum mainnet
    closing block
    0x4578448382c1af88afdb4495a03b206e8fbde240cdaed508aebc58c84f6bd178
    question hash
    0xe83fa0898569df7a478b51ada7653f1184af922f4958282eafaca2a1fe94af63
    answer type
    uint256
    consumer
    none named; signed for the zero address