@ledgerhq/coin-stellar
Version:
Ledger Stellar Coin integration
38 lines • 1.35 kB
TypeScript
import type { AccountLike, Account, AccountLikeArray } from "@ledgerhq/types-live";
import type { Transaction } from "../types";
declare function inferTransactions(transactions: Array<{
account: AccountLike;
transaction: Transaction;
}>, opts: Record<string, any>): Transaction[];
declare function inferAccounts(account: Account, opts: Record<string, any>): AccountLikeArray;
export default function makeCliTools(): {
options: readonly [{
readonly name: "fee";
readonly type: StringConstructor;
readonly desc: "how much fee";
}, {
readonly name: "memoType";
readonly type: StringConstructor;
readonly desc: "stellar memo type";
}, {
readonly name: "memoValue";
readonly type: StringConstructor;
readonly desc: "stellar memo value";
}, {
readonly name: "mode";
readonly type: StringConstructor;
readonly desc: "change operation type";
}, {
readonly name: "assetIssuer";
readonly type: StringConstructor;
readonly desc: "Asset issuer";
}, {
readonly name: "assetCode";
readonly type: StringConstructor;
readonly desc: "Same as token";
}];
inferTransactions: typeof inferTransactions;
inferAccounts: typeof inferAccounts;
};
export {};
//# sourceMappingURL=cli.d.ts.map