/// one bridge. all chains. atomic swaps.
Bridge assets between 20+ blockchains with atomic swap guarantees. Real-time exchange rates, transaction tracking, and automatic rollback on failure.
Traditional bridges require separate implementations for each chain pair. OASIS Bridge provides a unified interface with per-chain bridge services (SolanaBridgeService, ArbitrumBridgeService, etc.) that all implement the IOASISBridge interface for consistent API access.
All-or-nothing transactions prevent partial transfers. If any step fails, the entire transaction is rolled back automatically, protecting users from lost funds.
CoinGecko integration provides real-time exchange rates for 17+ tokens. Accurate pricing ensures fair swaps across all supported chain pairs.
Bridge between Solana, Arbitrum, Ethereum, Polygon, Base, and 15+ more chains. Unified interface with per-chain bridge services for optimal performance.
Real-time status updates for all bridge transactions. Automatic rollback on failure. Complete transaction history and audit trail.
Transfer assets between any supported blockchain. Atomic swaps ensure all-or-nothing execution, protecting users from partial transfers and lost funds.
Enable DeFi protocols to work across multiple chains. Users can access liquidity and yield opportunities on any supported blockchain.
Manage assets across 20+ blockchains from a single interface. Bridge tokens between chains to optimize for gas costs, yield, or liquidity.
Bridge assets between any supported chain with atomic swap guarantees. Real-time exchange rates and automatic rollback protect users from failed transactions.
// Bridge SOL from Solana to ETH on Ethereum
POST /api/bridge/bridge-asset
{
"fromChain": "Solana",
"toChain": "Ethereum",
"fromToken": "SOL",
"toToken": "ETH",
"amount": 1.0,
"fromAddress": "...",
"toAddress": "..."
}
// Atomic swap process:
// 1. Locks SOL on Solana
// 2. Calculates exchange rate
// 3. Mints equivalent ETH on Ethereum
// 4. If any step fails, entire transaction rolls back
// Get exchange rate between any token pair
GET /api/bridge/exchange-rate
{
"fromToken": "SOL",
"toToken": "ETH"
}
// Returns:
{
"fromToken": "SOL",
"toToken": "ETH",
"rate": 0.0234,
"timestamp": "2025-01-15T10:30:00Z",
"source": "CoinGecko"
}
// Supports 17+ tokens across all chains
// Real-time updates every few seconds
// Get bridge transaction status
GET /api/bridge/transaction-status/{transactionId}
// Returns:
{
"transactionId": "...",
"status": "completed",
"fromChain": "Solana",
"toChain": "Ethereum",
"amount": 1.0,
"exchangeRate": 0.0234,
"steps": [
{"step": "lock", "status": "completed"},
{"step": "mint", "status": "completed"}
],
"rollback": false
}
// Automatic rollback if any step fails