S256 Block Explorer API

Access blockchain data programmatically without running a local wallet. All endpoints return JSON data and can be accessed via standard HTTP GET requests.

Base URL: https://explorer.sha256coin.eu/api/

Blockchain Info Blocks Transactions Addresses Search Daemon APIs Network Stats

📊 Blockchain Information

GET /api/blockchain-info
Returns current blockchain information including height, difficulty, connections, and network hashrate.
Example Request:
curl https://explorer.sha256coin.eu/api/blockchain-info
Example Response:
{
  "blocks": 12500,
  "difficulty": 0.00024414,
  "networkhashps": 12345678,
  "connections": 8
}
GET /api/supply
Returns the current circulating supply of S256.
Example Request:
curl https://explorer.sha256coin.eu/api/supply
Example Response:
{
  "supply": 1250000.00000000
}

🧱 Blocks

GET /api/blocks/recent/:count?
Returns recent blocks. Optional count parameter (default: 20).
Parameter Type Description
count integer Number of blocks to return (optional, default: 20)
page integer Page number for pagination (query parameter)
Example Request:
curl https://explorer.sha256coin.eu/api/blocks/recent/10?page=1
GET /api/block/:hashOrHeight
Returns detailed information about a specific block by hash or height.
Parameter Type Description
hashOrHeight string/integer Block hash or block height
Example Request (by height):
curl https://explorer.sha256coin.eu/api/block/1000
Example Request (by hash):
curl https://explorer.sha256coin.eu/api/block/00000000abe2a78ceb00eca81258804d59fe4ad45345e1750e705139e6da7297

💳 Transactions

GET /api/tx/:txid
Returns detailed information about a specific transaction.
Parameter Type Description
txid string Transaction ID (hash)
Example Request:
curl https://explorer.sha256coin.eu/api/tx/328fbe73f2b764658b57a0ac538d67e59b5c6bcde2c266a71bbb842f5430d595
GET /api/mempool
Returns transactions currently in the mempool (unconfirmed).
Example Request:
curl https://explorer.sha256coin.eu/api/mempool

📬 Addresses

GET /api/address/:address
Returns information about an address including balance, transaction count, and transaction history.
Parameter Type Description
address string S256 address (s2... bech32 or S... legacy format)
Example Request:
curl https://explorer.sha256coin.eu/api/address/S1A2B3C4D5E6F7G8H9
Example Response:
{
  "address": "S1A2B3C4D5E6F7G8H9",
  "balance": 100.50000000,
  "received": 250.00000000,
  "sent": 149.50000000,
  "txCount": 15,
  "transactions": [...]
}

⚙️ Daemon APIs (RPC Passthrough)

GET /api/getblockcount
Returns the current block height (number of blocks in the longest blockchain).
Example Request:
curl https://explorer.sha256coin.eu/api/getblockcount
Example Response:
{
  "blockcount": 12500
}
GET /api/getdifficulty
Returns the current mining difficulty.
Example Request:
curl https://explorer.sha256coin.eu/api/getdifficulty
Example Response:
{
  "difficulty": 0.00024414
}
GET /api/getnetworkhashps
Returns the estimated network hash rate (hashes per second).
Example Request:
curl https://explorer.sha256coin.eu/api/getnetworkhashps
Example Response:
{
  "networkhashps": 12345678.90
}
GET /api/getinfo
Returns comprehensive network information including version, protocol, connections, and more.
Example Request:
curl https://explorer.sha256coin.eu/api/getinfo

📈 Network Statistics

GET /api/stats/history
Returns historical network statistics (difficulty, hashrate, connections over time).
Parameter Type Description
hours integer Number of hours of history (default: 24, query parameter)
Example Request:
curl https://explorer.sha256coin.eu/api/stats/history?hours=48
GET /api/health
Returns the health status of the explorer and its connection to the blockchain node.
Example Request:
curl https://explorer.sha256coin.eu/api/health
Example Response:
{
  "status": "ok",
  "database": "connected",
  "node": "connected",
  "lastSync": "2025-12-23T18:00:00.000Z"
}

Rate Limiting

The search endpoint is rate-limited to 30 requests per minute per IP address. Other endpoints currently have no rate limits but please use responsibly.

Support

For questions or issues with the API, please visit: Discord | Telegram | GitHub

S256_SECURE_TERMINAL v1.337 [ENCRYPTED]
Initializing secure connection...
Decrypting blockchain parameters...
Access granted.