4 - User B signs the transaction
Last updated
Last updated
The received signature requests from either or subscribing to can be signed through the following process.
Assuming the user subscribed to the, they can include the decoding and signing process inside the callback function ofmultisig.wss.onReceiveSignRequest()
as follows:
The multisig.wss.signTransaction()
returns an array of signatures. When this array contains one or more signatures, it means the transaction is ready for broadcasting otherwise not when it is empty.
decodedTransaction
The decoded transaction obtained from multisig.utils.decodeTransaction()
dhive Transaction
signerId
A signer id assigned by the backend
number
signatureRequestId
The signature request id assigned by the backend.
number
username
username of the signer
string
method
The keyType used when initiating the transaction
KeychainKeyTypes enum