fedimint_ln_common/
gateway_endpoint_constants.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/// Use `_` for word separator

pub const ADDRESS_ENDPOINT: &str = "/address";
pub const BACKUP_ENDPOINT: &str = "/backup";
pub const BALANCE_ENDPOINT: &str = "/balance";
pub const CONFIGURATION_ENDPOINT: &str = "/config";
pub const CONNECT_FED_ENDPOINT: &str = "/connect_fed";
pub const GATEWAY_INFO_ENDPOINT: &str = "/info";
pub const GET_BALANCES_ENDPOINT: &str = "/balances";
pub const GET_GATEWAY_ID_ENDPOINT: &str = "/id";
pub const GATEWAY_INFO_POST_ENDPOINT: &str = "/info";
pub const GET_LN_ONCHAIN_ADDRESS_ENDPOINT: &str = "/get_ln_onchain_address";
pub const LEAVE_FED_ENDPOINT: &str = "/leave_fed";
pub const LIST_ACTIVE_CHANNELS_ENDPOINT: &str = "/list_active_channels";
pub const MNEMONIC_ENDPOINT: &str = "/mnemonic";
pub const OPEN_CHANNEL_ENDPOINT: &str = "/open_channel";
pub const CLOSE_CHANNELS_WITH_PEER_ENDPOINT: &str = "/close_channels_with_peer";
pub const RECEIVE_ECASH_ENDPOINT: &str = "/receive_ecash";
pub const PAY_INVOICE_ENDPOINT: &str = "/pay_invoice";
pub const SET_CONFIGURATION_ENDPOINT: &str = "/set_configuration";
pub const STOP_ENDPOINT: &str = "/stop";
pub const SPEND_ECASH_ENDPOINT: &str = "/spend_ecash";
pub const WITHDRAW_ENDPOINT: &str = "/withdraw";