Public RPC Node (rpc.stohncoin.org)
The Stohn Coin public node allows developers and applications to access blockchain data directly through a secure, read-only JSON-RPC endpoint. This eliminates the need to run a full node locally while maintaining compatibility with the standard Bitcoin Core RPC interface.
Endpoint
https://rpc.stohncoin.org/
Example Requests
GET:
curl "https://rpc.stohncoin.org/?method=getblockcount"
POST:
curl -X POST -H "Content-Type: application/json" \
-d '{"method":"getblockcount"}' \
https://rpc.stohncoin.org/
Response:
{"result":342482,"error":null,"id":"stohnrpc"}
Supported Methods
The following read-only RPC methods are available via the public node:
- Blockchain Info: getblockchaininfo, getchaintips, getdifficulty, getnetworkinfo, getbestblockhash, getblockcount, getblockhash, getblock, getblockheader, getchaintxstats, getmempoolinfo, getrawmempool, gettxoutsetinfo
- Transactions: getrawtransaction, decoderawtransaction, gettxout, gettransaction
- Mining & Network: getmininginfo, getpeerinfo, getconnectioncount, getnettotals
- Utility: getinfo, help, uptime, getrpcinfo
Write or wallet-related methods (sendtoaddress, stop, importwallet, etc.) are disabled for security reasons.
Parameters
Methods can accept parameters either via the params query argument (GET) or JSON array (POST).
GET Example:
curl "https://rpc.stohncoin.org/?method=getblockhash¶ms=[1000]"
POST Example:
curl -X POST -H "Content-Type: application/json" \
-d '{"method":"getblockhash", "params":[1000]}' \
https://rpc.stohncoin.org/
Parameters
RPC methods can include optional or required params values.
Parameters are passed as an array in the order expected by the method.
When using GET requests, the array is provided as a JSON string in the query:
https://rpc.stohncoin.org/?method=getblockhash¶ms=[1000]
When using POST, parameters are provided in the request body:
{
"method": "getblockhash",
"params": [1000]
}
Some methods require multiple parameters; for example:
{
"method": "getrawtransaction",
"params": ["<txid>", true]
}
The response will always return the result in Bitcoin-compatible JSON-RPC format:
{"result": "...", "error": null, "id": "stohnrpc"}
Rate Limiting
Each IP address may perform up to 30 requests per minute. If the limit is exceeded, a JSON error will be returned:
{"error":"Rate limit exceeded. Try again later."}
Caching
Responses are cached by Cloudflare for 10 seconds (max-age=10), with a 20-second stale-while-revalidate window to improve responsiveness while ensuring recent data.
Notes
- Fully synchronized with the Stohn Coin mainnet.
- Compatible with Bitcoin Core-style JSON-RPC output.
- Optimized for explorers, analytics, and light client applications.
STOHN DEVELOPERS