pub(crate) async fn fetch_bootnodes(
endpoint: &str,
chain_id: u64,
) -> Result<Vec<NodeRecord>>Expand description
Fetches bootnodes from the given endpoint for the specified chain ID.
The endpoint must return JSON in the format:
{ "<chain_id>": ["enode://...", ...] }