% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_auth.R
\name{.get_headers}
\alias{.get_headers}
\title{Create OKX API request headers}
\usage{
.get_headers(config, httr_method, httr_path, body_json = "")
}
\arguments{
\item{config}{List with `api_key`, `secret_key`, and `passphrase`.}

\item{httr_method}{HTTP method as a string (e.g., "GET" or "POST").}

\item{httr_path}{Path portion of the API endpoint.}

\item{body_json}{Optional JSON string of the request body.}
}
\value{
A `httr::add_headers` object containing the signed headers.
}
\description{
Generate the required signed headers for an OKX REST request.
}
