This combines all of the signatures from each user to create a transaction that can be sent on the network

This allows us to send a transaction that has been voted on (a signature of the transaction = a vote in our case) by a > threshold participants. This function needs the person to gather some data from the smart contract to pass to it.

import { combineSignedTx, getVaults } from "@intuweb3/web";
let myVaults = getVaults("0x123456", signer);

await combineSignedTx(vaultAddress, txId, signer);


InputType of InputDescription
vaultAddressStringVault address
txIdNumbertransaction id


OutputType of OutputDescription
combinedSignatureStringSigned transaction string ready to be sent