nectarapi.openapi module
- nectarapi.openapi.get_default_api_for_method(method_name: str) str | None
Return the default API name for a method using the static map.
- Args:
method_name: The RPC method (without API prefix), e.g., “get_account_history”.
- Returns:
The API name string (e.g., “account_history_api”) or None if unknown.