Skip to main content

WssAuth

Type Alias WssAuth 

Source
pub type WssAuth = ApiCredentials;
Expand description

WebSocket authentication for Polymarket API user channel.

Polymarket’s CLOB WebSocket expects the same L2 API credentials used for HTTP calls: { apiKey, secret, passphrase }.

Aliased Type§

pub struct WssAuth {
    pub api_key: String,
    pub secret: String,
    pub passphrase: String,
}

Fields§

§api_key: String§secret: String§passphrase: String