info_peers
Get a list of peers this node is connected to. Optionally filter by specific NodeIDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | The Avalanche network to query (default: mainnet) | |
| nodeIDs | No | Optional list of NodeIDs to filter peers by (e.g., ["NodeID-AbC..."]). If omitted, all peers are returned. |