Skip to content

Instantly share code, notes, and snippets.

@woky
Created March 29, 2018 21:30
Show Gist options
  • Save woky/88fb2c58cd655a24eef3fbb0e1acd09f to your computer and use it in GitHub Desktop.
Save woky/88fb2c58cd655a24eef3fbb0e1acd09f to your computer and use it in GitHub Desktop.
POST /insight-api-zen/tx/send HTTP/1.1
content-type: multipart/form-data;boundary=--------------------------169936334099816031804939
accept: */*
content-length: 762
user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
accept-encoding: gzip,deflate
connection: close
Host: explorer.zenmine.pro
----------------------------169936334099816031804939
Content-Disposition: form-data; name="rawtx"
0100000001754d23a79d173c68b864b4844eae5c2b40c39abc0e0decfed62379fac249bff1000000006a47304402201037a7a1991cf702afb1406ec672212f2cd283147bcea52ae28d021fd25a529f02206c6e601be0eef949e13165c0a2f8b4513979e059296be72c3668fbffa8ef13180121034e831252b5114b94a673d34533a282260e5c8f39a35ea7e1d02c0bfe3a5a75fcffffffff0240420f00000000003f76a914629d789d3ed89c30268685d4bf23eff41338208a88ac20578278b74905b0065bbb91235363d1fe2b62a9a6277be5a024c27a3800000000033a4b04b4b0a86a00000000003f76a9146212a63c2c8e594d00cbf6a310fc470329fa5fe488ac20578278b74905b0065bbb91235363d1fe2b62a9a6277be5a024c27a3800000000033a4b04b400000000
----------------------------169936334099816031804939--
HTTP/1.1 500 Internal Server Error
X-Powered-By: Express
X-RateLimit-Limit: 10800
X-RateLimit-Remaining: 10364
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, HEAD, PUT, POST, OPTIONS
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Content-Length, Cache-Control, cf-connecting-ip
Content-Security-Policy: default-src 'self'
X-Content-Type-Options: nosniff
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Thu, 29 Mar 2018 21:21:18 GMT
Connection: close
Transfer-Encoding: chunked
<!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.types.str (/root/zen-explorer/node_modules/bitcore-node-zen/node_modules/bitcoind-rpc/lib/index.js:260:17)<br> &nbsp; &nbsp;at RpcClient.&lt;anonymous&gt; (/root/zen-explorer/node_modules/bitcore-node-zen/node_modules/bitcoind-rpc/lib/index.js:236:35)<br> &nbsp; &nbsp;at Bitcoin.sendTransaction (/root/zen-explorer/node_modules/bitcore-node-zen/lib/services/bitcoind.js:1791:15)<br> &nbsp; &nbsp;at Node.self.(anonymous function) [as sendTransaction] (/root/zen-explorer/node_modules/bitcore-node-zen/lib/node.js:223:27)<br> &nbsp; &nbsp;at TxController.send (/root/zen-explorer/node_modules/insight-api-zen/lib/transactions.js:316:13)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/root/zen-explorer/node_modules/bitcore-node-zen/node_modules/express/lib/router/layer.js:95:5)<br> &nbsp; &nbsp;at next (/root/zen-explorer/node_modules/bitcore-node-zen/node_modules/express/lib/router/route.js:137:13)<br> &nbsp; &nbsp;at Route.dispatch (/root/zen-explorer/node_modules/bitcore-node-zen/node_modules/express/lib/router/route.js:112:3)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/root/zen-explorer/node_modules/bitcore-node-zen/node_modules/express/lib/router/layer.js:95:5)<br> &nbsp; &nbsp;at /root/zen-explorer/node_modules/bitcore-node-zen/node_modules/express/lib/router/index.js:281:22</pre>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment