UNPKG

@ledgerhq/coin-stellar

Version:
11 lines 797 B
import type { RawOperation, StellarMemo } from '../types'; import type { Operation } from '@ledgerhq/coin-module-framework/api/types'; import { Horizon } from '@stellar/stellar-sdk'; import BigNumber from 'bignumber.js'; export declare const BASE_RESERVE = 0.5; export declare const MIN_BALANCE = 1; export declare function getReservedBalance(account: Horizon.ServerApi.AccountRecord): BigNumber; export declare function rawOperationsToOperations(operations: RawOperation[], addr: string, accountId: string, minHeight: number): Promise<Operation[]>; export declare function parseSequence(seq: string | number | undefined): string | undefined; export declare function decodeMemo(transaction: Horizon.ServerApi.TransactionRecord): StellarMemo | undefined; //# sourceMappingURL=serialization.d.ts.map