API

This section describes methods for interacting with the Hanji platform. These methods are categorized into three types.

  • Contract API: All trades are executed within contracts on Etherlink. To set an order, you call the contract entry point.

  • The HTTP API allows you to retrieve information about past and current prices, orders, and trades.

  • The WebSocket API is used to receive events about recent changes.

API Endpoints by Network:

Etherlink Testnet

Etherlink Mainnet

Monad Mainnet

Base Mainnet

You can find an example of how to interact with the Hanji API in the SDKarrow-up-right.

Last updated