create_l2_headers

Function create_l2_headers 

Source
pub fn create_l2_headers<T>(
    signer: &PrivateKeySigner,
    api_creds: &ApiCredentials,
    method: &str,
    req_path: &str,
    body: Option<&T>,
) -> Result<HashMap<&'static str, String>>
where T: ?Sized + Serialize,
Expand description

Create L2 headers for API calls (using API key and HMAC)