Coinset
UsageFull node

get_network_space

Retrieves an estimate of total space validating the chain between two block header hashes.

POST
/get_network_space
/get_network_space

Request Body

application/jsonRequired

The block header hashes

newer_block_header_hash
Required
string

Format: "hex"

older_block_header_hash
Required
string

Format: "hex"
curl -X POST "https://api.coinset.org/get_network_space" \
  -H "Content-Type: application/json" \
  -d '{
    "newer_block_header_hash": "string",
    "older_block_header_hash": "string"
  }'

OK

{
  "space": 0,
  "success": true,
  "error": "string"
}