ledgerCurrent method
The ledger_current method returns the unique identifiers of the current in-progress ledger. This command is mostly useful for testing, because the ledger returned is still in flux.
Implementation
Future<Map<String, dynamic>> ledgerCurrent() async {
final response =
await makeCustomCall<Map<String, dynamic>>("ledger_current");
return response;
}