@ledgerhq/coin-icon
Version:
Ledger Icon Coin integration
17 lines (15 loc) • 330 B
text/typescript
import { BigNumber } from "bignumber.js";
import type { Transaction } from "./types";
/**
* Create an empty transaction
*
* @returns {Transaction}
*/
export const createTransaction = (): Transaction => ({
family: "icon",
mode: "send",
amount: new BigNumber(0),
recipient: "",
useAllAmount: false,
fees: null,
});