API Reference Polymarket v#0.2.0

Copy Markdown View Source

Modules

Higher-level Elixir SDK for Polymarket.

Hand-rolled Solidity ABI primitives for the fixed on-chain surfaces in this SDK.

Pure normalization and join helpers for Polymarket activity data.

Typed struct for a single normalized Polymarket activity event.

Gnosis Conditional Tokens Framework (CTF) operations Polymarket relies on.

Polymarket CollateralOnramp / CollateralOfframp pUSD operations.

Shared host constants for the Polymarket SDK.

Read-only wrappers for Polymarket's public Data API.

ERC-20 helpers for the SDK's on-chain surface.

Read-only wrappers for Polymarket's Gamma market-discovery API.

Generic Req-based transport helper for the Polymarket SDK.

CLOB market-data websocket client — the order-book stream.

Hand-rolled RLP (Recursive Length Prefix) encoder for Ethereum legacy (type-0) transaction serialization.

Stateless JSON-RPC 2.0 client for Polygon (and any other EVM chain that speaks standard eth_* JSON-RPC).

Real-time trade feed client for Polymarket (RTDS — Real-Time Data Socket).

Pure EIP-155 legacy (type-0) Ethereum transaction serialization and signing.