UNPKG

@ledgerhq/coin-stacks

Version:
23 lines 671 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); async function getDeviceTransactionConfig(input) { const fields = []; fields.push({ type: "address", label: "Recipient", address: input.transaction.recipient, }); fields.push({ type: "text", label: "Nonce", value: input.transaction.nonce ? input.transaction.nonce.toFixed() : "0", }); fields.push({ type: "stacks.memo", label: "Memo", value: input.transaction.memo || "", }); return fields; } exports.default = getDeviceTransactionConfig; //# sourceMappingURL=deviceTransactionConfig.js.map