Mesh API
cURL
curl --request POST \ --url https://example.com/network/list \ --header 'Content-Type: application/json' \ --data '{ "metadata": {} }'
{ "network_identifiers": [ { "blockchain": "bitcoin", "network": "mainnet", "sub_network_identifier": { "network": "shard 1", "metadata": { "producer": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5" } } } ] }
This endpoint returns a list of NetworkIdentifiers that the Rosetta server supports.
A MetadataRequest is utilized in any request where the only argument is optional metadata.
Expected response to a valid request
A NetworkListResponse contains all NetworkIdentifiers that the node can serve information for.
Show child attributes
Was this page helpful?