/** * @param string $method The HTTP method to use. * @param string $url The URL to use. * @param array|string|null $params The parameters to use for the request. * @param array|null $options The options to use for the response. * * @return JSON The response from the BlockScore API. */ public static function _makeRequest($method, $url, $params = null, $options = null) { $request = new ApiRequestor(BlockScore::$apiKey, BlockScore::$apiEndpoint); $response = $request->execute($method, $url, $params, $options); return $response; }