Skip to main content

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:

ClientDescriptionDefault PortUrl
Cosmos gRPCQuery or send CrossFi transactions using gRPC9091Mainnet / Testnet
Cosmos REST (gRPC-Gateway)Query or send CrossFi transactions using an HTTP RESTful API1317Mainnet / Testnet
Ethereum JSON-RPCQuery Ethereum-formatted transactions and blocks or send Ethereum txs using JSON-RPC8545Mainnet / Testnet
Ethereum WebsocketSubscribe to Ethereum logs and events emitted in smart contracts.8586
Tendermint RPCQuery transactions, blocks, consensus state, broadcast transactions, etc.26657Mainnet / Testnet
Tendermint Websocket (ััั‹ะปะบะฐ ัƒะดะฐะปะตะฝะฐ)Subscribe to Tendermint ABCI events26657Mainnet / Testnet
Command Line Interface (CLI)Query or send CrossFi transactions using your Terminal or Console.N/A