Current difficulty

Get the average difficulty of the latest blocks from all shards

GEThttps://alephium.nownodes.io/infos/current-difficulty
Response

Ok

Body
difficulty*string (bigint)
Request
const response = await fetch('https://alephium.nownodes.io/infos/current-difficulty', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "difficulty": "text"
}