@ledgerhq/coin-multiversx
Version:
Ledger MultiversX Coin integration
26 lines • 813 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.createTransaction = void 0;
const bignumber_js_1 = __importDefault(require("bignumber.js"));
const constants_1 = require("./constants");
/**
* Create an empty t
*
* @returns {Transaction}
*/
const createTransaction = () => {
return {
family: "multiversx",
mode: "send",
amount: new bignumber_js_1.default(0),
recipient: "",
useAllAmount: false,
fees: new bignumber_js_1.default(50000),
gasLimit: constants_1.MIN_GAS_LIMIT,
};
};
exports.createTransaction = createTransaction;
//# sourceMappingURL=createTransaction.js.map