pub async fn create_l2_headers<S: Eip712Signer + Send + Sync>(
signer: &S,
creds: &ApiKeyCreds,
method: &str,
request_path: &str,
body: Option<&str>,
timestamp: Option<u64>,
) -> Result<Headers, ClobError>Expand description
Build L2 headers using HMAC signature (POLY API HMAC) along with API key/passphrase.