UNPKG

@ledgerhq/coin-canton

Version:
15 lines (13 loc) 429 B
import BigNumber from "bignumber.js"; import { Transaction } from "../types"; import { AccountBridge } from "@ledgerhq/types-live"; // We create an empty transaction that will be filled later export const createTransaction: AccountBridge<Transaction>["createTransaction"] = () => ({ family: "canton", amount: new BigNumber(0), recipient: "", fee: null, memo: undefined, networkInfo: null, feeCustomUnit: null, });