The creation of DID is done offline, so the following API is used to upload the DID to the chain and query the DID Document information on the chain.