Skip to content

Reference

listAnsEntries

GET /entry/all — enumerate ANS catalogue rows aggregated via validator routing.

listAnsEntries backs dashboards scanning registered Canton ecosystem participants — responses follow the validator ANS listing schema.

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.listAnsEntries.

Minimal example

const catalog = await canton.validator.listAnsEntries();

Parameters

None.

Returns

ANS listing JSON from the validator /entry/all route.

Errors and pitfalls

  • Pagination-heavy catalogs might truncate depending on validator tuning—cross-check REST explorer docs.

Auth and party

Bearer credentials permitting catalogue enumeration.

See also

Source

src/clients/validator-api/operations/v0/ans/list-entries-proxy.ts on GitHub.