I'm currently working on an application which works very well, but discovered this issue today.
when I try to get the balance of Bitcoin cash address it gives this error below. I believe it has to do with the SSL.
"message": "certificate has expired",
"name": "Error",
"stack": "Error: certificate has expired\n at TLSSocket.onConnectSecure (_tls_wrap.js:1502:34)\n at TLSSocket.emit (events.js:314:20)\n at TLSSocket._finishInit (_tls_wrap.js:937:8)\n at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:711:12)",
"config": {
"url": "https://explorer-tbch.api.bitcoin.com/tbch/v1/addr/bchtest:qr8tm9fu626levty7euhs3q5az37gy3m3szwnd9586/utxo",
"method": "get",
"headers": {
"Accept": "application/json, text/plain, /",
"User-Agent": "axios/0.21.1"
},
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 30000,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1
},
"code": "CERT_HAS_EXPIRED"
}
I'm currently working on an application which works very well, but discovered this issue today.
when I try to get the balance of Bitcoin cash address it gives this error below. I believe it has to do with the SSL.
"message": "certificate has expired",
"name": "Error",
"stack": "Error: certificate has expired\n at TLSSocket.onConnectSecure (_tls_wrap.js:1502:34)\n at TLSSocket.emit (events.js:314:20)\n at TLSSocket._finishInit (_tls_wrap.js:937:8)\n at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:711:12)",
"config": {
"url": "https://explorer-tbch.api.bitcoin.com/tbch/v1/addr/bchtest:qr8tm9fu626levty7euhs3q5az37gy3m3szwnd9586/utxo",
"method": "get",
"headers": {
"Accept": "application/json, text/plain, /",
"User-Agent": "axios/0.21.1"
},
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 30000,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1
},
"code": "CERT_HAS_EXPIRED"
}