enableWalletApy method

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

Implementation

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

  return response.data['data'];
}