Options

Get network options

post

Returns the version and allowed operations for this network.

Body
network_identifierobjectoptional

Responses
curl -L \
  --request POST \
  --url 'https://icp-mainnet.icp.validationcloud.io/v1/<YOUR_API_KEY_HERE>/network/options' \
  --header 'Content-Type: application/json' \
  --data '{
    "network_identifier": {
      "blockchain": "Internet Computer",
      "network": "00000000000000020101",
      "sub_network_identifier": {
        "network": "text",
        "metadata": {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        }
      }
    }
  }'
{
  "version": {
    "rosetta_version": "text",
    "node_version": "text",
    "metadata": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  },
  "allow": {
    "operation_statuses": [
      {
        "status": "text",
        "successful": true
      }
    ],
    "operation_types": [
      "text"
    ],
    "errors": [
      {
        "code": 1,
        "message": "text",
        "retriable": true,
        "details": {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        }
      }
    ],
    "historical_balance_lookup": true,
    "mempool_coins": true,
    "call_methods": [
      "text"
    ]
  }
}

Was this helpful?