Added transaction library for Insight

This commit is contained in:
Chris Troutner
2019-07-01 20:30:51 -07:00
parent b26b2fffe5
commit ce55351f51
2 changed files with 189 additions and 0 deletions
+2
View File
@@ -60,6 +60,7 @@ const bitcoreV3 = require("./routes/v3/bitcore")
const blockbookV3 = require("./routes/v3/blockbook")
const insightV3 = require("./routes/v3/insight")
const insightBlockV3 = require("./routes/v3/insight/block")
const insightTranactionV3 = require("./routes/v3/insight/transaction")
require("dotenv").config()
@@ -143,6 +144,7 @@ app.use(`/${v3prefix}/` + `bitcore`, bitcoreV3.router)
app.use(`/${v3prefix}/` + `blockbook`, blockbookV3.router)
app.use(`/${v3prefix}/` + `insight`, insightV3.router)
app.use(`/${v3prefix}/` + `insight/block`, insightBlockV3.router)
app.use(`/${v3prefix}/` + `insight/transaction`, insightTranactionV3.router)
// catch 404 and forward to error handler
app.use((req, res, next) => {