Code Examples
Standard fetch examples using same-origin workspace routes.
Retrieve Address Details
Query a blockchain address to retrieve its current known details on a given network.
fetch(`/api/chains/${chain}/addresses/${address}`, { headers: { Authorization: `Bearer ${token}` } })List Investigation Cases
Retrieve a list of investigation cases within the workspace.
fetch("/api/cases", { headers: { Authorization: `Bearer ${token}` } })Get Workspace Timeline
Retrieve the global activity timeline for the current workspace.
fetch("/api/timeline", { headers: { Authorization: `Bearer ${token}` } })