Skip to content

WriteDid

POST
/dids/write

Did nym registration

Authorizations

Request Body required

object
keyType
required
string
Allowed values: ed25519 bls12381g1g2 bls12381g1 bls12381g2 x25519 p256 p384 p521 k256
seed
string
domain
string
method
required
string
network
string
did
string
role
string
endorserDid
string
didDocument

Construct a type with a set of properties K of type T

object
key
additional properties
privatekey
string
endpoint
string

Responses

200

DidResolutionResult

Examples
{
"did": "did:indy:bcovrin:testnet:LRCUFcizUL74AGgLqdJHK7",
"didDocument": {
"@context": [
"https://w3id.org/did/v1",
"https://w3id.org/security/suites/ed25519-2018/v1"
],
"id": "did:indy:bcovrin:testnet:LRCUFcizUL74AGgLqdJHK7",
"verificationMethod": [
{
"id": "did:indy:bcovrin:testnet:LRCUFcizUL74AGgLqdJHK7#verkey",
"type": "Ed25519VerificationKey2018",
"controller": "did:indy:bcovrin:testnet:LRCUFcizUL74AGgLqdJHK7",
"publicKeyBase58": "BapLDK4dEY88vWcQgNbpAPVVP4r3CHs4MvShmmhqkxXM"
}
],
"authentication": [
"did:indy:bcovrin:testnet:LRCUFcizUL74AGgLqdJHK7#verkey"
]
}
}