> For the complete documentation index, see [llms.txt](https://nownodes.gitbook.io/alph-alephium/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nownodes.gitbook.io/alph-alephium/alph-alephium/infos.md).

# Infos

## Get basic ALPH node information

> Returns the build version, commit hash, UPnP configuration, and the external address (if available) of the ALPH node.<br>

```json
{"openapi":"3.0.0","info":{"title":"Alephium API","version":"3.3.0"},"servers":[{"url":"https://alephium.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"BadRequest":{"title":"BadRequest","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"Unauthorized":{"title":"Unauthorized","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"NotFound":{"title":"NotFound","type":"object","required":["detail","resource"],"properties":{"detail":{"type":"string"},"resource":{"type":"string"}}},"InternalServerError":{"title":"InternalServerError","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"ServiceUnavailable":{"title":"ServiceUnavailable","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}}}},"paths":{"/infos/node":{"get":{"tags":["Infos"],"summary":"Get basic ALPH node information","description":"Returns the build version, commit hash, UPnP configuration, and the external address (if available) of the ALPH node.\n","responses":{"200":{"description":"Node information retrieved successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"buildInfo":{"type":"object","description":"Information about the build version of the node.","properties":{"releaseVersion":{"type":"string","description":"Release version of the ALPH node software."},"commit":{"type":"string","description":"Git commit hash the node was built from."}}},"upnp":{"type":"boolean","description":"Indicates whether UPnP (Universal Plug and Play) is enabled."},"externalAddress":{"type":"string","nullable":true,"description":"The external IP address detected by the node. May be `null` if not available or not configured.\n"}},"required":["buildInfo","upnp","externalAddress"]}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}}}}
```

## Get ALPH Node Software Version

> Returns the current version of the ALPH node software.

```json
{"openapi":"3.0.0","info":{"title":"Alephium API","version":"3.3.0"},"servers":[{"url":"https://alephium.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"BadRequest":{"title":"BadRequest","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"Unauthorized":{"title":"Unauthorized","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"NotFound":{"title":"NotFound","type":"object","required":["detail","resource"],"properties":{"detail":{"type":"string"},"resource":{"type":"string"}}},"InternalServerError":{"title":"InternalServerError","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"ServiceUnavailable":{"title":"ServiceUnavailable","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}}}},"paths":{"/infos/version":{"get":{"tags":["Infos"],"summary":"Get ALPH Node Software Version","description":"Returns the current version of the ALPH node software.","responses":{"200":{"description":"Version information retrieved successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"string","description":"Current version of the ALPH node."}},"required":["version"]}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}}}}
```

## Get Chain Parameters

> Returns various blockchain configuration parameters used by the ALPH node.

```json
{"openapi":"3.0.0","info":{"title":"Alephium API","version":"3.3.0"},"servers":[{"url":"https://alephium.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"BadRequest":{"title":"BadRequest","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"Unauthorized":{"title":"Unauthorized","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"NotFound":{"title":"NotFound","type":"object","required":["detail","resource"],"properties":{"detail":{"type":"string"},"resource":{"type":"string"}}},"InternalServerError":{"title":"InternalServerError","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"ServiceUnavailable":{"title":"ServiceUnavailable","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}}}},"paths":{"/infos/chain-params":{"get":{"tags":["Infos"],"summary":"Get Chain Parameters","description":"Returns various blockchain configuration parameters used by the ALPH node.","responses":{"200":{"description":"Chain parameters retrieved successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"networkId":{"type":"integer","description":"Numeric ID representing the blockchain network (e.g. 0 = mainnet, 1 = testnet)."},"numZerosAtLeastInHash":{"type":"integer","description":"Minimum number of leading zeros required in the block hash (difficulty setting)."},"groupNumPerBroker":{"type":"integer","description":"Number of groups handled per broker."},"groups":{"type":"integer","description":"Total number of groups in the network."}},"required":["networkId","numZerosAtLeastInHash","groupNumPerBroker","groups"]}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}}}}
```

## Get Self Clique Information

> Returns information about the current node's clique, including clique ID, participating nodes, and sync status.<br>

```json
{"openapi":"3.0.0","info":{"title":"Alephium API","version":"3.3.0"},"servers":[{"url":"https://alephium.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"BadRequest":{"title":"BadRequest","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"Unauthorized":{"title":"Unauthorized","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"NotFound":{"title":"NotFound","type":"object","required":["detail","resource"],"properties":{"detail":{"type":"string"},"resource":{"type":"string"}}},"InternalServerError":{"title":"InternalServerError","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"ServiceUnavailable":{"title":"ServiceUnavailable","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}}}},"paths":{"/infos/self-clique":{"get":{"tags":["Infos"],"summary":"Get Self Clique Information","description":"Returns information about the current node's clique, including clique ID, participating nodes, and sync status.\n","responses":{"200":{"description":"Self clique information retrieved successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"cliqueId":{"type":"string","description":"Unique identifier of the clique the node belongs to."},"nodes":{"type":"array","description":"List of nodes participating in the clique.","items":{"type":"object","properties":{"address":{"type":"string","description":"IP address of the node."},"restPort":{"type":"integer","description":"REST API port."},"wsPort":{"type":"integer","description":"WebSocket API port."},"minerApiPort":{"type":"integer","description":"Miner API port."}},"required":["address","restPort","wsPort","minerApiPort"]}},"selfReady":{"type":"boolean","description":"Indicates whether the current node is ready within the clique."},"synced":{"type":"boolean","description":"Indicates whether the current node is fully synchronized."}},"required":["cliqueId","nodes","selfReady","synced"]}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}}}}
```

## Get Inter-Clique Peer Information

> Returns a list of peers from other cliques that the node is aware of, including their clique IDs, sync status, and client version.<br>

```json
{"openapi":"3.0.0","info":{"title":"Alephium API","version":"3.3.0"},"servers":[{"url":"https://alephium.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"BadRequest":{"title":"BadRequest","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"Unauthorized":{"title":"Unauthorized","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"NotFound":{"title":"NotFound","type":"object","required":["detail","resource"],"properties":{"detail":{"type":"string"},"resource":{"type":"string"}}},"InternalServerError":{"title":"InternalServerError","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"ServiceUnavailable":{"title":"ServiceUnavailable","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}}}},"paths":{"/infos/inter-clique-peer-info":{"get":{"tags":["Infos"],"summary":"Get Inter-Clique Peer Information","description":"Returns a list of peers from other cliques that the node is aware of, including their clique IDs, sync status, and client version.\n","responses":{"200":{"description":"Peer information retrieved successfully.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"cliqueId":{"type":"string","description":"Unique identifier of the peer's clique."},"brokerId":{"type":"integer","description":"Broker ID associated with the peer."},"groupNumPerBroker":{"type":"integer","description":"Number of groups managed by the peer's broker."},"address":{"type":"object","description":"Network address of the peer.","properties":{"addr":{"type":"string","description":"IP address of the peer."},"port":{"type":"integer","description":"Port number used by the peer."}},"required":["addr","port"]},"isSynced":{"type":"boolean","description":"Indicates whether the peer is synchronized."},"clientVersion":{"type":"string","description":"Version and platform details of the peer's client."}},"required":["cliqueId","brokerId","groupNumPerBroker","address","isSynced","clientVersion"]}}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}}}}
```

## Get Discovered Neighboring Peers

> Returns a list of discovered neighbors from other cliques, including their clique ID, broker ID, broker number, and network address.<br>

```json
{"openapi":"3.0.0","info":{"title":"Alephium API","version":"3.3.0"},"servers":[{"url":"https://alephium.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"BadRequest":{"title":"BadRequest","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"Unauthorized":{"title":"Unauthorized","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"NotFound":{"title":"NotFound","type":"object","required":["detail","resource"],"properties":{"detail":{"type":"string"},"resource":{"type":"string"}}},"InternalServerError":{"title":"InternalServerError","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"ServiceUnavailable":{"title":"ServiceUnavailable","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}}}},"paths":{"/infos/discovered-neighbors":{"get":{"tags":["Infos"],"summary":"Get Discovered Neighboring Peers","description":"Returns a list of discovered neighbors from other cliques, including their clique ID, broker ID, broker number, and network address.\n","responses":{"200":{"description":"Discovered neighbors retrieved successfully.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"cliqueId":{"type":"string","description":"Unique identifier of the discovered peer's clique."},"brokerId":{"type":"integer","description":"ID of the broker within the clique."},"brokerNum":{"type":"integer","description":"Number of brokers in the clique."},"address":{"type":"object","description":"Network address of the discovered neighbor.","properties":{"addr":{"type":"string","description":"IP address of the peer."},"port":{"type":"integer","description":"Port number used by the peer."}},"required":["addr","port"]}},"required":["cliqueId","brokerId","brokerNum","address"]}}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}}}}
```

## Get Misbehaving Peers

> Returns a list of peers that have been flagged for misbehavior, including their status and ban information.<br>

```json
{"openapi":"3.0.0","info":{"title":"Alephium API","version":"3.3.0"},"servers":[{"url":"https://alephium.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"BadRequest":{"title":"BadRequest","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"Unauthorized":{"title":"Unauthorized","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"NotFound":{"title":"NotFound","type":"object","required":["detail","resource"],"properties":{"detail":{"type":"string"},"resource":{"type":"string"}}},"InternalServerError":{"title":"InternalServerError","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"ServiceUnavailable":{"title":"ServiceUnavailable","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}}}},"paths":{"/infos/misbehaviors":{"get":{"tags":["Infos"],"summary":"Get Misbehaving Peers","description":"Returns a list of peers that have been flagged for misbehavior, including their status and ban information.\n","responses":{"200":{"description":"Misbehaving peer list retrieved successfully.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"peer":{"type":"string","description":"IP address of the misbehaving peer."},"status":{"type":"object","description":"Current status of the peer, including type and ban duration.","properties":{"type":{"type":"string","enum":["Banned","Unknown"],"description":"Status type of the peer (e.g., Banned)."},"until":{"type":"integer","format":"int64","description":"Unix timestamp in milliseconds until which the peer is banned."}},"required":["type","until"]}},"required":["peer","status"]}}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}}}}
```

## Get Unreachable Peers

> Returns a list of peer IP addresses that are currently unreachable from this node.<br>

```json
{"openapi":"3.0.0","info":{"title":"Alephium API","version":"3.3.0"},"servers":[{"url":"https://alephium.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"BadRequest":{"title":"BadRequest","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"Unauthorized":{"title":"Unauthorized","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"NotFound":{"title":"NotFound","type":"object","required":["detail","resource"],"properties":{"detail":{"type":"string"},"resource":{"type":"string"}}},"InternalServerError":{"title":"InternalServerError","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"ServiceUnavailable":{"title":"ServiceUnavailable","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}}}},"paths":{"/infos/unreachable":{"get":{"tags":["Infos"],"summary":"Get Unreachable Peers","description":"Returns a list of peer IP addresses that are currently unreachable from this node.\n","responses":{"200":{"description":"List of unreachable peers retrieved successfully.","content":{"application/json":{"schema":{"type":"array","items":{"type":"string","format":"ipv4","description":"IP address of an unreachable peer."}}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}}}}
```

## Get Historical Hashrate Summary

> Returns a summary string representing the node's hashrate over the specified time range.<br>

```json
{"openapi":"3.0.0","info":{"title":"Alephium API","version":"3.3.0"},"servers":[{"url":"https://alephium.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"Unauthorized":{"title":"Unauthorized","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"NotFound":{"title":"NotFound","type":"object","required":["detail","resource"],"properties":{"detail":{"type":"string"},"resource":{"type":"string"}}},"InternalServerError":{"title":"InternalServerError","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"ServiceUnavailable":{"title":"ServiceUnavailable","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}}}},"paths":{"/infos/history-hashrate":{"get":{"tags":["Infos"],"summary":"Get Historical Hashrate Summary","description":"Returns a summary string representing the node's hashrate over the specified time range.\n","parameters":[{"name":"fromTs","in":"query","description":"Start timestamp (Unix ms) for the requested hashrate history.","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"toTs","in":"query","description":"End timestamp (Unix ms) for the requested hashrate history.","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Historical hashrate summary retrieved successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"hashrate":{"type":"string","description":"Hashrate summary with unit (e.g., \"0 MH/s\")."}},"required":["hashrate"]}}}},"400":{"description":"Invalid or missing query parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}}}}
```

## Get Current Hashrate

> Returns the current hashrate of the node as a string with units.

```json
{"openapi":"3.0.0","info":{"title":"Alephium API","version":"3.3.0"},"servers":[{"url":"https://alephium.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"BadRequest":{"title":"BadRequest","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"Unauthorized":{"title":"Unauthorized","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"NotFound":{"title":"NotFound","type":"object","required":["detail","resource"],"properties":{"detail":{"type":"string"},"resource":{"type":"string"}}},"InternalServerError":{"title":"InternalServerError","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"ServiceUnavailable":{"title":"ServiceUnavailable","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}}}},"paths":{"/infos/current-hashrate":{"get":{"tags":["Infos"],"summary":"Get Current Hashrate","description":"Returns the current hashrate of the node as a string with units.","responses":{"200":{"description":"Current hashrate retrieved successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"hashrate":{"type":"string","description":"Current hashrate with unit (e.g., \"19812439796 MH/s\")."}},"required":["hashrate"]}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}}}}
```

## Get Current Difficulty

> Returns the current network difficulty as a string.

```json
{"openapi":"3.0.0","info":{"title":"Alephium API","version":"3.3.0"},"servers":[{"url":"https://alephium.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"BadRequest":{"title":"BadRequest","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"Unauthorized":{"title":"Unauthorized","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"NotFound":{"title":"NotFound","type":"object","required":["detail","resource"],"properties":{"detail":{"type":"string"},"resource":{"type":"string"}}},"InternalServerError":{"title":"InternalServerError","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}},"ServiceUnavailable":{"title":"ServiceUnavailable","type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}}}},"paths":{"/infos/current-difficulty":{"get":{"tags":["Infos"],"summary":"Get Current Difficulty","description":"Returns the current network difficulty as a string.","responses":{"200":{"description":"Current difficulty retrieved successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"difficulty":{"type":"string","description":"Current network difficulty value."}},"required":["difficulty"]}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}}}}
```
