BridgeProvider
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / BridgeProvider
Interface: BridgeProvider
Section titled “Interface: BridgeProvider”Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5567
Bridge provider interface (for production mode)
Properties
Section titled “Properties”name:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5569
Provider name
Methods
Section titled “Methods”getQuote()
Section titled “getQuote()”getQuote(
params):Promise<BridgeQuote>
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5571
Get quote from bridge
Parameters
Section titled “Parameters”params
Section titled “params”BridgeQuoteParams
Returns
Section titled “Returns”Promise<BridgeQuote>
executeSwap()
Section titled “executeSwap()”executeSwap(
params):Promise<BridgeSwapResult>
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5573
Execute swap through bridge
Parameters
Section titled “Parameters”params
Section titled “params”BridgeSwapParams
Returns
Section titled “Returns”Promise<BridgeSwapResult>
getSupportedChains()
Section titled “getSupportedChains()”getSupportedChains():
Promise<ZcashSwapSourceChain[]>
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5575
Get supported chains
Returns
Section titled “Returns”Promise<ZcashSwapSourceChain[]>