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