UNPKG

@ledgerhq/coin-algorand

Version:
23 lines (19 loc) 491 B
import { BigNumber } from "bignumber.js"; import { AccountBridge } from "@ledgerhq/types-live"; import type { Transaction } from "./types"; /** * Create an empty transaction * * @returns {Transaction} */ export const createTransaction: AccountBridge<Transaction>["createTransaction"] = () => ({ family: "algorand", amount: new BigNumber(0), fees: null, recipient: "", useAllAmount: false, memo: null, mode: "send", assetId: null, }); export default createTransaction;