Skip to main content

build_rest_auth_headers

Function build_rest_auth_headers 

Source
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 an error if the system clock is invalid, or if the underlying secp256k1 signer errors.