Get latest KTL signed tree root
GET
/api/v1/ktl/root/latest
const url = 'http://localhost:3001/api/v1/ktl/root/latest';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3001/api/v1/ktl/root/latestPublic: return the latest signed Merkle-tree root from the Key Transparency Log. No authentication required.
Responses
Section titled “Responses”OK
Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}Internal Server Error
Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{ "error": "example", "success": true}