@ledgerhq/coin-stellar
Version:
Ledger Stellar Coin integration
53 lines • 2.42 kB
TypeScript
/** Decoded summary of `extras.result_xdr` (Horizon transaction result XDR). */
export type StellarDecodedResultXdr = {
feeChargedStroops: string;
resultSwitch: string;
} | {
decodeFailed: true;
rawResultXdrBase64: string;
};
export type StellarBroadcastFailedFields = {
documentationSummary: string;
horizonTransactionCode: string;
horizonOperationCodes: string[] | undefined;
resultXdrSwitchName: string | undefined;
feeChargedStroops: string | undefined;
stellarDocUrl: string;
decodedResultXdr: StellarDecodedResultXdr | undefined;
envelopeXdr: string;
};
export declare const StellarBroadcastFailedError: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<StellarBroadcastFailedFields>;
export declare const StellarBurnAddressError: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
[key: string]: unknown;
}>;
export declare const StellarAssetRequired: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
[key: string]: unknown;
}>;
export declare const StellarMuxedAccountNotExist: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
[key: string]: unknown;
}>;
export declare const StellarWrongMemoFormat: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
[key: string]: unknown;
}>;
export declare const StellarAssetNotAccepted: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
[key: string]: unknown;
}>;
export declare const StellarAssetNotFound: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
[key: string]: unknown;
}>;
export declare const StellarNotEnoughNativeBalance: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
[key: string]: unknown;
}>;
export declare const StellarFeeSmallerThanRecommended: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
[key: string]: unknown;
}>;
export declare const StellarFeeSmallerThanBase: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
[key: string]: unknown;
}>;
export declare const StellarNotEnoughNativeBalanceToAddTrustline: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
[key: string]: unknown;
}>;
export declare const StellarSourceHasMultiSign: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
[key: string]: unknown;
}>;
//# sourceMappingURL=errors.d.ts.map