Generic function to send a request with optional API key and signature.
The API endpoint to call.
HTTP method to use (GET, POST, DELETE, etc.).
Optional
The time unit for the request.
Additional request options (isSigned).
A promise resolving to the response data object.
Generic function to send a request with optional API key and signature.