Skip to content

Simple Bridge

Simple Bridge is the non-private mode of the same client. Set privacy: false and use the same quote → placeOrder → trackOrderViaWebSocket lifecycle. The SDK normalizes bridge states into FULFILLING, COMPLETED, FAILED, or UNKNOWN.

import { createSilentSwapClient } from '@silentswap/sdk';
import type { WalletClient } from 'viem';
 
declare const walletClient: WalletClient;
 
const client = createSilentSwapClient({
  walletClient,
});

Quotes and tracking use the configured SilentSwap API automatically. Integrations never need to configure or depend on an underlying routing provider.