Keymaster API
warning
This feature is currently in the experimental stage of development. Do not use it in production environments or presume it is secure. Expect breaking changes.
Keymaster API (1.0.0)
Download OpenAPI specification:Download
API for managing wallets, identities, credentials, and more
Response samples
- 200
Content type
application/json
{- "seed": {
- "mnemonic": "string",
- "hdkey": {
- "xpriv": "string",
- "xpub": "string"
}
}, - "counter": 2,
- "ids": {
- "example-id": {
- "did": "did:test:string",
- "account": 1,
- "index": 0
}
}, - "names": {
- "example-name-1": "did:string",
- "example-name-2": "did:string",
- "example-name-3": "did:string"
}, - "current": "example-id"
}
Response samples
- 200
Content type
application/json
{- "didDocument": {
- "id": "did:test:string",
- "verificationMethod": [
- {
- "id": "#key-1",
- "controller": "did:test:string",
- "type": "string",
- "publicKeyJwk": {
- "kty": "EC",
- "crv": "secp256k1",
- "x": "string",
- "y": "string"
}
}
], - "authentication": [
- "#key-1"
]
}, - "didDocumentMetadata": {
- "created": "2024-07-26T19:27:03.379Z",
- "version": 1,
- "confirmed": true
}, - "didDocumentData": { },
- "mdip": {
- "version": 1,
- "type": "string",
- "registry": "TESS"
}
}
Response samples
- 200
Content type
application/json
{- "didDocument": {
- "id": "did:test:string",
- "controller": "did:test:string"
}, - "didDocumentMetadata": {
- "created": "2024-07-26T19:53:44.468Z",
- "version": 2,
- "confirmed": true,
- "updated": "2024-07-26T19:56:36.636Z"
}, - "didDocumentData": {
- "name": "string",
- "members": [
- "did:test:string"
]
}, - "mdip": {
- "version": 1,
- "type": "string",
- "registry": "string"
}
}