@accret/bridge-sdk
Version:
32 lines • 967 B
TypeScript
import type { AccretSupportedChain } from "..";
export * from "./getQuote";
export * from "./getTokenList";
export declare enum deBridgeChainId {
BNB_CHAIN = "56",
BASE_CHAIN = "8453",
SOLANA_CHAIN = "7565164",
ETHEREUM_CHAIN = "1",
POLYGON_CHAIN = "137",
ARBITRUM_CHAIN = "42161",
AVALANCHE_CHAIN = "43114"
}
export interface ExecuteDeBridgeSwapParams {
privateKey: string;
srcNetwork: AccretSupportedChain;
srcTokenAddress: string;
srcTokenDecimals: number;
amountToSwap: string;
dstTokenAddress: string;
dstNetwork: AccretSupportedChain;
recipientAddress?: string;
srcChainRpcUrl: string;
slippage?: number;
referralCode?: string;
srcChainOrderAuthorityAddress?: string;
dstChainOrderAuthorityAddress?: string;
dstChainTokenOutAmount?: string;
enableLogging?: boolean;
affiliateFeeRecipient?: string;
affiliateFeePercent?: number;
}
//# sourceMappingURL=index.d.ts.map