oracle
price-aggregation
derivatives
mark-price
print-lineage

Oracle Price Aggregation

Computes the aggregate price a decentralized oracle network would publish from a set of individual submissions, under four mechanism-named aggregation rules: median-filtered confidence-weighted mean, stake-weighted median on the frequency convention, three-vote confidence median, and plain median with an f-of-n readout. Supports an optional prev_print_hash citing the prior print of the same pair, which turns a series of same-pair prints into a walkable chain; omitting it reproduces the unlinked-print output byte for byte. Every price, weight, confidence, timestamp and submitter id is supplied and asserted, never fetched (zero-egress). Simulates the aggregation step only, does not model the commit-reveal phase, and never claims any real network did or would publish this number. A submitter id may be supplied as a sha256-salted@1 commitment (SPEC.md §25) to withhold the identifier while keeping the aggregation bound to it. Not a price feed and not a market-data source.

Tool URL: https://ainumbers.co/chaingraph/art-560-oracle-price-aggregation.html

post/v1/tools/oracle_price_aggregation

Request

  • Base URL: https://ainumbers.co
  • URL: https://ainumbers.co/v1/tools/oracle_price_aggregation
  • Auth: none declared

Request body

modestring
currency_pairstring
outlier_threshold_pctnumber
stale_after_secondsnumber
epochnumber
prev_print_hashstring

Response

Successful tool execution result

currency_pairstring nullable
epochnumber nullable
structural_errorstring nullable
aggregated_pricenumber nullable
aggregation_methodstring nullable
aggregate_confidencenumber nullable
submission_countnumber
priced_submission_countnumber
surviving_countnumber nullable
outlier_countnumber
outlier_threshold_pctnumber nullable
price_spread_pctnumber nullable
min_submittednumber nullable
max_submittednumber nullable
fault_toleranceobject nullable
fencestring
prev_print_hashstring
chain_positionstring

Changes

No recorded changes to this operation across all 1 revision of this API.