ln_gateway::rpc

Module rpc_server

Source

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 πŸ”’
extract_bearer_token πŸ”’
Extracts the Bearer token from the Authorization header of the request.
get_balances πŸ”’
get_gateway_id πŸ”’
get_ln_onchain_address πŸ”’
handle_post_info πŸ”’
Display high-level information about the Gateway
info πŸ”’
Display high-level information about the Gateway
leave_fed πŸ”’
Leave a federation
list_active_channels πŸ”’
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 πŸ”’
payment_log πŸ”’
payment_summary πŸ”’
receive_ecash πŸ”’
recheck_address πŸ”’
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 πŸ”’
v1_routes πŸ”’
Gateway Webserver Routes. The gateway supports three types of routes
withdraw πŸ”’
Withdraw from a gateway federation.