Onchain
Onchain History
GET
Query Parameters
Available options:
starknet-mainnet
, starknet-sepolia
Represents a range of timestamps
Available options:
100ms
, 1s
, 5s
, 10s
, 1min
, 5min
, 15min
, 1h
, 2h
, 1d
, 1w
Response
200 - application/json
Get the historical onchain median price
The response is of type object[]
.