UNPKG

@kaiachain/kss-bridges-celer

Version:
7 lines (6 loc) 632 B
import { GetTransferStatusResponse, WithdrawInfo } from "../ts-proto/gateway/gateway_pb"; import { ITransferConfigs } from "../constants/type"; export declare const getTransferConfigs: (rpc: string) => Promise<ITransferConfigs>; export declare const getTransferStatus: (rpc: string, transferId: string) => Promise<GetTransferStatusResponse.AsObject>; export declare const getWithdrawInfo: (chainId: number, amount: string, slippageTolerance: number) => WithdrawInfo; export declare const getEstimation: (rpc: string, addr: string, chainId: number, tokenSymbol: string, amount: string, slippageTolerance: number) => Promise<string>;