pub async fn create_api_key(
private_key: &EvmPrivateKey,
nonce: u64,
base_url: Option<&str>,
) -> Result<ApiCredentials>Expand description
Creates new API credentials via POST /auth/api-key using L1 authentication.
Fails if credentials already exist for this (address, nonce) pair.
Use derive_api_key to retrieve existing credentials, or
create_or_derive_api_key for idempotent behavior.