Check SUBTC Gateway Health
Before interacting with the SUBTC Bitcoin API, it's important to check the gateway health.
This ensures the service is running and shows basic network parameters.
Command:
curl -sS "https://api.subtc.net/health"
Example response:
{
"ok": true,
"request_id": "804e9db91f87f083",
"result": {
"coin": "btc",
"configured": true,
"fee_bps": 300,
"min_send_sat": 50000
}
}
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:
https://subtc.net/api