comAtprotoIdentityResolveHandle top-level constant
com.atproto.identity.resolveHandle
Implementation
const comAtprotoIdentityResolveHandle = <String, dynamic>{
"lexicon": 1,
"id": "com.atproto.identity.resolveHandle",
"defs": {
"main": {
"type": "query",
"description": "Resolves a handle (domain name) to a DID.",
"parameters": {
"type": "params",
"required": ["handle"],
"properties": {
"handle": {
"type": "string",
"format": "handle",
"description": "The handle to resolve."
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["did"],
"properties": {
"did": {"type": "string", "format": "did"}
}
}
}
}
}
};