A human-readable dApp identifier, e.g. "ELEVATE".
Note that this field will be slugified using the
Contract.dApp method before it is attached
to the transfer transaction message.
Contains the access level that will be granted upon accepting the attached consent request.
Contains an encrypted message from the consent requester which should describe the purpose of getting access to the shared document.
Contains the transaction hash of the confirmed transaction
which links to metadata about the shared document.
Note that the linked transaction shall not reveal publicly,
the location of said shared document. Please use @dhealth/dimi-sdk
for further definition around handshakes and consent requests.
Generated using TypeDoc
ConsentParameters
This interface defines the requirements for objects passed as inputs to Consent instances.
Use this interface whenever you are using the
Consent
contract.Following inputs apply to the Consent contract class:
dappIdentifier
string
level
string
view
,edit
ordelete
scope
string
purpose
string
Using the
ConsentParameters
classOther links
Consent | Contract | Factory
v1.0.0