Options

Get network options

post

Returns the version and allowed operations for the ICRC-1 ledger network.

Body
Responses
200
Network options
application/json
post
POST /v1/<YOUR_API_KEY_HERE>/network/options HTTP/1.1
Host: icrc-mainnet.icp.validationcloud.io
Content-Type: application/json
Accept: */*
Content-Length: 191

{
  "network_identifier": {
    "blockchain": "Internet Computer",
    "network": "mxzaz-hqaaa-aaaar-qaada-cai",
    "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": [],
    "items": "text",
    "errors": [
      {
        "code": 1,
        "message": "text",
        "retriable": true,
        "details": {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        }
      }
    ],
    "historical_balance_lookup": true,
    "mempool_coins": true,
    "call_methods": [],
    "items\"": "text"
  }
}

Was this helpful?