Skip to content

Instantly share code, notes, and snippets.

@vivekteega
Created December 24, 2021 08:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vivekteega/485e005054bac83b835e1e788bb551c1 to your computer and use it in GitHub Desktop.
Save vivekteega/485e005054bac83b835e1e788bb551c1 to your computer and use it in GitHub Desktop.
Flosight API test
API CALL
--------
https://flosight.duckdns.org/api/tx/send?txid=4a0a2102c85d32062cec4e77b6ec2637c8f4500a26e753d2e9ef33dbbc9b0039
RESPONSE
--------
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>TypeError: Cannot read property &#39;toString&#39; of undefined<br> &nbsp; &nbsp;at Array.str (/flosight/node_modules/bitcoind-rpc/lib/index.js:267:18)<br> &nbsp; &nbsp;at RpcClient.&lt;anonymous&gt; (/flosight/node_modules/bitcoind-rpc/lib/index.js:243:35)<br> &nbsp; &nbsp;at P2P.sendTransaction (/flosight/flocore-node/lib/services/p2p/index.js:134:23)<br> &nbsp; &nbsp;at TxController.send (/flosight/node_modules/flosight-api/lib/transactions.js:331:13)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/flosight/node_modules/express/lib/router/layer.js:95:5)<br> &nbsp; &nbsp;at next (/flosight/node_modules/express/lib/router/route.js:137:13)<br> &nbsp; &nbsp;at Route.dispatch (/flosight/node_modules/express/lib/router/route.js:112:3)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/flosight/node_modules/express/lib/router/layer.js:95:5)<br> &nbsp; &nbsp;at /flosight/node_modules/express/lib/router/index.js:281:22<br> &nbsp; &nbsp;at Function.process_params (/flosight/node_modules/express/lib/router/index.js:335:12)</pre>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment