Hi, when I use:
:/insight-api/addrs/txs");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "addrs=1DkxXKEDJAjYVLS1WMoyEuS5svJGhMAJ78,1DkxXKEDJAjYVLS1WMoyEuS5svJGhMAJ78");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$remote_server_output = curl_exec ($ch);
curl_close ($ch);
print_r($remote_server_output);
?>
I get this message:
TypeError: Cannot read property 'split' of undefined
at AddressController.checkAddrs (/root/mynode/node_modules/insight-api/lib/addresses.js:89:33)
at Layer.handle as handle_request
at next (/root/mynode/node_modules/bitcore-node/node_modules/express/lib/router/route.js:131:13)
at /root/mynode/node_modules/insight-api/lib/index.js:63:5
at Layer.handle as handle_request
at next (/root/mynode/node_modules/bitcore-node/node_modules/express/lib/router/route.js:131:13)
at Route.dispatch (/root/mynode/node_modules/bitcore-node/node_modules/express/lib/router/route.js:112:3)
at Layer.handle as handle_request
at /root/mynode/node_modules/bitcore-node/node_modules/express/lib/router/index.js:277:22
at Function.process_params (/root/mynode/node_modules/bitcore-node/node_modules/express/lib/router/index.js:330:12)
Can anybody help please?
Hi, when I use:
:/insight-api/addrs/txs"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, "addrs=1DkxXKEDJAjYVLS1WMoyEuS5svJGhMAJ78,1DkxXKEDJAjYVLS1WMoyEuS5svJGhMAJ78"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $remote_server_output = curl_exec ($ch); curl_close ($ch); print_r($remote_server_output); ?>I get this message:
TypeError: Cannot read property 'split' of undefined
at AddressController.checkAddrs (/root/mynode/node_modules/insight-api/lib/addresses.js:89:33)
at Layer.handle as handle_request
at next (/root/mynode/node_modules/bitcore-node/node_modules/express/lib/router/route.js:131:13)
at /root/mynode/node_modules/insight-api/lib/index.js:63:5
at Layer.handle as handle_request
at next (/root/mynode/node_modules/bitcore-node/node_modules/express/lib/router/route.js:131:13)
at Route.dispatch (/root/mynode/node_modules/bitcore-node/node_modules/express/lib/router/route.js:112:3)
at Layer.handle as handle_request
at /root/mynode/node_modules/bitcore-node/node_modules/express/lib/router/index.js:277:22
at Function.process_params (/root/mynode/node_modules/bitcore-node/node_modules/express/lib/router/index.js:330:12)
Can anybody help please?