Skip to main content
The program IDL (Interface Definition Language) is required for interacting with the Multiliquid Swap Program via the Anchor framework or @solana/web3.js. It defines all instructions, accounts, types, and events.
The code block includes a built-in copy button. Click the copy icon in the top-right corner to copy the full IDL to your clipboard.

Swap Program

Handles all swap operations between RWAs and stablecoins, asset configuration, pair management, liquidity operations, and fee collection. Program ID: HaWDr94LKJQT2fXuHJGsSGeQf6M7S68FXpEQLcE5RYs6
swap_program.json

Usage

Fetch from On-Chain

The IDL is published on-chain and can be fetched directly:

Load from File

Fetch Programmatically

Deriving PDAs

All program accounts are Program-Derived Addresses. Use the program ID and the appropriate seeds to derive any account address:
For program and account addresses, see the Deployments page.