getRecords

getRecords is a method on the ANT class that retrieves all the records stored in the ANT process, including both base name records and undername records.

getRecords does not require authentication.

Examples

getRecords

const records = await ant.getRecords();

Parameters

The getRecords method does not accept any parameters.

Output

{
  "@": {
    "transactionId": "UyC5P5qKPZaltMmmZAWdakhlDXsBF6qmyrbWYFchRTk",
    "ttlSeconds": 3600
  },
  "blog": {
    "transactionId": "UyC5P5qKPZaltMmmZAWdakhlDXsBF6qmyrbWYFchRTk",
    "ttlSeconds": 3600
  },
  "docs": {
    "transactionId": "f5-cw-0Gl60FqmKhP5Sj3gQlJ1FhWXPkXB3UQEVoV4o",
    "ttlSeconds": 3600
  }
}

Was this page helpful?