Skip to main content

API

The following API's are recommended for development purposes. For maximum control and reliability it's recommended to run your own node.

Networks

Quickly connect your app or client to HAQQ mainnet and public testnets. Head over to Networks to find a list of publicly available endpoints that you can use to connect to the HAQQ Network.

Clients

The HAQQ Network supports different clients in order to support Cosmos and Ethereum transactions and queries. You can use Swagger as a REST interface for state queries and transactions:

DescriptionDefault PortSwagger
Cosmos gRPCQuery or send HAQQ transactions using gRPC9090
Cosmos REST (gRPC-Gateway)Query or send HAQQ transactions using an HTTP RESTful API9091Mainnet Testnet
Ethereum JSON-RPCQuery Ethereum-formatted transactions and blocks or send Ethereum txs using JSON-RPC8545
Ethereum WebsocketSubscribe to Ethereum logs and events emitted in smart contracts.8586
CometBFT RPCQuery transactions, blocks, consensus state, broadcast transactions, etc.26657Localhost
CometBFT WebsocketSubscribe to CometBFT ABCI events26657
Command Line Interface (CLI)Query or send HAQQ transactions using your Terminal or Console.N/A