Documentation Index
Fetch the complete documentation index at: https://mintlify.com/collinsville22/Sable/llms.txt
Use this file to discover all available pages before exploring further.
Cross-Chain Bridge
Bridge assets to/from StarkNet via NEAR Intents / 1-Click protocol. Supports Solana, Ethereum, Base, Arbitrum, NEAR, and other chains.Overview
Sable’s bridge integration allows users to:- Bridge IN: Send tokens from any chain → receive STRK on StarkNet
- Bridge OUT: Send STRK from StarkNet → receive tokens on any chain
Supported Chains
| Chain | Bridge IN | Bridge OUT | Popular Tokens |
|---|---|---|---|
| Ethereum | ✓ | ✓ | ETH, USDC, WBTC |
| Solana | ✓ | ✓ | SOL, USDC |
| Base | ✓ | ✓ | ETH, USDC |
| Arbitrum | ✓ | ✓ | ETH, USDC, ARB |
| Polygon | ✓ | ✓ | MATIC, USDC |
| Avalanche | ✓ | ✓ | AVAX, USDC |
| NEAR | ✓ | ✓ | NEAR, USDC |
| Optimism | ✓ | ✓ | ETH, USDC, OP |
Bridge availability depends on NEAR Intents solver network. Some routes may be unavailable during low liquidity periods.
Bridge Architecture
Bridge Flow
Bridge IN (to StarkNet)
Get Quote
Fetch a quote from NEAR Intents API:
dry_run: true provides an estimate without creating a deposit address. Set to false for actual bridge.Wait for Settlement
NEAR Intents solver network:
- Detects deposit on source chain (~30s)
- Swaps tokens to intermediate assets if needed
- Bridges to StarkNet
- Swaps to STRK on StarkNet DEXes
- Sends STRK to recipient wallet
Bridge OUT (from StarkNet)
Transfer STRK
Send STRK to the deposit address on StarkNet:
Use Sable’s bridge interface to auto-fill the transfer transaction.
Wait for Settlement
NEAR Intents processes the bridge:
- Detects STRK transfer on StarkNet
- Swaps STRK to intermediate assets
- Bridges to destination chain
- Swaps to destination token
- Sends to recipient
Bridge Status Tracking
Sable provides real-time status tracking:- Status Values
- Steps
| Status | Description |
|---|---|
pending | Step not yet started |
processing | Step in progress |
completed | Step finished successfully |
failed | Step failed (bridge will auto-refund) |
Fees & Pricing
Fee Structure
Quote API returns exact output amount after all fees. No hidden costs.
Bridge Speed
| Route | Typical Time | Notes |
|---|---|---|
| Ethereum → StarkNet | 60-90s | Ethereum finality + StarkNet settlement |
| Solana → StarkNet | 30-45s | Fast Solana finality |
| StarkNet → Ethereum | 60-120s | StarkNet finality + Ethereum gas |
| StarkNet → Solana | 45-60s | Fast Solana settlement |
| Base/Arbitrum → StarkNet | 45-60s | L2 finality faster than Ethereum |
Security & Trust Model
NEAR Intents (1-Click)
Architecture: Decentralized solver network How it works:- User creates a bridge intent (“I want to send 100 USDC from Ethereum to STRK on StarkNet”)
- Solvers compete to fulfill the intent at best price
- Winning solver executes the swap + bridge + delivery
- User receives funds on destination chain
- Solvers are incentivized by fees to execute correctly
- Failed bridges auto-refund to source chain
- NEAR protocol validates solver actions
NEAR Intents is non-custodial. Funds route through smart contracts, not centralized custodians.
Refund Policy
Bridges can fail due to:- Destination chain congestion
- Insufficient destination liquidity
- Oracle price deviation
- NEAR Intents detects failed step
- Auto-initiates refund to source chain
- User receives original tokens back (minus gas fees)
Best Practices
- Check Quote Carefully: Verify output amount before confirming
- Use Test Amounts First: Bridge $10-20 before large transfers
- Monitor Status: Don’t panic if bridge takes 2-3 minutes
- Save Transaction ID: Bookmark status page for tracking
- Bridge During Low Traffic: Avoid peak hours (US evenings) for faster settlement
- Consider Gas Costs: Small bridges (under $100) pay high % fee due to gas
API Integration
Quote Endpoint
Status Endpoint
Supported Tokens
Bridge IN (Source Chains)
| Chain | Supported Tokens |
|---|---|
| Ethereum | ETH, USDC, USDT, WBTC, DAI |
| Solana | SOL, USDC, USDT |
| Base | ETH, USDC |
| Arbitrum | ETH, USDC, ARB |
| Polygon | MATIC, USDC |
| Avalanche | AVAX, USDC |
Bridge OUT (Destination Chains)
All above tokens supported. Bridge OUT always sources from STRK on StarkNet.Risk Factors
- Bridge protocol risk: NEAR Intents solver network failure
- Price volatility during bridge: Token price can change in 30-90s settlement
- Smart contract risk: Bridge contracts on source/dest chains
- Slippage: Swaps may execute at worse-than-quoted prices during high volatility
- Refund delays: Failed bridges can take 24h to refund
Next Steps
Bridge to StarkNet
Step-by-step guide for Bridge IN
Bridge from StarkNet
Step-by-step guide for Bridge OUT
NEAR Intents Docs
Learn about the bridge protocol
Track Bridge Status
Monitor your cross-chain transfers