@varla/polymarket 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +78 -0
- package/dist/abi/ctf-exchange.d.ts +302 -0
- package/dist/abi/ctf-exchange.d.ts.map +1 -0
- package/dist/abi/erc20.d.ts +152 -0
- package/dist/abi/erc20.d.ts.map +1 -0
- package/dist/abi/index.d.ts +8 -0
- package/dist/abi/index.d.ts.map +1 -0
- package/dist/bridge-client.d.ts +76 -0
- package/dist/bridge-client.d.ts.map +1 -0
- package/dist/clob-auth.d.ts +106 -0
- package/dist/clob-auth.d.ts.map +1 -0
- package/dist/clob-client.d.ts +83 -0
- package/dist/clob-client.d.ts.map +1 -0
- package/dist/clob-errors.d.ts +74 -0
- package/dist/clob-errors.d.ts.map +1 -0
- package/dist/clob-orders.d.ts +81 -0
- package/dist/clob-orders.d.ts.map +1 -0
- package/dist/clob-persistence.d.ts +83 -0
- package/dist/clob-persistence.d.ts.map +1 -0
- package/dist/clob-trading-client.d.ts +259 -0
- package/dist/clob-trading-client.d.ts.map +1 -0
- package/dist/clob-trading-types.d.ts +522 -0
- package/dist/clob-trading-types.d.ts.map +1 -0
- package/dist/clob-ws.d.ts +111 -0
- package/dist/clob-ws.d.ts.map +1 -0
- package/dist/clob.d.ts +22 -0
- package/dist/clob.d.ts.map +1 -0
- package/dist/config/contracts.d.ts +36 -0
- package/dist/config/contracts.d.ts.map +1 -0
- package/dist/config/endpoints.d.ts +135 -0
- package/dist/config/endpoints.d.ts.map +1 -0
- package/dist/config/index.d.ts +9 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/rounding.d.ts +109 -0
- package/dist/config/rounding.d.ts.map +1 -0
- package/dist/data-api-client.d.ts +157 -0
- package/dist/data-api-client.d.ts.map +1 -0
- package/dist/endpoints.d.ts +7 -0
- package/dist/endpoints.d.ts.map +1 -0
- package/dist/gamma-client.d.ts +211 -0
- package/dist/gamma-client.d.ts.map +1 -0
- package/dist/http.d.ts +26 -0
- package/dist/http.d.ts.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/resolver.d.ts +26 -0
- package/dist/resolver.d.ts.map +1 -0
- package/dist/sdk/client.d.ts +109 -0
- package/dist/sdk/client.d.ts.map +1 -0
- package/dist/sdk/constants.d.ts +2 -0
- package/dist/sdk/constants.d.ts.map +1 -0
- package/dist/sdk/errors.d.ts +5 -0
- package/dist/sdk/errors.d.ts.map +1 -0
- package/dist/sdk/headers.d.ts +6 -0
- package/dist/sdk/headers.d.ts.map +1 -0
- package/dist/sdk/http-helpers.d.ts +21 -0
- package/dist/sdk/http-helpers.d.ts.map +1 -0
- package/dist/sdk/index.d.ts +9 -0
- package/dist/sdk/index.d.ts.map +1 -0
- package/dist/sdk/market-price.d.ts +13 -0
- package/dist/sdk/market-price.d.ts.map +1 -0
- package/dist/sdk/order-builder.d.ts +19 -0
- package/dist/sdk/order-builder.d.ts.map +1 -0
- package/dist/sdk/rfq-client.d.ts +19 -0
- package/dist/sdk/rfq-client.d.ts.map +1 -0
- package/dist/sdk/rfq-deps.d.ts +33 -0
- package/dist/sdk/rfq-deps.d.ts.map +1 -0
- package/dist/sdk/types.d.ts +261 -0
- package/dist/sdk/types.d.ts.map +1 -0
- package/dist/sdk/utilities.d.ts +8 -0
- package/dist/sdk/utilities.d.ts.map +1 -0
- package/dist/signing/clob-auth-eip712.d.ts +30 -0
- package/dist/signing/clob-auth-eip712.d.ts.map +1 -0
- package/dist/signing/ctf-order-eip712.d.ts +27 -0
- package/dist/signing/ctf-order-eip712.d.ts.map +1 -0
- package/dist/signing/hmac.d.ts +14 -0
- package/dist/signing/hmac.d.ts.map +1 -0
- package/dist/types.d.ts +624 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/concurrency.d.ts +10 -0
- package/dist/utils/concurrency.d.ts.map +1 -0
- package/dist/utils/retry.d.ts +24 -0
- package/dist/utils/retry.d.ts.map +1 -0
- package/package.json +8 -3
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLOB Trading Client
|
|
3
|
+
*
|
|
4
|
+
* Authenticated client for Polymarket CLOB trading operations.
|
|
5
|
+
* Combines auth, order creation, and API calls into a unified interface.
|
|
6
|
+
*/
|
|
7
|
+
import type { WalletClient } from "viem";
|
|
8
|
+
import type { ApiKeyCreds, BatchOrderResponse, BuilderApiKey, BuilderApiKeyInfo, BuilderTradesFilter, BuilderTradesResponse, CancelResponse, ClobTradingClientConfig, HeartbeatResponse, LiquidityRewardPercentages, MarketBuyParams, MarketOptions, MarketSellParams, OpenOrdersFilter, Order, OrderBook, OrderParams, OrderResponse, OrderType, RewardsMarket, SignedOrder, TimeInForce, Trade, TradeHistoryFilter, UserEarnings } from "./clob-trading-types.js";
|
|
9
|
+
export type ClobTradingClientFullConfig = ClobTradingClientConfig & {
|
|
10
|
+
/** Fetch function override (for testing) */
|
|
11
|
+
fetchFn?: typeof fetch;
|
|
12
|
+
/** Clock function override (for testing) */
|
|
13
|
+
now?: () => number;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* CLOB Trading Client for authenticated Polymarket trading.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import { createWalletClient, http } from "viem";
|
|
21
|
+
* import { polygon } from "viem/chains";
|
|
22
|
+
* import { privateKeyToAccount } from "viem/accounts";
|
|
23
|
+
*
|
|
24
|
+
* const account = privateKeyToAccount("0x...");
|
|
25
|
+
* const walletClient = createWalletClient({
|
|
26
|
+
* account,
|
|
27
|
+
* chain: polygon,
|
|
28
|
+
* transport: http(),
|
|
29
|
+
* });
|
|
30
|
+
*
|
|
31
|
+
* const client = new ClobTradingClient(walletClient);
|
|
32
|
+
* await client.init();
|
|
33
|
+
*
|
|
34
|
+
* const order = await client.createAndPostOrder(
|
|
35
|
+
* { tokenId: "123...", price: 0.5, size: 10, side: "BUY" },
|
|
36
|
+
* { tickSize: "0.01", negRisk: false },
|
|
37
|
+
* "GTC"
|
|
38
|
+
* );
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare class ClobTradingClient {
|
|
42
|
+
private readonly baseUrl;
|
|
43
|
+
private readonly authManager;
|
|
44
|
+
private readonly orderBuilder;
|
|
45
|
+
private readonly fetchFn;
|
|
46
|
+
private readonly requestTimeoutMs;
|
|
47
|
+
private readonly maxRetries;
|
|
48
|
+
private readonly log?;
|
|
49
|
+
private creds?;
|
|
50
|
+
private initialized;
|
|
51
|
+
constructor(walletClient: WalletClient, config?: ClobTradingClientFullConfig);
|
|
52
|
+
/**
|
|
53
|
+
* Initialize the client by creating or deriving API credentials.
|
|
54
|
+
*
|
|
55
|
+
* Must be called before any trading operations.
|
|
56
|
+
*/
|
|
57
|
+
init(): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* Check if the client is initialized.
|
|
60
|
+
*/
|
|
61
|
+
isInitialized(): boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Get the current API credentials.
|
|
64
|
+
*
|
|
65
|
+
* @throws Error if not initialized
|
|
66
|
+
*/
|
|
67
|
+
getCredentials(): ApiKeyCreds;
|
|
68
|
+
/**
|
|
69
|
+
* Manually set API credentials (useful for testing or cached creds).
|
|
70
|
+
*/
|
|
71
|
+
setCredentials(creds: ApiKeyCreds): void;
|
|
72
|
+
/**
|
|
73
|
+
* Create and post an order in a single call.
|
|
74
|
+
*
|
|
75
|
+
* @param params Order parameters (tokenId, price, size, side)
|
|
76
|
+
* @param options Market options (tickSize, negRisk)
|
|
77
|
+
* @param orderType Order type (GTC, GTD, FOK)
|
|
78
|
+
*/
|
|
79
|
+
createAndPostOrder(params: OrderParams, options: MarketOptions, orderType?: OrderType): Promise<OrderResponse>;
|
|
80
|
+
/**
|
|
81
|
+
* Create a signed order without posting it.
|
|
82
|
+
*
|
|
83
|
+
* Useful for batching or review before submission.
|
|
84
|
+
*/
|
|
85
|
+
createOrder(params: OrderParams, options: MarketOptions): Promise<SignedOrder>;
|
|
86
|
+
/**
|
|
87
|
+
* Post a signed order to the CLOB.
|
|
88
|
+
*
|
|
89
|
+
* @param signedOrder Signed order from createOrder()
|
|
90
|
+
* @param orderType Order type (GTC, GTD, FOK)
|
|
91
|
+
*/
|
|
92
|
+
postOrder(signedOrder: SignedOrder, orderType?: OrderType): Promise<OrderResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* Cancel a single order by ID.
|
|
95
|
+
*/
|
|
96
|
+
cancelOrder(orderId: string): Promise<CancelResponse>;
|
|
97
|
+
/**
|
|
98
|
+
* Cancel multiple orders by ID.
|
|
99
|
+
*/
|
|
100
|
+
cancelOrders(orderIds: string[]): Promise<CancelResponse>;
|
|
101
|
+
/**
|
|
102
|
+
* Cancel all orders for a specific market.
|
|
103
|
+
*/
|
|
104
|
+
cancelMarketOrders(filter: {
|
|
105
|
+
market?: string;
|
|
106
|
+
asset_id?: string;
|
|
107
|
+
}): Promise<CancelResponse>;
|
|
108
|
+
/**
|
|
109
|
+
* Cancel all open orders.
|
|
110
|
+
*/
|
|
111
|
+
cancelAll(): Promise<CancelResponse>;
|
|
112
|
+
/**
|
|
113
|
+
* Get all open orders.
|
|
114
|
+
*
|
|
115
|
+
* @param filter Optional filters (market, asset_id)
|
|
116
|
+
*/
|
|
117
|
+
getOpenOrders(filter?: OpenOrdersFilter): Promise<Order[]>;
|
|
118
|
+
/**
|
|
119
|
+
* Get a single order by ID.
|
|
120
|
+
*/
|
|
121
|
+
getOrder(orderId: string): Promise<Order>;
|
|
122
|
+
/**
|
|
123
|
+
* Check if account is in closed-only mode.
|
|
124
|
+
*/
|
|
125
|
+
getClosedOnlyMode(): Promise<{
|
|
126
|
+
closedOnly: boolean;
|
|
127
|
+
reason?: string;
|
|
128
|
+
}>;
|
|
129
|
+
/**
|
|
130
|
+
* Get all API keys for the account.
|
|
131
|
+
*/
|
|
132
|
+
getApiKeys(): Promise<{
|
|
133
|
+
apiKeys: Array<{
|
|
134
|
+
apiKey: string;
|
|
135
|
+
createdAt: number;
|
|
136
|
+
}>;
|
|
137
|
+
}>;
|
|
138
|
+
/**
|
|
139
|
+
* Delete the current API key.
|
|
140
|
+
*
|
|
141
|
+
* Warning: This will invalidate the current session.
|
|
142
|
+
*/
|
|
143
|
+
deleteApiKey(): Promise<void>;
|
|
144
|
+
/**
|
|
145
|
+
* Create a market buy order.
|
|
146
|
+
*
|
|
147
|
+
* Market buys execute immediately against the order book.
|
|
148
|
+
* Use FOK for all-or-nothing, FAK for partial fills.
|
|
149
|
+
*
|
|
150
|
+
* @param params Market buy parameters (tokenId, amount in USDC)
|
|
151
|
+
* @param options Market options (tickSize, negRisk)
|
|
152
|
+
* @param timeInForce FOK (fill-or-kill) or FAK (fill-and-kill)
|
|
153
|
+
*/
|
|
154
|
+
marketBuy(params: MarketBuyParams, options: MarketOptions, timeInForce?: TimeInForce): Promise<OrderResponse>;
|
|
155
|
+
/**
|
|
156
|
+
* Create a market sell order.
|
|
157
|
+
*
|
|
158
|
+
* Market sells execute immediately against the order book.
|
|
159
|
+
* Use FOK for all-or-nothing, FAK for partial fills.
|
|
160
|
+
*
|
|
161
|
+
* @param params Market sell parameters (tokenId, size in shares)
|
|
162
|
+
* @param options Market options (tickSize, negRisk)
|
|
163
|
+
* @param timeInForce FOK (fill-or-kill) or FAK (fill-and-kill)
|
|
164
|
+
*/
|
|
165
|
+
marketSell(params: MarketSellParams, options: MarketOptions, timeInForce?: TimeInForce): Promise<OrderResponse>;
|
|
166
|
+
/**
|
|
167
|
+
* Get the order book for a token.
|
|
168
|
+
*/
|
|
169
|
+
getOrderBook(tokenId: string): Promise<OrderBook>;
|
|
170
|
+
/**
|
|
171
|
+
* Calculate weighted average price for market buy.
|
|
172
|
+
*/
|
|
173
|
+
private calculateMarketBuyPrice;
|
|
174
|
+
/**
|
|
175
|
+
* Calculate weighted average price for market sell.
|
|
176
|
+
*/
|
|
177
|
+
private calculateMarketSellPrice;
|
|
178
|
+
/**
|
|
179
|
+
* Post multiple orders in a single request.
|
|
180
|
+
*
|
|
181
|
+
* More efficient than posting orders individually.
|
|
182
|
+
*/
|
|
183
|
+
postOrders(signedOrders: SignedOrder[], orderType?: OrderType): Promise<BatchOrderResponse>;
|
|
184
|
+
/**
|
|
185
|
+
* Create and post multiple orders.
|
|
186
|
+
*/
|
|
187
|
+
createAndPostOrders(ordersParams: Array<{
|
|
188
|
+
params: OrderParams;
|
|
189
|
+
options: MarketOptions;
|
|
190
|
+
}>, orderType?: OrderType): Promise<BatchOrderResponse>;
|
|
191
|
+
/**
|
|
192
|
+
* Send a heartbeat to keep the session alive.
|
|
193
|
+
*
|
|
194
|
+
* The server may auto-cancel orders if heartbeats stop.
|
|
195
|
+
* Call this periodically (e.g., every 30 seconds) for active sessions.
|
|
196
|
+
*/
|
|
197
|
+
heartbeat(): Promise<HeartbeatResponse>;
|
|
198
|
+
/**
|
|
199
|
+
* Get trade history for the authenticated user.
|
|
200
|
+
*/
|
|
201
|
+
getTrades(filter?: TradeHistoryFilter): Promise<Trade[]>;
|
|
202
|
+
/**
|
|
203
|
+
* Get user earnings for a specific day.
|
|
204
|
+
*
|
|
205
|
+
* @param date Date in YYYY-MM-DD format
|
|
206
|
+
*/
|
|
207
|
+
getEarningsForDay(date: string): Promise<UserEarnings>;
|
|
208
|
+
/**
|
|
209
|
+
* Get total earnings for user for a specific day.
|
|
210
|
+
*
|
|
211
|
+
* @param date Date in YYYY-MM-DD format
|
|
212
|
+
*/
|
|
213
|
+
getTotalEarningsForDay(date: string): Promise<UserEarnings>;
|
|
214
|
+
/**
|
|
215
|
+
* Get liquidity reward percentages.
|
|
216
|
+
*/
|
|
217
|
+
getLiquidityRewardPercentages(): Promise<LiquidityRewardPercentages>;
|
|
218
|
+
/**
|
|
219
|
+
* Get current reward markets.
|
|
220
|
+
*/
|
|
221
|
+
getRewardsMarkets(): Promise<RewardsMarket[]>;
|
|
222
|
+
/**
|
|
223
|
+
* Create a new builder API key.
|
|
224
|
+
*
|
|
225
|
+
* Builder API keys are used by professional market makers for
|
|
226
|
+
* builder-specific operations and trade tracking.
|
|
227
|
+
*
|
|
228
|
+
* @returns New builder API key credentials
|
|
229
|
+
*/
|
|
230
|
+
createBuilderApiKey(): Promise<BuilderApiKey>;
|
|
231
|
+
/**
|
|
232
|
+
* Get all builder API keys for the account.
|
|
233
|
+
*
|
|
234
|
+
* @returns List of builder API keys with creation/revocation timestamps
|
|
235
|
+
*/
|
|
236
|
+
getBuilderApiKeys(): Promise<BuilderApiKeyInfo[]>;
|
|
237
|
+
/**
|
|
238
|
+
* Revoke a builder API key.
|
|
239
|
+
*
|
|
240
|
+
* Warning: This will invalidate the builder key permanently.
|
|
241
|
+
*/
|
|
242
|
+
revokeBuilderApiKey(): Promise<void>;
|
|
243
|
+
/**
|
|
244
|
+
* Get trade history for the builder.
|
|
245
|
+
*
|
|
246
|
+
* Returns trades executed through the builder flow, with pagination support.
|
|
247
|
+
*
|
|
248
|
+
* @param filter Optional filters (market, asset_id, limit)
|
|
249
|
+
* @param cursor Pagination cursor for next page
|
|
250
|
+
*/
|
|
251
|
+
getBuilderTrades(filter?: BuilderTradesFilter, cursor?: string): Promise<BuilderTradesResponse>;
|
|
252
|
+
private ensureInitialized;
|
|
253
|
+
private authenticatedRequest;
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* Create a new CLOB trading client.
|
|
257
|
+
*/
|
|
258
|
+
export declare function createClobTradingClient(walletClient: WalletClient, config?: ClobTradingClientFullConfig): ClobTradingClient;
|
|
259
|
+
//# sourceMappingURL=clob-trading-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clob-trading-client.d.ts","sourceRoot":"","sources":["../src/clob-trading-client.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAGzC,OAAO,KAAK,EACV,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,iB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