List

Get List of Available Networks

post

This endpoint returns a list of NetworkIdentifiers that the Rosetta server supports.

Body

A MetadataRequest is utilized in any request where the only argument is optional metadata.

metadataobjectOptional
Responses
200
Expected response to a valid request
application/json
post
POST /network/list HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "metadata": {}
}
{
  "network_identifiers": [
    {
      "blockchain": "bitcoin",
      "network": "mainnet",
      "sub_network_identifier": {
        "network": "shard 1",
        "metadata": {
          "producer": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5"
        }
      }
    }
  ]
}