@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
16 lines • 715 B
TypeScript
import { Transaction } from "./Transaction";
import { Fee } from "../enum/Fee";
import { Account } from "../enum/Account";
export type SwapType = Swap;
export declare class Swap extends Transaction {
speed?: Fee | undefined;
amountToReceive?: string | undefined;
feesAmount?: string | undefined;
constructor(accountToDebit: Account, accountToCredit: Account, amount: string, speed?: Fee | undefined, amountToReceive?: string | undefined, feesAmount?: string | undefined);
setAmountToReceive(value: string): void;
setFeesAmount(value: string): void;
get getAmount(): string;
get getAccountToDebit(): Account;
get getAccountToCredit(): Account;
}
//# sourceMappingURL=Swap.d.ts.map