FunctionsΒ§
- address π
- Generate deposit address
- auth_
middleware π - Middleware to authenticate an incoming request. Routes that are authenticated with this middleware always require a Bearer token to be supplied in the Authorization header.
- backup π
- Backup a gateway actor state
- close_
channels_ πwith_ peer - configuration π
- Display high-level information about the Gateway config
- connect_
fed π - Connect a new federation
- create_
bolt11_ πinvoice_ v2 - create_
invoice_ πfor_ operator - create_
offer_ πfor_ operator - extract_
bearer_ πtoken - Extracts the Bearer token from the Authorization header of the request.
- get_
balances π - get_
gateway_ πid - get_
invoice π - get_
ln_ πonchain_ address - info π
- Display high-level information about the Gateway
- leave_
fed π - Leave a federation
- list_
channels π - list_
transactions π - lnv1_
routes π - Public routes that are used in the LNv1 protocol
- lnv2_
routes π - Public routes that are used in the LNv2 protocol
- mnemonic π
- open_
channel π - pay_
bolt11_ πinvoice_ v2 - pay_
invoice π - pay_
invoice_ πoperator - pay_
offer_ πoperator - payment_
log π - payment_
summary π - receive_
ecash π - recheck_
address π - register_
get_ πhandler - Registers a GET API handler for both the HTTP server and the Iroh
Endpoint. - register_
post_ πhandler - Registers a POST API handler for both the HTTP server and the Iroh
Endpoint. - routes π
- Gateway Webserver Routes. The gateway supports two types of routes
- routing_
info_ πv2 - run_
webserver - Creates the webserverβs routes and spawns the webserver in a separate task.
- send_
onchain π - set_
fees π - spend_
ecash π - stop π
- verify_
bolt11_ πpreimage_ v2_ get - withdraw π
- Withdraw from a gateway federation.