@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
17 lines • 636 B
TypeScript
export declare const TransactionBroadcastError: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
url?: string | undefined;
} & TxData>;
export interface TransactionBroadcastError extends Error, TxData {
url?: string;
}
export declare const createTransactionBroadcastError: (error: Error, urls: {
faq: string;
txBroadcastErrors: Record<SpecificErrors, string>;
}, data: TxData) => TransactionBroadcastError;
type TxData = {
coin?: string;
network?: string;
};
type SpecificErrors = "badTxns" | "blobsLimit" | "txnMempoolConflict";
export {};
//# sourceMappingURL=transactionBroadcastErrors.d.ts.map