lookupFeaturedAppRight backs dashboards confirming featured boosts referencing rewards enumerated getMiningRoundDetails.
Setup
import { Canton } from '@fairmint/canton-node-sdk';
const canton = new Canton({
network: 'devnet',
provider: '5n',
partyId: 'OWN_PARTY_ID',
});
Import and receiver
import { Canton } from '@fairmint/canton-node-sdk';
Receiver: canton.validator.lookupFeaturedAppRight.
Minimal example
const featured = await canton.validator.lookupFeaturedAppRight({
partyId: 'Alice::1220...',
});
Parameters
partyId(required, string) — Provider participant undergoing evaluation—maps REST template{partyId}.
Returns
Validator scan-proxy JSON capturing entitlement proofs—the precise schema derives from generated validator scan-proxy OpenAPI snapshots bundled beside SDK releases.
Errors and pitfalls
- Missing featured registrations yield REST semantics representing absent proofs—UX must degrade gracefully.
Auth and party
Authenticated bearer token referencing Validator GET semantics—often identical credential powering wallet surfaces anyway.
See also
Source
src/clients/validator-api/operations/v0/scan-proxy/lookup-featured-app-right.ts on GitHub.