UNPKG

@ledgerhq/coin-casper

Version:
9 lines 626 B
import { Unit } from "@ledgerhq/types-cryptoassets"; import BigNumber from "bignumber.js"; import { Transaction } from "casper-js-sdk"; import { ITxnHistoryData } from "../../api/types"; import { CasperOperation } from "../../types"; export declare const getUnit: () => Unit; export declare function mapTxToOps(accountId: string, addressHash: string, fees?: BigNumber): (tx: ITxnHistoryData) => CasperOperation[]; export declare const createNewTransaction: (sender: string, recipient: string, amount: BigNumber, fees: BigNumber, transferId?: string, network?: string) => Promise<Transaction>; //# sourceMappingURL=txn.d.ts.map