getNextReward method

Future<Map<String, dynamic>> getNextReward(
  1. String walletAddress
)

Implementation

Future<Map<String, dynamic>> getNextReward(
  String walletAddress,
) async {
  Response response = await _dio.get(
    '/v1/wallets/apy/reward/$walletAddress',
    options: options,
  );

  return response.data['data'];
}