SATURN DEX v4 Developer Documentation
v4.0.1 · 16 Modular Contracts · Phantasma Chain

Build on the Saturn DEX
The future of on-chain liquidity.

A complete developer reference for every public method a builder can call across the 16 Saturn contracts. Multi-pool AMM, bonds, rentals, options, syndicates, flash arbitrage, limit orders, prediction markets, and agent vaults — all in one coordinated protocol.

16
Contracts
3
Layers
100%
On-chain
0.3–30%
Custom Fees

Three Layers, One Protocol

01

Core DEX

Admin, pools, liquidity, swaps, fees, NFT certificates, rewards, router.

1 · Admin 2 · Pools 3 · Liquidity 4 · Swap 5 · Fees 6 · NFT 7 · Rewards 8 · Router
02

Financial Products

Securitized fee streams, franchise pool rentals, fee-rate options, and crowdfunded syndicates.

9 · Bonds 10 · Rental 11 · Options 12 · Syndicate
03

Agent Automation

On-chain primitives built for AI agents: flash arb, limit orders, prediction markets, and strategy vaults.

13 · Arbitrage 14 · Limit Orders 15 · Predictions 16 · Vaults

Quickstart

Saturn contracts are deployed on Phantasma. Use the phantasma-sdk-ts or any Phantasma-compatible library to call them. Every write method requires the caller to be a wallet witness; read methods can be called from anywhere.

1 · Install the SDK

npm install phantasma-sdk-ts

2 · Read pool data

const api = new PhantasmaAPI(rpcUrl);
const result = await api.invokeRawScript('main', script);
// Build scripts targeting contracts like
// "saturnrouter", "saturnpools", "saturnswap", etc.

3 · Send a transaction

// Use Poltergeist / Ecto or phantasma-ts transaction builder
// to call public methods like saturnswap.swap(...)
// The user signs; the wallet becomes the witness.
Contract naming: the address of each contract can be looked up by its lowercase symbol — saturnadmin, saturnpools, saturnliquidity, saturnswap, saturnfees, SATURN (the NFT token), saturnrewards, saturnrouter, saturnbonds, saturnrental, saturnfeeopts, saturnsyndicate, saturnarb, saturnlimit, saturnpredict, saturnvaults.