2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-15 18:13:00 +00:00
RTL/routes/c-lightning/network.js
Shahana Farooqui c671f9d751 Home Fee Rates
Home Fee Rates
2019-09-10 21:41:33 -04:00

12 lines
531 B
JavaScript

const NetworkController = require("../../controllers/c-lightning/network");
const express = require("express");
const router = express.Router();
const authCheck = require("../authCheck");
router.get("/getRoute/:destPubkey/:amount", authCheck, NetworkController.getRoute);
router.get("/listNode/:id", authCheck, NetworkController.listNode);
router.get("/listChannel/:channelShortId", authCheck, NetworkController.listChannel);
router.get("/feeRates/:feeRateStyle", authCheck, NetworkController.feeRates);
module.exports = router;