pub fn build_rest_auth_headers(
wallet: &str,
signer: &PrivateKeySigner,
) -> Result<AuthHeaders, AuthError>Expand description
Builds REST auth headers using the system clock as the reference time.
ยงErrors
Returns AuthError::ClockBeforeEpoch if the system clock is invalid,
or AuthError::SigningFailed when the underlying secp256k1 signer errors.