fetchReserveFee static method
This asynchronous function fetches the reserve fee from an XRPL server.
Implementation
static Future<int> fetchReserveFee(XRPLRpc client) async {
/// Fetch the server state from the XRPL server.
final response = await client.request(RPCServerState());
/// Extract the reserve increment value from the server state and return it.
return response.state.validatedLedger.reserveInc;
}