REST API
Last updated
Last updated
In the following examples, replacehttps://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
GET
https://lto.example.com/identities/:address
Resolve a DID into a DID document
Name | Type | Description |
---|---|---|
GET
https://lto.example.com/identities/:address/derived/:secret
GET
https://lto.example.com/trust/:address
Resolves the roles from an identity
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
address
string
DID or LTO address
address
string
DID or LTO address
secret
string
Base58 encoded random secret
address
string
Account's address in Base58 format