Decode Transaction
Last updated
Last updated
We also provided a utility function to decode the encrypted transactions received from signature requests.
Under the hood, decodeTransaction()
will validate the authorities of the transaction and then decrypt the transaction through Keychain if it is valid.
Once the transaction has been decoded, the user can then sign the request.
Property | Description | Type |
---|---|---|
Property | Description | Type |
---|---|---|
signatureRequest
An array of SignatureRequest
objects.
SignatureRequest[]
username
The username of the user that is decoding the transaction.
stringenum
signer
The Signer object received inside the SignatureRequest
object.
Signer
signatureRequestId
The signature request id assigned by the backend.
number
transaction
A dhive Transaction
object
dhive Transaction
method
The keyType used when initiating the transaction
KeychainKeyTypes enum
username
The username of the signer
string