Check SUBTC Gateway Health
Before interacting with the SUBTC Bitcoin API, it's important to check the gateway health.<br>This ensures the service is running and shows basic network parameters.
Command:
curl -sS "https://api.subtc.net/health"
Example response:
{<br>"ok": true,<br>"request_id": "804e9db91f87f083",<br>"result": {<br>"coin": "btc",<br>"configured": true,<br>"fee_bps": 300,<br>"min_send_sat": 50000<br>}<br>}
What happened:
The API returned the current health status:
configured: true→ the gateway is ready
fee_bps: 300→ transaction fee in basis points
min_send_sat: 50000→ minimum sendable satoshis
API Base:<br>https://subtc.net/api