@accret/bridge-sdk
Version:
18 lines • 1.06 kB
TypeScript
import type { CrossChainQuoteResponse, ExecuteDeBridgeSwapParams, GetDeBridgeTokenListResponse, SingleChainQuoteResponse } from "../../types/deBridge";
import type { AccretSupportedChain } from "../../types";
import type { CrossChainSwapResult, SingleChainSwapResult } from "../../types/deBridge/buildTransaction";
export interface DeBridgeQuoteParams {
srcChain: AccretSupportedChain;
srcChainTokenIn: string;
srcChainTokenInAmount: string;
srcTokenDecimals: number;
dstChain: AccretSupportedChain;
dstChainTokenOut: string;
slippage?: number;
affiliateFeeRecipient?: string;
affiliateFeePercent?: number;
}
export declare function getDeBridgeQuote(params: DeBridgeQuoteParams): Promise<CrossChainQuoteResponse | SingleChainQuoteResponse>;
export declare function executeDeBridgeSwap(params: ExecuteDeBridgeSwapParams): Promise<CrossChainSwapResult | SingleChainSwapResult>;
export declare function getDeBridgeTokenList(chain: AccretSupportedChain): Promise<GetDeBridgeTokenListResponse>;
//# sourceMappingURL=index.d.ts.map