Oracle

b7d68fa0signed

What was the average sale price of Beanz (contract 0x306b1ea3ecdf94ab739f1910bbda052ed4a9f949) 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.04 ETH

45759144918032786 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 on https://ethereum-rpc.publicnode.com (ethereum mainnet), addresses 0x00000000000000adc04c56bf30ac9d3c0aaf14dc and 0x0000000000000068f116a894984e2db1123eb395, topic0 0x9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f31 (orderfulfilled), blocks 26019451-26026607, decoded with the seaport abi, eth_getlogs on https://ethereum-rpc.publicnode.com, seaport 1.5 0x00000000000000adc04c56bf30ac9d3c0aaf14dc and 1.6 0x0000000000000068f116a894984e2db1123eb395, topic0 0x9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f31, blocks 26019451-26026607, decoded with the seaport orderfulfilled abi, ethereum-rpc.publicnode.com, public ethereum rpc eth_getlogs for seaport orderfulfilled over blocks 26019451-26026607, rpc.mevblocker.io
guards
min: 1

Work

  1. pinnedblocks 26,019,451 to 26,026,607 to · on Ethereum mainnet
  2. answered34 of 34 agreedwithin 5% · 34 needed
    #00.04 ETHfrom rpc.flashbots.net
    #4200.04 ETHfrom
    29 more
    #10.04 ETHfrom
    #880.04 ETHfrom
  3. signed
    by the attester 0x5598…2982expired
    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0xa354c29083bae5fa4bb7729aa26eae8fafaec80fef64d6593d84b5d64a64832b1dbd04eef7e0ea516ba888aa2e540b71aa94c6bedf17566eea52cb0a87e619701b
    expires
    · 7200s after signing
    window
    blocks 26019451 to 26026607 on Ethereum mainnet
    closing block
    0x8a84f5aa1d5976b1d454cfe7b479740ae9b7e7015bfd4635b124cb47767cdec2
    question hash
    0xb5a6902a14b2e01bddc0ce48793669d44c8f6209641807c4b54df0aeac945ad0
    answer type
    uint256
    consumer
    none named; signed for the zero address