Huobi ECO - HECO Network
Introduction
Huobi ECO Network HECO is a decentralized and cost efficient public chain that Ethereum developers can easily get started with and smart contracts are seamlessly compatible.
HECO has built a developed Defi ecosystem, with wallets, assets, and applications rankings. Users can easily experience the latest DApps.
Quick facts
Property | Value |
---|---|
HECO Mainnet chainId | 128 |
HECO Testnet chainId | 256 |
HECO Blockchain Explorer | https://hecoinfo.com/ |
Block time | ~3 seconds |
Supported endpoints
Get token balances for address
Class A
Given
chain_id
and wallet address
, return current token balances along with their spot prices. This endpoint supports a variety of token standards like ERC20, ERC721 and ERC1155. As a special case, network native tokens like ETH on Ethereum are also returned even though it’s not a token contract.
GET
/v1/:chain_id/address/:address/balances_v2/
Get transactions for address
Class A
Given
chain_id
and wallet address
, return all transactions along with their decoded log events. This endpoint does a deep-crawl of the blockchain to retrieve all kinds of transactions that references the address
including indexed topics within the event logs.
GET
/v1/:chain_id/address/:address/transactions_v2/
Go to Covalent’s API Reference
Appendix
HECO Gas token
HT token is the native token of the HECO network. This is similar to Ether in Ethereum. To interact with the HECO network, HT tokens are required to pay as gas fees. HT serves as a means of payment and exchange for all applications running in the HECO ecosystem. Covalent’s responses automatically returns gas_*
fields in the HT units.
Last modified: October 27, 2022: october-changelog-2022 (#243) (b6121bb)