Ref. these functions:
function sendBTCpush(hextx) {
url = 'http://blockchain.info/pushtx';
postdata = 'tx=' + hextx;
if (url != null && url != "")
{
ajax(url, postdata);
}
}
function sendBTCpush_chainso(hextx) {
url = 'https://chain.so/api/v2/send_tx/BTC';
postdata = 'tx_hex=' + hextx;
if (url != null && url != "")
{
ajax(url, postdata);
}
}
The Chain.so API does not work for me. It could be that my IP is blocked. Blockchain.info’s API works but it does not have a 100% uptime.
Just wonder if there are other APIs out there, and if all of them uses this url / postdata format?