Skip to main content

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:

DescriptionDefault PortSwagger
Cosmos gRPCQuery or send Humans.ai transactions using gRPC9090
Cosmos REST (gRPC-Gateway)Query or send Humans.ai transactions using an HTTP RESTful API9091Testnet Mainnet
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
Tendermint RPCQuery transactions, blocks, consensus state, broadcast transactions, etc.26657Localhost
Tendermint WebsocketSubscribe to Tendermint ABCI events26657
Command Line Interface (CLI)Query or send Humans.ai transactions using your Terminal or Console.N/A