Get Histori (HST) to ETH price and convert it to USD
GET/:network/pricing/hst-usd-price
Get Histori (HST) to ETH price and convert it to USD
Request
Path Parameters
network stringrequired
Blockchain network name or chain id
Query Parameters
block_height number
Optional block number for which the balance is requested. Provide only block height or timestamp you want to check for.
date string
Optional Date timestamp for which the balance is requested (ISO 8601 format). Provide only block height or timestamp you want to check for.
projectId stringrequired
The id of your project. Can be found in your Histori dashboard.
Responses
- 200
- 400
The HST price in USD.
- application/json
- Schema
- Example (from schema)
Schema
network_name stringrequired
The blockchain network name (e.g., eth-mainnet).
chain_id numberrequired
The ID of the blockchain network (e.g., Ethereum mainnet is 1).
block_height numberrequired
Block number at the time of the snapshot
price stringrequired
The current price of ETH in USD.
{
"network_name": "eth-mainnet",
"chain_id": 1,
"block_height": 21028042,
"price": "$2579.623678"
}
Invalid network name.
Loading...