getActionsByWalletAddress method

Future<Map<String, dynamic>> getActionsByWalletAddress(
  1. String walletAddress, {
  2. int updatedAt = 0,
  3. String? tokenAddress,
})

Implementation

Future<Map<String, dynamic>> getActionsByWalletAddress(
  String walletAddress, {
  int updatedAt = 0,
  String? tokenAddress,
}) async {
  Response response = await _dio.get(
    '/v1/wallets/actions/$walletAddress',
    queryParameters: {
      'updatedAt': updatedAt,
      'tokenAddress': tokenAddress,
    },
    options: options,
  );
  return response.data['data'];
}