Skip to main content

get_onchain_history

GET 

/node/v1/onchain/history/:base/:quote

get_onchain_history

Request

Path Parameters

    base stringrequired

    Base Asset

    quote stringrequired

    Quote Asset

Query Parameters

    network Networkrequired

    Possible values: [sepolia, mainnet]

    timestamp TimestampRangerequired
    chunk_interval any
    routing boolean

Responses

Get the historical onchain median price

Schema
  • Array [
  • decimals int32required
    median_price stringrequired
    nb_sources_aggregated int32required
    pair_id stringrequired
    timestamp int64required
  • ]
Loading...