Parameter | Type | EVM | Substrate | Description |
---|---|---|---|---|
address | string | Required | Required | Used for the id and controller fields in the generated DID Document. |
chainType | ChainType | Required | Required | Defines the expected type of address to be passed. H160 for EVM and SS58 for Substrate. Defaults expect SS58 address. |
customDocumentFields | customDocumentFields | Optional | Optional | Used to set specific fields of the DID Document. If none is set, an empty document will be generated with id and controller set. |