getPrescribedNames

getPrescribedNames is a method on the ARIO class that retrieves the list of ArNS names that are prescribed for observation during a specific epoch. If no epoch is specified, the current epoch is used.

getPrescribedNames does not require authentication.

Examples

getPrescribedNames

const prescribedNames = await ario.getPrescribedNames({ epochIndex: 0 });

Parameters

ParameterTypeDescriptionOptional
epochIndexnumber

The epoch index for which to retrieve prescribed names

true

Output

;['ardrive', 'ar-io', 'arweave', 'fwd', 'ao']

Was this page helpful?