HECO network banner

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

  • api.covalenthq.com/v1/{chainId}/address/{address}/balances_v2/

    • Get token balances for address. Return a list of all ERC20 and NFT token balances including ERC721 and ERC1155 along with their current spot prices.
  • api.covalenthq.com/v1/{chainId}/address/{address}/transactions_v2/

    • Retrieve all transactions for address including their decoded log events. This endpoint does a deep-crawl of the blockchain to retrieve all kinds of transactions that references the address.
  • api.covalenthq.com/v1/{chainId}/address/{address}/transfers_v2/

    • Get ERC20 token transfers for address alongwith historical token prices.
  • api.covalenthq.com/v1/{chainId}/tokens/{contract_address}/token_holders/

    • Return a paginated list of token holders contract_address as of any historical block height.
  • api.covalenthq.com/v1/{chainId}/events/address/{contract_address}/

    • Return a paginated list of decoded log events emitted by a particular smart contract.
  • api.covalenthq.com/v1/{chainId}/events/topics/{topic}/

    • Return a paginated list of decoded log events with one or more topic hashes separated by a comma.

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: January 20, 2022: Reverse order changelog navbar (d7df8a9)