Interface Address |
/did/getDoc |
Description |
The information in the DID Document is a record and description of the DID, so anyone can query the corresponding DID Document on the chain by the DID. It can be used to verify the DID and obtain the DID public key. |
Interface request parameter |
No. |
Parameter |
Type |
Required |
Description |
1 |
|
DidDocumentReq |
Y |
Wrapper class |
DidDocumentReq |
1 |
did |
String |
Y |
DID |
Interface response parameter |
No. |
Parameter |
Type |
Description |
1 |
|
DidDocument |
DID Document |
DidDocument |
1 |
did |
String |
DID |
2 |
version |
String |
Version |
3 |
created |
String |
Created date |
4 |
updated |
String |
Updated date |
5 |
authentication |
PublicKey |
Primary public key |
6 |
recovery |
PublicKey |
Recovery public key |
7 |
proof |
Proof |
Signature |
PublicKey |
1 |
publicKey |
String |
Public key |
2 |
type |
String |
Algorithm type |
Proof |
1 |
creator |
String |
DID involved in the calculation of the Signature value |
2 |
type |
String |
Algorithm type |
3 |
signatureValue |
String |
Signature value |