Skip to main content

Module client

Module client 

Source
Expand description

reqwest-backed REST client for the Derive API.

DeriveHttpClient exposes typed send_public / send_private dispatchers plus thin wrappers for the two endpoints that establish the plumbing this crate needs to grow against: public/get_instruments and private/order. Authenticated requests inject the EIP-191 session-key headers built by crate::signing::auth.

Structsยง

DeriveCredentials
Credentials used to sign authenticated REST requests.
DeriveHttpClient
HTTP client for the Derive REST API.