@@ -44,14 +44,14 @@ use crate::ldk::stop_ldk;
4444use crate :: routes:: {
4545 address, asset_balance, asset_metadata, backup, btc_balance, change_password,
4646 check_indexer_url, check_proxy_endpoint, close_channel, connect_peer, create_utxos,
47- decode_ln_invoice, decode_rgb_invoice, disconnect_peer , estimate_fee , fail_transfers ,
48- get_asset_media, get_channel_id, get_payment, get_swap, inflate, init, invoice_status ,
49- issue_asset_cfa, issue_asset_ifa, issue_asset_nia, issue_asset_uda, keysend, list_assets ,
50- list_channels, list_payments, list_peers, list_swaps, list_transactions, list_transfers ,
51- list_unspents, ln_invoice, lock, maker_execute, maker_init, network_info, node_info ,
52- open_channel, post_asset_media, refresh_transfers, restore, revoke_token, rgb_invoice ,
53- send_btc, send_onion_message, send_payment, send_rgb, shutdown, sign_message, sync , taker ,
54- unlock,
47+ decode_ln_invoice, decode_rgb_invoice, decode_swapstring , disconnect_peer , estimate_fee ,
48+ fail_transfers , get_asset_media, get_channel_id, get_payment, get_swap, inflate, init,
49+ invoice_status , issue_asset_cfa, issue_asset_ifa, issue_asset_nia, issue_asset_uda, keysend,
50+ list_assets , list_channels, list_payments, list_peers, list_swaps, list_transactions,
51+ list_transfers , list_unspents, ln_invoice, lock, maker_execute, maker_init, network_info,
52+ node_info , open_channel, post_asset_media, refresh_transfers, restore, revoke_token,
53+ rgb_invoice , send_btc, send_onion_message, send_payment, send_rgb, shutdown, sign_message,
54+ sync , taker , unlock,
5555} ;
5656use crate :: utils:: { start_daemon, AppState , LOGS_DIR } ;
5757
@@ -118,6 +118,7 @@ pub(crate) async fn app(args: UserArgs) -> Result<(Router, Arc<AppState>), AppEr
118118 . route ( "/createutxos" , post ( create_utxos) )
119119 . route ( "/decodelninvoice" , post ( decode_ln_invoice) )
120120 . route ( "/decodergbinvoice" , post ( decode_rgb_invoice) )
121+ . route ( "/decodeswapstring" , post ( decode_swapstring) )
121122 . route ( "/disconnectpeer" , post ( disconnect_peer) )
122123 . route ( "/estimatefee" , post ( estimate_fee) )
123124 . route ( "/failtransfers" , post ( fail_transfers) )
0 commit comments