getNetworks

open fun getNetworks(): List<Network>

Retrieves the list of available blockchain networks from the API.

Return

A list of Network objects representing supported networks.

Throws

on a backend HTTP 400 response. Wrap the call in try/catch — the throw escapes uncaught.

If the API request fails or response parsing encounters an issue.