UNPKG

@ledgerhq/coin-stellar

Version:
7 lines 347 B
import { Networks, Transaction as StellarSdkTransaction } from "@stellar/stellar-sdk"; export function combine(transaction, signature, publicKey) { const unsignedTx = new StellarSdkTransaction(transaction, Networks.PUBLIC); unsignedTx.addSignature(publicKey, signature); return unsignedTx.toXDR(); } //# sourceMappingURL=combine.js.map