BTCP API
BitcoinSV JSON-RPC API by BitcoinPay Inc.
Endpoints
POST /api/tx/broadcast/testnet
Broadcast a raw transaction to BSV Testnet.
curl -X POST https://api.btcp.io/api/tx/broadcast/testnet \
-H "Content-Type: application/json" \
-d '{"raw":"0200000001..."}'// Response
{"txid": "abc123..."}POST /api/rpc
Generic JSON-RPC proxy.
curl -X POST https://api.btcp.io/api/rpc \
-H "Content-Type: application/json" \
-d '{"method":"getblockcount","params":[],"network":"testnet"}'GET /api/status
Node sync status.
curl https://api.btcp.io/api/status