4 - User B signs the transaction
The received signature requests from either subscribing to Websocket or subscribing to real-time notification can be signed through the following process.
Assuming the user subscribed to the real-time notification, 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.
ISignTransaction object
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
Last updated