The main function to use when doing an API request.
AptosRequest
The config information for the SDK client instance
the response or AptosApiError
The main function to use when doing an API request.