diff --git a/lib/commands.py b/lib/commands.py index bb10161c6..dead8b82b 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -672,6 +672,12 @@ class Commands: """ return wallet synchronization status """ return self.wallet.is_up_to_date() + @command('n') + def getfeerate(self): + """Return current optimal fee rate per kilobyte, according + to config settings (static/dynamic)""" + return self.config.fee_per_kb() + @command('') def help(self): # for the python console