Skip to main content

Get networks

Retrieves a list of all blockchain networks supported by the platform.

get
/v1/networks/

Request​

Header parameters​

Requires authentication.

Body parameters​

Doesn't require setting any parameters.


Response​

Successful response​

NameTypeRequiredDescription
idNumberRequiredNetwork id.
codeStringRequiredNetwork code.
nameStringRequiredNetwork name.
supports_custom_tokensBoolOptionalIf 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.
explorer_base_urlStringRequiredBase URL of the network's block explorer.
explorer_tx_urlStringRequiredURL template for a transaction page in the network's block explorer.
Sample response
application/json
[
{
"id": 1,
"code": "eth",
"name": "Ethereum",
"supports_custom_tokens": false,
"explorer_base_url": "https://etherscan.io",
"explorer_tx_url": "https://etherscan.io/tx/%1$s"
},
...
]

Error response​

Check the error response schema.

Error codes​

Error codeError typeError description
404http_errorIncorrect HTTP request.
401authentication_errorAuthentication error.
500internal_errorInternal server error.
{
"code": 404,
"type": "http_error",
"message": "HTTP error"
}