Skip to content
docs

IBridgeProtocol

Defined in: protocols/bridge.ts:37

The older bridge-only interface. Every swap2 module implements it too; new code should use ISwap2Protocol.

bridge(options): Promise<BridgeResult>

Defined in: protocols/bridge.ts:39

Sign and broadcast a bridge transfer.

BridgeOptions

Promise<BridgeResult>


quoteBridge(options): Promise<BridgeQuote>

Defined in: protocols/bridge.ts:41

Fees of a bridge transfer; nothing is signed.

BridgeOptions

Promise<BridgeQuote>