API Reference

The read method retrieves a list of Edge Nodes, including both default and custom Edge Nodes.

try {
  const edgeNodes = await sdk.edgeNodes.read();

  console.log(edgeNodes); // List of Edge Nodes
} catch (error) {
  console.error(error.message);
}