mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-11-15 18:13:00 +00:00
c671f9d751
Home Fee Rates
12 lines
531 B
JavaScript
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;
|