Skip to content

LeverUpDeveloper Documentation

Build trading bots, interfaces, and analytics on top of the LeverUp perpetuals protocol on Monad.

Choosing an integration path

You are buildingUse
A trading bot or strategy that holds its own keyOnchain, or 1CT self-signing if you want gas covered
A frontend or wallet that trades on behalf of users1CT — users authorize once, then trade without popups
A copy-trading or managed-account service1CT with a hosted agent — per-action permission bits
A dashboard, indexer, or analytics productREST API and onchain read functions

Most integrations combine two of these: the REST API for market and account data, and one of the execution paths for placing trades.

Before you write code

Three things account for most first-day integration bugs:

  1. Units. qty is not in USD and not in wei — it is the base asset amount at 10 decimals. Read Precision & Units first.
  2. Oracle data. Every price-sensitive call needs a fresh oracle payload fetched from the LeverUp backend, plus a native-token fee. See Core Concepts.
  3. lvToken. Every position carries both the token you deposit (tokenIn) and the protocol's settlement token (lvToken). Getting the pairing wrong reverts. See Core Concepts.

Trading perpetuals involves risk. Nothing here is financial advice.