List Networks

This service returns supported networks as list.

List Networks

GET {{server-url}}/networks

It returns the list of networks objects.

Headers

NameTypeDescription

Authorization*

String

UUID formatted access token

{
    // Response
}

Example Response Body

{
    "data": [
        {
            "id": 4,
            "name": "Local Ganache",
            "networkIdentifier": "ganache",
            "rpcUrl": "http://localhost:7545",
            "chainId": 5777,
            "coinSymbol": "ETH",
            "coinName": "Ethereum",
            "icon": "https://icon.ethereum.com"
        }
    ],
    "message": null,
    "code": 0,
    "error": false
}

Response Fields

id

Number

Represents network's identifier

name

String

Represents network's name

rpcUrl

String

Represents network's RPC Url.

chainId

Number

Represents network's chain identifier.

coinSymbol

String

Represents network's default coin symbol

coinName

String

Represents network's default coin name

icon

String

Represents network's coin icon url

Last updated