Skip to main content
For developers who need to build transactions directly without using the TypeScript SDK, this section provides complete reference documentation for all on-chain operations.
Most developers should use the TypeScript SDK instead. The on-chain reference is for advanced use cases or when building in languages without SDK support.
Need the contract addresses? See Contract Addresses & Helpers for package addresses and common helper functions.

When to Use On-Chain Transactions

Building transactions directly (instead of using the SDK) is useful when:
  • Language support: You’re building in a language without an official SDK (e.g., Python, Go, Java)
  • Low-level control: You need precise control over transaction construction
  • High-frequency trading: You’re optimizing for minimal latency
  • Custom integrations: You’re building infrastructure that requires direct blockchain interaction

Transaction Categories

All Decibel transactions are executed on-chain on the Aptos blockchain through Move smart contract function calls.

Account Management

Create Trading Accounts, deposit/withdraw collateral, delegate trading, and manage account settings

Order Management

Place, cancel, and manage trading orders including limit, market, TWAP, and bulk orders

Position Management

Manage take-profit and stop-loss orders for positions

Builder Fee

Approve and manage builder fees for Trading Accounts

Vault Operations

Create, fund, and manage trading vaults

Getting Started

You’ll need a Node API token to submit transactions to the Aptos fullnode, regardless of language.
  1. Get the contract addresses and helper functions
  2. Review Optimized Transaction Building for performance best practices
  3. Understand price and size formatting for order parameters
  4. Explore the specific transaction type you need