rubic-sdk
Version:
Simplify dApp creation
30 lines (29 loc) • 765 B
TypeScript
export interface TeleSwapEstimateResponse {
minInputAmountBTC: string;
inputAmountBTC: string | number;
outputAmount: string;
teleswapFee: {
networkFeeBTC: string;
protocolFeeBTC: string;
lockerFeeBTC: string;
thirdPartyFeeBTC: string;
totalFeeBTC: string;
};
internalExchange: {
path: string;
inputAmount: string;
outputAmount: string;
};
}
export interface TeleSwapEstimateNativeResponse {
minInputAmountBTC: string;
inputAmountBTC: string | number;
outputAmountBTC: string;
teleswapFee: {
networkFeeBTC: string;
protocolFeeBTC: string;
lockerFeeBTC: string;
thirdPartyFeeBTC: string;
totalFeeBTC: string;
};
}