Actions111
- Account Actions
- Administration Actions
- Block Actions
- Confirmation Actions
- Conversion Actions
- Key Actions
- Ledger Actions
- Network Actions
- Representative Actions
- Transaction Actions
- Wallet Actions
- Add Key to Wallet
- Add Watch-Only
- Change Password
- Change Wallet Seed
- Check Wallet Locked
- Create Account
- Create Multiple Accounts
- Create Wallet
- Destroy Wallet
- Enter Password
- Export Wallet
- Get Account Work
- Get Receive Minimum
- Get Wallet Balances
- Get Wallet Frontiers
- Get Wallet History
- Get Wallet Info
- Get Wallet Ledger
- Get Wallet Receivable
- Get Wallet Representative
- Get Wallet Work
- List Accounts
- Lock Wallet
- Move Accounts
- Remove Account
- Republish Wallet Blocks
- Search Receivable
- Search Receivable All
- Set Account Representative
- Set Account Work
- Set Receive Minimum
- Set Wallet Representative
- Validate Password
- Wallet Contains
- Work Actions
Network → Get Peers
AI-generatedSummary
Retrieves the list of peers connected to the Nano node.
Inputs
- peerDetails — Whether to include detailed peer info including node_id and connection type (v18.0+). Default: false.
- options.timeout — Request timeout in milliseconds. Default: 15000 (15 s). Range: 1000–600000.
- options.maxRetries — How many times to retry transient RPC failures before failing. Default: 2. Range: 0–10.
Output shape
Returns an array of peer objects. If peerDetails is false (default) each entry contains basic peer information (e.g., address). If peerDetails is true, each entry also includes node_id and connection type.
The actual shape depends on the Nano RPC version; refer to the node's RPC documentation for exact fields.