Skip to main content

Module auth

Module auth 

Source
Expand description

L1 API credential creation and derivation for the Polymarket CLOB.

Structs§

ApiCredentials
API credentials returned by the Polymarket CLOB auth endpoints.

Functions§

create_api_key
Creates new API credentials via POST /auth/api-key using L1 authentication.
create_or_derive_api_key
Creates or derives API credentials using L1 (EIP-712) authentication.
derive_api_key
Derives existing API credentials via GET /auth/derive-api-key using L1 authentication.