@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
10 lines • 643 B
TypeScript
import { AccountBridge } from "@ledgerhq/types-live";
import type { AssetInfo } from "@ledgerhq/coin-framework/api/types";
import type { TokenCurrency } from "@ledgerhq/types-cryptoassets";
import type { GenericTransaction } from "./types";
export declare function genericPrepareTransaction(network: string, kind: string): AccountBridge<GenericTransaction>["prepareTransaction"];
export declare function getAssetInfos(tr: GenericTransaction, owner: string, getAssetFromToken: (token: TokenCurrency, owner: string) => AssetInfo): Promise<{
assetReference: string;
assetOwner: string;
}>;
//# sourceMappingURL=prepareTransaction.d.ts.map