REST API
In the following examples, replace
https://lto.example.com
with the domain or IP address of your node. A node can be configured with an authorization token. This can be done in case the api of the node is exposed publicly. Once the token is configured the anchoring of hash on the chain requires an authorization header
Authorization: bearer <token>
get
https://lto.example.com
/identities/:address
Resolve DID
get
https://lto.example.com
/identities/:address/derived/:secret
Resolve derived DID
get
https://lto.example.com
/trust/:address
Get all the roles of an identity
Last modified 1yr ago