API and Available Endpoints
These following API's are recommended for development purposes. For maximun control and reliability it's recommended to run your own node.
Networks
Quickly connect your app or client to CrossFi mainnet and public testnets. Head over to Networks to find a list of publicly available endpoints that you can use to connect to the CrossFi
Clients
The CrossFi 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:
Description | Default Port | Url | |
---|---|---|---|
Cosmos gRPC | Query or send CrossFi transactions using gRPC |
| |
Cosmos REST (gRPC-Gateway) | Query or send CrossFi transactions using an HTTP RESTful API |
| |
Ethereum JSON-RPC | Query Ethereum-formatted transactions and blocks or send Ethereum txs using JSON-RPC |
| |
Ethereum Websocket | Subscribe to Ethereum logs and events emitted in smart contracts. |
| |
Tendermint RPC | Query transactions, blocks, consensus state, broadcast transactions, etc. |
| |
Tendermint Websocket | Subscribe to Tendermint ABCI events |
| |
Command Line Interface (CLI) | Query or send CrossFi transactions using your Terminal or Console. | N/A |
Last updated