@polymarket/client
v0.9.0
Published
The Polymarket TypeScript client
Maintainers
Keywords
Readme
@polymarket/client
@polymarket/client is the official TypeScript client for building on Polymarket.
Installation
pnpm add @polymarket/clientUsage
import { createPublicClient } from '@polymarket/client';
const client = createPublicClient();
const result = client.listMarkets({
closed: false,
pageSize: 3,
});
for await (const page of result) {
// page.items: Market[]
}License
MIT
