appFeesrecipient + feeAttach an application fee to any route. Fees are expressed in basis points, so 100 means 1.00%. Half goes to the settlement provider, half to your recipient address.
Developers
Quote across every rail, submit a transfer, track it to settlement. Typed packages, one interface, seven wallet ecosystems.
Quickstart
import { BridgeSFA } from '@stableflow/bridges';
const sfa = new BridgeSFA({ apiKey: process.env.STABLEFLOW_KEY });
// Every rail is priced at once — including mixed routes.
const { quotes, best } = await sfa.getAllQuote({
from: { chain: 'arb', token: 'USDC' },
to: { chain: 'sol', token: 'USDT' },
amount: '25000',
recipient: 'RecipientAddressHere',
dry: true,
});
console.log(best.rail, best.amountOut);getAllQuote returns every executable path for a pair — intent, CCTP, USDT0, FraxZero, native — plus the mixed routes between them.
The dry flag returns a quote without touching the chain, so you can preview cost and allowance requirements.
Submit the deposit, poll execution status, and reconcile with the same identifiers the dashboard uses.
SDK
Install only what you call. Every package is typed and framework-agnostic.
| Package | Role | What it does |
|---|---|---|
| @stableflow/core | Quoting and execution | Token discovery, quote generation, deposit submission and execution status for single routes. |
| @stableflow/bridges | Multi-rail routing | Compares every rail for a pair, exposes quote modes and submits transfers across mixed routes. |
| @stableflow/hyperliquid | Hyperliquid | Quotes, transfers and deposits into Hyperliquid from any supported origin chain. |
| @stableflow/wallet-* | Wallet adapters | EVM, NEAR, Solana, Tron, TON, Sui and Aptos adapters behind one interface, including approval and permit handling. |
| @stableflow/utils-* | Shared helpers | Amount formatting, address validation and chain metadata shared across packages. |
Quote parameters
The same parameters work on single-rail and mixed-rail quotes.
appFeesrecipient + feeAttach an application fee to any route. Fees are expressed in basis points, so 100 means 1.00%. Half goes to the settlement provider, half to your recipient address.
swapTypeEXACT_INPUT · EXACT_OUTPUT · FLEX_INPUTFix the amount you send, fix the amount that arrives, or allow a flexible deposit.
isProxytrue · falseUses stable proxy deposit addresses so institutions, custodians and exchange allowlists keep working. Costs more gas on some chains.
drytrue · falseSimulates a quote without touching the chain, so you can preview cost and allowance requirements before committing.
Read the reference, grab a key from the dashboard, and start quoting.