UNPKG

@ledgerhq/live-common

Version:
10 lines 643 B
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