UNPKG

@ledgerhq/coin-stacks

Version:
15 lines 1.07 kB
import { BigNumber } from "bignumber.js"; import { Account, Operation } from "@ledgerhq/types-live"; import { MempoolTransaction, TransactionResponse } from "../../network/index"; import { StacksOperation } from "../../types"; export declare const getTxToBroadcast: (operation: StacksOperation, signature: string, rawData: Record<string, any>) => Promise<Buffer>; export declare const getUnit: () => import("@ledgerhq/types-cryptoassets").Unit; export declare const getAddress: (account: Account) => { address: string; derivationPath: string; }; export declare const mapPendingTxToOps: (accountID: string, address: string) => (tx: MempoolTransaction) => StacksOperation[]; export declare const mapTxToOps: (accountID: string, address: string) => (tx: TransactionResponse) => StacksOperation[]; export declare function reconciliatePublicKey(publicKey: string | undefined, initialAccount: Account | undefined): string; export declare const findNextNonce: (senderAddress: string, pendingOps: Operation[]) => Promise<BigNumber>; //# sourceMappingURL=misc.d.ts.map