Heco Chain Querying API

Introduction to the Huobi Open Platform

The Huobi Open Platform is a unified infrastructure platform based on the technical, traffic and ecological resources of the Huobi Group, and will be gradually open to the blockchain industry. It will make the construction of decentralized applications more efficient and cost-effective, and provide comprehensive empowerment in aspects of promotion, traffic, and resources. In December 2020, the first product of the Huobi Open Platform, the Huobi ECO Chain, also known as Heco, officially launched its "Tinder" phase. In addition, Huobi Open Platform will launch DEX and other blockchain infrastructures based on Layer 2. The Huobi Open Platform will provide global developers with series of diverse innovative facilities and services.

Statistics

Figures

TPS

500+

Average block interval

3s

Maximum validators

21

Unmarshal's current Infrastructure Support

  • Token Balances API

  • Transaction Details API (In progress)

  • Decoded Transactions API (In progress)

  • Push Notification API (In Progress)

  • DeFi Taxing (In progress)

  • Profit & Loss Tracking API (In progress)

  • Historical Prices (In progress)

  • Automated DeFi protocol indexing(In progress)

get
Get Token Balances

https://stg-api.unmarshal.io/v1/heco/address/:address/assets
Description This End-point will allow you to retrieve balances tied to a particular address. The response of this API includes everything you need to make sense of your assets. You can see what is the current value of each Token, and how much your asset is worth in Fiat currency. We also have a CDN for logs. https://stg-api.unmarshal.io/v1/heco/address/0xDeE432cb96A9405784FEbe04bEa094054Ad5773C/assets?auth_key=VGVtcEtleQ%3D%3D
Request
Response
Request
Path Parameters
address
required
string
Valid Heco address
Query Parameters
auth_key
required
string
Demo key: VGVtcEtleQ==
Response
200: OK
[
{
"contract_name": "Heco",
"contract_ticker_symbol": "HT",
"contract_decimals": 18,
"contract_address": "0x6f259637dcd74c767781e37bc6133cd6a68aa161",
"coin": 128,
"type": "HRC20",
"balance": "7813547355738377071",
"quote": 143.37859397779923,
"quote_rate": 18.35,
"logo_url": "https://assets.unmarshal.io/tokens/0x6f259637dcd74c767781e37bc6133cd6a68aa161.png"
},
{
"contract_name": "xlxlink.com空投",
"contract_ticker_symbol": "xlxlink.com空投",
"contract_decimals": 18,
"contract_address": "0xC422F710831e7f253777DF95F09f801Eab22c063",
"coin": 128,
"type": "HRC20",
"balance": "10000000000000000000",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xC422F710831e7f253777DF95F09f801Eab22c063.png"
}
]