Skip to content

api wallet rpc

Snider edited this page Nov 23, 2021 · 1 revision

Usage: lthn daemon wallet rpc

Description:

Wallet RPC

Options:

-h, --help                         - Show this help.                                                                                                   
--daemon-address         <string>  - Use daemon instance at :                                                                              
--daemon-host            <string>  - Use daemon instance at host  instead of localhost                                                            
--password               <string>  - Wallet password (escape/quote as needed)                                                                          
--password-file          <string>  - Wallet password file                                                                                              
--daemon-port            <string>  - Use daemon instance at port  instead of 48782                                                                
--daemon-login           <string>  - Specify username[:password] for daemon RPC client                                                                 
--testnet                          - For testnet. Daemon must also be launched with --testnet flag                                                     
--restricted-rpc                   - Restricts to view-only commands                                                                                   
--rpc-bind-port          <string>  - Sets bind port for server                                                                                         
--disable-rpc-login                - Disable HTTP authentication for RPC connections served by this process                                            
--trusted-daemon                   - Enable commands which rely on a trusted daemon                                                                    
--rpc-bind-ip            <string>  - Specify ip to bind rpc server                                                                                     
--rpc-login              <string>  - Specify username[:password] required for RPC server                                                               
--confirm-external-bind  <string>  - Confirm rpc-bind-ip value is NOT a loopback (local) IP                                                            
--wallet-file            <string>  - Use wallet                                                                                                        
--generate-from-json     <string>  - Generate wallet from JSON format file                                                                             
--wallet-dir             <string>  - Directory for newly created wallets                                     (Default: "/Users/snider/Lethean/wallets")
--log-file               <string>  - Specify log file                                                                                                  
--log-level              <string>  - 0-4 or categories                                                                                                 
--max-concurrency        <string>  - Max number of threads to use for a parallel job                                                                   
--config-file            <string>  - Config file                                         
Clone this wiki locally