get_onchain_entry
GET/node/v1/onchain/:base/:quote
get_onchain_entry
Request
Path Parameters
base stringrequired
Base Asset
quote stringrequired
Quote Asset
Query Parameters
network Networkrequired
Possible values: [sepolia
, mainnet
]
aggregation any
routing boolean
timestamp int64
components boolean
variations boolean
Responses
- 200
Get the onchain entry
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
asset_type stringrequired
components object[]nullable
price stringrequired
publisher stringrequired
source stringrequired
timestamp int64required
tx_hash stringrequired
decimals int32required
last_updated_timestamp int64required
nb_sources_aggregated int32required
pair_id stringrequired
price stringrequired
variations objectnullable
property name* float
{
"asset_type": "string",
"components": [
{
"price": "string",
"publisher": "string",
"source": "string",
"timestamp": 0,
"tx_hash": "string"
}
],
"decimals": 0,
"last_updated_timestamp": 0,
"nb_sources_aggregated": 0,
"pair_id": "string",
"price": "string",
"variations": {}
}
Loading...