API
The following APIs are suggested for use in development. Running your own node is advised for optimal control and dependability.
Networks
Connect your app or client to the public testnets and mainnet of Humans.ai in a flash. For a list of publicly accessible endpoints that you can use to connect to the Humans.ai, go to Networks.
Clients
The Humans.ai Network offers support for various clients to facilitate Cosmos and Ethereum transactions and queries. Additionally, the network provides a REST interface through Swagger, enabling users to perform state queries and transactions efficiently:
Description | Default Port | Swagger | |
---|---|---|---|
Cosmos gRPC | Query or send Humans.ai transactions using gRPC | 9090 | |
Cosmos REST (gRPC-Gateway) | Query or send Humans.ai transactions using an HTTP RESTful API | 9091 | Testnet Mainnet |
Ethereum JSON-RPC | Query Ethereum-formatted transactions and blocks or send Ethereum txs using JSON-RPC | 8545 | |
Ethereum Websocket | Subscribe to Ethereum logs and events emitted in smart contracts. | 8586 | |
Tendermint RPC | Query transactions, blocks, consensus state, broadcast transactions, etc. | 26657 | Localhost |
Tendermint Websocket | Subscribe to Tendermint ABCI events | 26657 | |
Command Line Interface (CLI) | Query or send Humans.ai transactions using your Terminal or Console. | N/A |