Options for the Aptos request, including the URL and path.
The configuration information for the SDK client instance.
The type of API being accessed, which determines how the response is handled.
The response from the API request or throws an AptosApiError if the request fails.
The main function to use when making an API request, returning the response or throwing an AptosApiError on failure.