getBeaconByWalletAddress method

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

Implementation

Future<Map<String, dynamic>> getBeaconByWalletAddress(
  String walletAddress,
) async {
  String url = '/v1/wallets/beacons/$walletAddress';
  Response response = await _dio.post(
    url,
    options: options,
  );
  return response.data['data'];
}