@ledgerhq/coin-stellar
Version:
Ledger Stellar Coin integration
24 lines • 907 B
TypeScript
import type { AccountLike, Account } from "@ledgerhq/types-live";
import type { CommonDeviceTransactionField as DeviceTransactionField } from "@ledgerhq/coin-framework/transaction/common";
import type { Transaction, TransactionStatus } from "../types";
export type ExtraDeviceTransactionField = {
type: "stellar.memo";
label: string;
} | {
type: "stellar.network";
label: string;
} | {
type: "stellar.assetCode";
label: string;
} | {
type: "stellar.assetIssuer";
label: string;
};
declare function getDeviceTransactionConfig({ status: { amount, estimatedFees }, transaction, }: {
account: AccountLike;
parentAccount: Account | null | undefined;
transaction: Transaction;
status: TransactionStatus;
}): Array<DeviceTransactionField | ExtraDeviceTransactionField>;
export default getDeviceTransactionConfig;
//# sourceMappingURL=deviceTransactionConfig.d.ts.map