Hanji Docs
  • About Hanji
  • Trading
    • Order Book
    • Order Types
    • Fees
  • Architecture
    • Matching Engine
    • Prices and Precision
    • Gas Costs
  • Audits
  • For developers
    • API
      • Contract API
      • Common objects
      • HTTP API
      • Websocket API
    • SDK
      • HanjiClient
      • HanjiSpot
  • LP Vault
    • Overview
    • Hanji Vault
    • Single-Token LP Vaults
Powered by GitBook
On this page
  1. For developers

API

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

PreviousAuditsNextContract API

Last updated 9 months ago

  • 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.

For now, interaction is available on Testnet with:

  • two market contracts and

  • HTTP base endpoint

  • WebSocket endpoint wss://sockets-dev.hanji.io/

You can find an example of how to interact with the Hanji API in the .

XTZeUSD
BTCeUSD
https://api-dev.hanji.io/
SDK