Get networks
Retrieves a list of all blockchain networks supported by the platform.
HTTP request
GET /v1/networks/
Request
Header parameters
Requires authentication.
Body parameters
Doesn't require setting any parameters.
Response
Successful response
| Name | Type | Required | Description |
|---|---|---|---|
id | Number | Required | Network id. |
code | String | Required | Network code. |
name | String | Required | Network name. |
supports_custom_tokens | Bool | Optional | If parameter is set to true for a network, users can exchange custom tokens on that network. In this case, tokens returned by the API for the selected network represent popular tokens, but they do not form a complete list of all supported tokens. |
Sample response
application/json
[
{
"id": 1,
"code": "eth",
"name": "Ethereum",
"supports_custom_tokens": false
},
...
]
Error response
Check the error response schema.