Royalty claims made by this DID, newest first
Claims only — the amounts already taken. For what is available to claim, see `/datasets/{id}/royalty-flow`. 200 with an empty page for an unknown DID.
v1/dids/{did}/royalty-historyPath Parameters
didRequiredstring
Accepts did:alodium:<uuid>, did:alodium:<decimal>, bare <uuid> or bare
<decimal>. Percent-encoded forms work too — the handler unescapes
first, so did%3Aalodium%3A... from encodeURIComponent resolves correctly.
Query Parameters
tokenstring
Filter to one payment token. native or a 0x SPL token address.
frominteger
Inclusive lower bound on block number. Omitting it is distinct from
passing 0, so block 0 remains a usable filter value. Must be <= to.
0Format: "int64"tointeger
Inclusive upper bound on block number.
0Format: "int64"limitinteger
Page size. Server-configured default and ceiling (API_DEFAULT_LIMIT /
API_MAX_LIMIT; 50 and 200 unless overridden). A value above the ceiling
is silently clamped, not rejected — check pagination.limit in the
response rather than assuming the requested value was honoured. Values
below 1, or non-integers, are a 400.
1cursorstring
Opaque cursor from a previous response's pagination.nextCursor. Omit
for the first page. A malformed cursor is a 400.
curl -X GET "http://lineage-api.alodium-staging.svc.cluster.local:8001/v1/dids/string/royalty-history?token=native&from=0&to=0&limit=1&cursor=string"A page of past claims.
{
"items": [
{
"datasetId": "9eYZhBADw4gk5LBemDUTSYNLwGLb9gvqKKTV1WvUq3LU",
"blockNumber": 0,
"token": "native",
"recipient": "string",
"amount": "string",
"txHash": "9eYZhBADw4gk5LBemDUTSYNLwGLb9gvqKKTV1WvUq3LU"
}
],
"pagination": {
"limit": 0,
"nextCursor": "string",
"hasMore": true
}
}Last updated