UNPKG

@ledgerhq/coin-stellar

Version:
11 lines 456 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.combine = void 0; const stellar_sdk_1 = require("@stellar/stellar-sdk"); function combine(transaction, signature, publicKey) { const unsignedTx = new stellar_sdk_1.Transaction(transaction, stellar_sdk_1.Networks.PUBLIC); unsignedTx.addSignature(publicKey, signature); return unsignedTx.toXDR(); } exports.combine = combine; //# sourceMappingURL=combine.js.map