Skip to main content

get_http_base_url

Function get_http_base_url 

Source
pub const fn get_http_base_url(region: OKXRegion) -> &'static str
Expand description

Returns the HTTP base URL for the given region.

The REST host is region-only; demo trading reuses the live host together with the x-simulated-trading header.