LogoLogo
  • About XPress
  • Trading
    • Order Book
    • Order Types
    • Fees
  • Architecture
    • Prices and Precision
    • Gas costs
  • Audits
  • LP Vault
    • Overview
    • Token Composition
  • Deposits & Withdrawals
  • FOR DEVELOPERS
    • API
      • Contract API
      • Common objects
      • HTTP API
      • Websocket API
    • SDK
      • OnchainLobClient
      • OnchainLobSpot
    • Router Integration
Powered by GitBook
On this page
  1. FOR DEVELOPERS

API

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

PreviousDeposits & WithdrawalsNextContract API

Last updated 5 months ago

  • Contract API: All trades are executed within contracts on Sonic. 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.

Interaction is available on mainnet with:

  • two market contracts and ​

  • HTTP base endpoint

  • WebSocket endpoint wss://sockets.xpressprotocol.com

SUSDC
ETHUSDC
https://api.xpressprotocol.com
​