@polymarket/client 0.1.0-beta.13 → 0.1.0-beta.14

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.
@@ -7,7 +7,7 @@ import { ZodError, z } from 'zod';
7
7
  import * as _polymarket_bindings_clob from '@polymarket/bindings/clob';
8
8
  import { ClobTrade, NotificationsResponse, BuilderTrade, Prices, OrderBook, LastTradePrice, LastTradePriceForToken, PriceHistoryPoint, CurrentReward, MarketReward, OrdersScoringResponse, UserEarning, TotalUserEarning, UserRewardsEarning, RewardsPercentages, CancelOrdersResponse, SignatureType, OrderResponse, OrderResponses, OpenOrder, ApiKeyCreds, BalanceAllowanceResponse, BuilderFeeRates, MarketInfo } from '@polymarket/bindings/clob';
9
9
  import * as _polymarket_bindings_data from '@polymarket/bindings/data';
10
- import { Value, Traded, ClosedPosition, ComboPosition, Position, MetaMarketPosition, Activity, LeaderboardEntry, BuilderVolumeEntry, TraderLeaderboardEntry, LiveVolume, OpenInterest, MetaHolder, Trade } from '@polymarket/bindings/data';
10
+ import { Activity, ComboActivity, Trade, Value, Traded, ClosedPosition, ComboPosition, Position, MetaMarketPosition, LeaderboardEntry, BuilderVolumeEntry, TraderLeaderboardEntry, LiveVolume, OpenInterest, MetaHolder } from '@polymarket/bindings/data';
11
11
  import { ComboMarket, RfqQuoteRequest, RfqRequestedSize, RfqSide, RfqQuoteAck, RfqConfirmationRequest, RfqConfirmationAck as RfqConfirmationAck$1, RfqExecutionUpdate, RfqTrade, RfqQuoteCancelAck, RfqErrorCode, RfqId, RfqQuoteId } from '@polymarket/bindings/rfq';
12
12
  import { PerpsInstrument, PerpsTicker, PerpsBook, PerpsCandle, PerpsFundingRate, PerpsPublicTrade, PerpsFeeScheduleEntry, PerpsWithdrawalId, PerpsDepositStatus, PerpsWithdrawalStatus, PerpsPnlInterval, PerpsDecimalInput, PerpsTimeInForce, PerpsCredentials, PerpsBalance, PerpsPortfolio, PerpsAccountStats, PerpsAccountConfig, PerpsOrder, PerpsAccountFill, PerpsAccountFundingPayment, PerpsDeposit, PerpsWithdrawal, PerpsEquityPoint, PerpsPnlPoint, PerpsOrderId, PerpsPostOrderAck, PerpsCancelOrderResult, PerpsUpdateLeverageResult, PerpsInstrumentCategory, PerpsKlineInterval } from '@polymarket/bindings/perps';
13
13
  import { PerpsSessionEvent, CommentsEvent, CryptoPricesTopic, EquityPricesTopic, EquityPricesEvent, MarketEvent, StandardMarketEvent, UserEvent, SportsEvent, CryptoPricesBinanceEvent, CryptoPricesChainlinkEvent, PerpsTradeEvent, PerpsBboEvent, PerpsBookEvent, PerpsCandleEvent, PerpsTickerEvent, PerpsStatisticEvent, CryptoPricesEvent, PerpsMarketDataEvent } from '@polymarket/bindings/subscriptions';
@@ -157,7 +157,7 @@ declare const FetchExecuteParamsRequestSchema: z.ZodObject<{
157
157
  type FetchExecuteParamsRequest = z.input<typeof FetchExecuteParamsRequestSchema>;
158
158
  type FetchExecuteParamsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
159
159
  declare const FetchExecuteParamsError: {
160
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
160
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
161
161
  };
162
162
  /**
163
163
  * Fetches the parameters needed to prepare a low-level transaction submission.
@@ -180,7 +180,7 @@ declare const IsWalletDeployedRequestSchema: z.ZodObject<{
180
180
  type IsWalletDeployedRequest = z.input<typeof IsWalletDeployedRequestSchema>;
181
181
  type IsWalletDeployedError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
182
182
  declare const IsWalletDeployedError: {
183
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
183
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
184
184
  };
185
185
  /**
186
186
  * Checks whether a wallet is deployed for relayer-backed transactions.
@@ -205,7 +205,7 @@ declare function isWalletDeployed(client: BaseClient, request?: IsWalletDeployed
205
205
  declare const GaslessTransactionMetadataSchema: z.ZodString;
206
206
  type DeployDepositWalletError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
207
207
  declare const DeployDepositWalletError: {
208
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
208
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
209
209
  };
210
210
  /**
211
211
  * Deploys a Deposit Wallet for the authenticated signer.
@@ -248,7 +248,7 @@ type GaslessWorkflowRequest = RequestAddressRequest | SignGaslessMessageRequest
248
248
  type GaslessWorkflow = AsyncGenerator<GaslessWorkflowRequest, TransactionHandle, EvmAddress | EvmSignature | TransactionHandle>;
249
249
  type PrepareGaslessTransactionError = ExecuteGaslessError | FetchExecuteParamsError | UserInputError;
250
250
  declare const PrepareGaslessTransactionError: {
251
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
251
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
252
252
  };
253
253
  /**
254
254
  * Starts preparing a low-level transaction workflow from one or more calls.
@@ -263,7 +263,7 @@ declare function prepareGaslessTransaction(client: BaseSecureClient, request: Pr
263
263
  type ExecuteGaslessError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
264
264
  type WaitForGaslessTransactionError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | TimeoutError | TransactionFailedError;
265
265
  declare const WaitForGaslessTransactionError: {
266
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError;
266
+ isError(error: unknown): error is TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
267
267
  };
268
268
 
269
269
  declare const PageSizeSchema: z.ZodNumber;
@@ -278,78 +278,211 @@ type Paginated<T> = AsyncIterable<Page<T>> & {
278
278
  from(cursor?: PaginationCursor): Paginated<T>;
279
279
  };
280
280
 
281
- declare const ListPositionsRequestSchema: z.ZodObject<{
281
+ declare const ListTradesRequestSchema: z.ZodObject<{
282
282
  cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
283
- user: z.ZodString;
283
+ pageSize: z.ZodDefault<z.ZodNumber>;
284
+ takerOnly: z.ZodOptional<z.ZodBoolean>;
285
+ filterType: z.ZodOptional<z.ZodEnum<{
286
+ CASH: "CASH";
287
+ TOKENS: "TOKENS";
288
+ }>>;
289
+ filterAmount: z.ZodOptional<z.ZodNumber>;
284
290
  market: z.ZodOptional<z.ZodArray<z.ZodString>>;
285
291
  eventId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
286
- sizeThreshold: z.ZodOptional<z.ZodNumber>;
287
- redeemable: z.ZodOptional<z.ZodBoolean>;
288
- mergeable: z.ZodOptional<z.ZodBoolean>;
292
+ user: z.ZodOptional<z.ZodString>;
293
+ side: z.ZodOptional<z.ZodEnum<{
294
+ BUY: "BUY";
295
+ SELL: "SELL";
296
+ }>>;
297
+ start: z.ZodOptional<z.ZodNumber>;
298
+ end: z.ZodOptional<z.ZodNumber>;
299
+ }, z.core.$strip>;
300
+ type ListTradesRequest = z.input<typeof ListTradesRequestSchema>;
301
+ type ListTradesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
302
+ declare const ListTradesError: {
303
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
304
+ };
305
+ /**
306
+ * Lists trades for a wallet, market, or event.
307
+ *
308
+ * @remarks
309
+ * This is a low-level function. Most SDK consumers should prefer the client instance API.
310
+ *
311
+ * @throws {@link ListTradesError}
312
+ * Thrown on failure.
313
+ *
314
+ * @example
315
+ * Fetch the first page of results:
316
+ * ```ts
317
+ * const result = listTrades(client, {
318
+ * user: '0x7c3db723f1d4d8cb9c550095203b686cb11e5c6b',
319
+ * pageSize: 10,
320
+ * });
321
+ *
322
+ * const firstPage = await result.firstPage();
323
+ *
324
+ * // Optionally, fetch additional pages:
325
+ * for await (const page of result.from(firstPage.nextCursor)) {
326
+ * // page.items: Trade[]
327
+ * }
328
+ * ```
329
+ *
330
+ * @example
331
+ * Loop through all pages with `for await`:
332
+ * ```ts
333
+ * const result = listTrades(client, {
334
+ * user: '0x7c3db723f1d4d8cb9c550095203b686cb11e5c6b',
335
+ * pageSize: 10,
336
+ * });
337
+ *
338
+ * for await (const page of result) {
339
+ * // page.items: Trade[]
340
+ * }
341
+ * ```
342
+ */
343
+ declare function listTrades(client: BaseClient, request?: ListTradesRequest): Paginated<Trade[]>;
344
+ declare const ListActivityRequestSchema: z.ZodObject<{
345
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
289
346
  pageSize: z.ZodDefault<z.ZodNumber>;
347
+ user: z.ZodString;
348
+ market: z.ZodOptional<z.ZodArray<z.ZodString>>;
349
+ eventId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
350
+ type: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof _polymarket_bindings_data.ActivityType>>>;
351
+ start: z.ZodOptional<z.ZodNumber>;
352
+ end: z.ZodOptional<z.ZodNumber>;
290
353
  sortBy: z.ZodOptional<z.ZodEnum<{
291
- CURRENT: "CURRENT";
292
- INITIAL: "INITIAL";
354
+ CASH: "CASH";
293
355
  TOKENS: "TOKENS";
294
- CASHPNL: "CASHPNL";
295
- PERCENTPNL: "PERCENTPNL";
296
- TITLE: "TITLE";
297
- RESOLVING: "RESOLVING";
298
- PRICE: "PRICE";
299
- AVGPRICE: "AVGPRICE";
356
+ TIMESTAMP: "TIMESTAMP";
300
357
  }>>;
301
358
  sortDirection: z.ZodOptional<z.ZodEnum<{
302
359
  ASC: "ASC";
303
360
  DESC: "DESC";
304
361
  }>>;
305
- title: z.ZodOptional<z.ZodString>;
362
+ side: z.ZodOptional<z.ZodEnum<{
363
+ BUY: "BUY";
364
+ SELL: "SELL";
365
+ }>>;
306
366
  }, z.core.$strip>;
307
- declare const ListClosedPositionsRequestSchema: z.ZodObject<{
367
+ type ListActivityRequest = z.input<typeof ListActivityRequestSchema>;
368
+ type ListActivityError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
369
+ declare const ListActivityError: {
370
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
371
+ };
372
+ /**
373
+ * Lists wallet activity.
374
+ *
375
+ * @remarks
376
+ * This is a low-level function. Most SDK consumers should prefer the client instance API.
377
+ *
378
+ * @throws {@link ListActivityError}
379
+ * Thrown on failure.
380
+ *
381
+ * @example
382
+ * Fetch the first page of results:
383
+ * ```ts
384
+ * const result = listActivity(client, {
385
+ * user: '0x7c3db723f1d4d8cb9c550095203b686cb11e5c6b',
386
+ * pageSize: 10,
387
+ * });
388
+ *
389
+ * const firstPage = await result.firstPage();
390
+ *
391
+ * // Optionally, fetch additional pages:
392
+ * for await (const page of result.from(firstPage.nextCursor)) {
393
+ * // page.items: Activity[]
394
+ * }
395
+ * ```
396
+ *
397
+ * @example
398
+ * Loop through all pages with `for await`:
399
+ * ```ts
400
+ * const result = listActivity(client, {
401
+ * user: '0x7c3db723f1d4d8cb9c550095203b686cb11e5c6b',
402
+ * pageSize: 10,
403
+ * });
404
+ *
405
+ * for await (const page of result) {
406
+ * // page.items: Activity[]
407
+ * }
408
+ * ```
409
+ */
410
+ declare function listActivity(client: BaseClient, request: ListActivityRequest): Paginated<Activity[]>;
411
+ declare const ListComboActivityRequestSchema: z.ZodObject<{
412
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
413
+ pageSize: z.ZodDefault<z.ZodNumber>;
414
+ user: z.ZodString;
415
+ conditionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.ComboConditionId, string>>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.ComboConditionId, string>>>]>>;
416
+ }, z.core.$strip>;
417
+ type ListComboActivityRequest = z.input<typeof ListComboActivityRequestSchema>;
418
+ type ListComboActivityError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
419
+ declare const ListComboActivityError: {
420
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
421
+ };
422
+ /**
423
+ * Lists combo lifecycle activity for a wallet.
424
+ *
425
+ * @remarks
426
+ * This is a low-level function. Most SDK consumers should prefer the client instance API.
427
+ *
428
+ * @throws {@link ListComboActivityError}
429
+ * Thrown on failure.
430
+ *
431
+ * @example
432
+ * Fetch the first page of results:
433
+ * ```ts
434
+ * const result = listComboActivity(client, {
435
+ * user: '0x7c3db723f1d4d8cb9c550095203b686cb11e5c6b',
436
+ * pageSize: 10,
437
+ * });
438
+ *
439
+ * const firstPage = await result.firstPage();
440
+ *
441
+ * // Optionally, fetch additional pages:
442
+ * for await (const page of result.from(firstPage.nextCursor)) {
443
+ * // page.items: ComboActivity[]
444
+ * }
445
+ * ```
446
+ */
447
+ declare function listComboActivity(client: BaseClient, request: ListComboActivityRequest): Paginated<ComboActivity[]>;
448
+
449
+ declare enum ComboPositionSort {
450
+ CurrentValueDesc = "current_value_desc",
451
+ FirstEntryDesc = "first_entry_desc",
452
+ EntryCostDesc = "entry_cost_desc",
453
+ ResolvedAtDesc = "resolved_at_desc",
454
+ UpdatedAsc = "updated_asc"
455
+ }
456
+ declare const ListPositionsRequestSchema: z.ZodObject<{
308
457
  cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
309
458
  user: z.ZodString;
310
459
  market: z.ZodOptional<z.ZodArray<z.ZodString>>;
311
- title: z.ZodOptional<z.ZodString>;
312
460
  eventId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
461
+ sizeThreshold: z.ZodOptional<z.ZodNumber>;
462
+ redeemable: z.ZodOptional<z.ZodBoolean>;
463
+ mergeable: z.ZodOptional<z.ZodBoolean>;
313
464
  pageSize: z.ZodDefault<z.ZodNumber>;
314
465
  sortBy: z.ZodOptional<z.ZodEnum<{
466
+ TOKENS: "TOKENS";
467
+ CURRENT: "CURRENT";
468
+ INITIAL: "INITIAL";
469
+ CASHPNL: "CASHPNL";
470
+ PERCENTPNL: "PERCENTPNL";
315
471
  TITLE: "TITLE";
472
+ RESOLVING: "RESOLVING";
316
473
  PRICE: "PRICE";
317
474
  AVGPRICE: "AVGPRICE";
318
- REALIZEDPNL: "REALIZEDPNL";
319
- TIMESTAMP: "TIMESTAMP";
320
475
  }>>;
321
476
  sortDirection: z.ZodOptional<z.ZodEnum<{
322
477
  ASC: "ASC";
323
478
  DESC: "DESC";
324
479
  }>>;
325
- }, z.core.$strip>;
326
- declare const ListComboPositionsRequestSchema: z.ZodObject<{
327
- cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
328
- user: z.ZodString;
329
- pageSize: z.ZodDefault<z.ZodNumber>;
330
- status: z.ZodOptional<z.ZodEnum<typeof _polymarket_bindings_data.ComboPositionStatus>>;
331
- conditionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.ComboConditionId, string>>>;
332
- positionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PositionId, string>>>;
333
- }, z.core.$strip>;
334
- declare const FetchPortfolioValueRequestSchema: z.ZodObject<{
335
- user: z.ZodString;
336
- market: z.ZodOptional<z.ZodArray<z.ZodString>>;
337
- }, z.core.$strip>;
338
- declare const FetchTradedMarketCountRequestSchema: z.ZodObject<{
339
- user: z.ZodString;
340
- }, z.core.$strip>;
341
- declare const DownloadAccountingSnapshotRequestSchema: z.ZodObject<{
342
- user: z.ZodString;
480
+ title: z.ZodOptional<z.ZodString>;
343
481
  }, z.core.$strip>;
344
482
  type ListPositionsRequest = z.input<typeof ListPositionsRequestSchema>;
345
- type ListClosedPositionsRequest = z.input<typeof ListClosedPositionsRequestSchema>;
346
- type ListComboPositionsRequest = z.input<typeof ListComboPositionsRequestSchema>;
347
- type FetchPortfolioValueRequest = z.input<typeof FetchPortfolioValueRequestSchema>;
348
- type FetchTradedMarketCountRequest = z.input<typeof FetchTradedMarketCountRequestSchema>;
349
- type DownloadAccountingSnapshotRequest = z.input<typeof DownloadAccountingSnapshotRequestSchema>;
350
483
  type ListPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
351
484
  declare const ListPositionsError: {
352
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
485
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
353
486
  };
354
487
  /**
355
488
  * Lists current positions for a wallet.
@@ -390,13 +523,29 @@ declare const ListPositionsError: {
390
523
  * ```
391
524
  */
392
525
  declare function listPositions(client: BaseClient, request: ListPositionsRequest): Paginated<Position[]>;
526
+ declare const ListClosedPositionsRequestSchema: z.ZodObject<{
527
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
528
+ user: z.ZodString;
529
+ market: z.ZodOptional<z.ZodArray<z.ZodString>>;
530
+ title: z.ZodOptional<z.ZodString>;
531
+ eventId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
532
+ pageSize: z.ZodDefault<z.ZodNumber>;
533
+ sortBy: z.ZodOptional<z.ZodEnum<{
534
+ TIMESTAMP: "TIMESTAMP";
535
+ TITLE: "TITLE";
536
+ PRICE: "PRICE";
537
+ AVGPRICE: "AVGPRICE";
538
+ REALIZEDPNL: "REALIZEDPNL";
539
+ }>>;
540
+ sortDirection: z.ZodOptional<z.ZodEnum<{
541
+ ASC: "ASC";
542
+ DESC: "DESC";
543
+ }>>;
544
+ }, z.core.$strip>;
545
+ type ListClosedPositionsRequest = z.input<typeof ListClosedPositionsRequestSchema>;
393
546
  type ListClosedPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
394
547
  declare const ListClosedPositionsError: {
395
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
396
- };
397
- type ListComboPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
398
- declare const ListComboPositionsError: {
399
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
548
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
400
549
  };
401
550
  /**
402
551
  * Lists closed positions for a wallet.
@@ -437,6 +586,21 @@ declare const ListComboPositionsError: {
437
586
  * ```
438
587
  */
439
588
  declare function listClosedPositions(client: BaseClient, request: ListClosedPositionsRequest): Paginated<ClosedPosition[]>;
589
+ declare const ListComboPositionsRequestSchema: z.ZodObject<{
590
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
591
+ user: z.ZodString;
592
+ pageSize: z.ZodDefault<z.ZodNumber>;
593
+ status: z.ZodOptional<z.ZodEnum<typeof _polymarket_bindings_data.ComboPositionStatus>>;
594
+ sort: z.ZodOptional<z.ZodEnum<typeof ComboPositionSort>>;
595
+ conditionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.ComboConditionId, string>>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.ComboConditionId, string>>>]>>;
596
+ updatedAfter: z.ZodOptional<z.ZodNumber>;
597
+ updatedBefore: z.ZodOptional<z.ZodNumber>;
598
+ }, z.core.$strip>;
599
+ type ListComboPositionsRequest = z.input<typeof ListComboPositionsRequestSchema>;
600
+ type ListComboPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
601
+ declare const ListComboPositionsError: {
602
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
603
+ };
440
604
  /**
441
605
  * Lists combo positions for a wallet.
442
606
  *
@@ -470,11 +634,27 @@ declare function listClosedPositions(client: BaseClient, request: ListClosedPosi
470
634
  * status: ComboPositionStatus.Open,
471
635
  * });
472
636
  * ```
637
+ *
638
+ * @example
639
+ * Incrementally sync changed combo positions:
640
+ * ```ts
641
+ * const result = listComboPositions(client, {
642
+ * user: '0x7c3db723f1d4d8cb9c550095203b686cb11e5c6b',
643
+ * updatedAfter: 1_797_360_000,
644
+ * sort: ComboPositionSort.UpdatedAsc,
645
+ * pageSize: 1000,
646
+ * });
647
+ * ```
473
648
  */
474
649
  declare function listComboPositions(client: BaseClient, request: ListComboPositionsRequest): Paginated<ComboPosition[]>;
650
+ declare const FetchPortfolioValueRequestSchema: z.ZodObject<{
651
+ user: z.ZodString;
652
+ market: z.ZodOptional<z.ZodArray<z.ZodString>>;
653
+ }, z.core.$strip>;
654
+ type FetchPortfolioValueRequest = z.input<typeof FetchPortfolioValueRequestSchema>;
475
655
  type FetchPortfolioValueError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
476
656
  declare const FetchPortfolioValueError: {
477
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
657
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
478
658
  };
479
659
  /**
480
660
  * Fetches the total value for a wallet's positions.
@@ -495,9 +675,13 @@ declare const FetchPortfolioValueError: {
495
675
  * ```
496
676
  */
497
677
  declare function fetchPortfolioValue(client: BaseClient, request: FetchPortfolioValueRequest): Promise<Value[]>;
678
+ declare const FetchTradedMarketCountRequestSchema: z.ZodObject<{
679
+ user: z.ZodString;
680
+ }, z.core.$strip>;
681
+ type FetchTradedMarketCountRequest = z.input<typeof FetchTradedMarketCountRequestSchema>;
498
682
  type FetchTradedMarketCountError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
499
683
  declare const FetchTradedMarketCountError: {
500
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
684
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
501
685
  };
502
686
  /**
503
687
  * Fetches the total number of markets a wallet has traded.
@@ -518,9 +702,13 @@ declare const FetchTradedMarketCountError: {
518
702
  * ```
519
703
  */
520
704
  declare function fetchTradedMarketCount(client: BaseClient, request: FetchTradedMarketCountRequest): Promise<Traded>;
705
+ declare const DownloadAccountingSnapshotRequestSchema: z.ZodObject<{
706
+ user: z.ZodString;
707
+ }, z.core.$strip>;
708
+ type DownloadAccountingSnapshotRequest = z.input<typeof DownloadAccountingSnapshotRequestSchema>;
521
709
  type DownloadAccountingSnapshotError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
522
710
  declare const DownloadAccountingSnapshotError: {
523
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
711
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
524
712
  };
525
713
  /**
526
714
  * Downloads an accounting snapshot archive for a wallet.
@@ -559,6 +747,7 @@ type SecureFetchPortfolioValueRequest = DefaultAccountWallet<FetchPortfolioValue
559
747
  type SecureFetchTradedMarketCountRequest = DefaultAccountWallet<FetchTradedMarketCountRequest>;
560
748
  type SecureDownloadAccountingSnapshotRequest = DefaultAccountWallet<DownloadAccountingSnapshotRequest>;
561
749
  type SecureListActivityRequest = DefaultAccountWallet<ListActivityRequest>;
750
+ type SecureListComboActivityRequest = DefaultAccountWallet<ListComboActivityRequest>;
562
751
  type CommonAccountActions = {
563
752
  /**
564
753
  * Lists positions for a market.
@@ -766,6 +955,24 @@ type PublicAccountActions = Prettify<CommonAccountActions & {
766
955
  * ```
767
956
  */
768
957
  listActivity(request: ListActivityRequest): Paginated<Activity[]>;
958
+ /**
959
+ * Lists combo lifecycle activity for a wallet.
960
+ *
961
+ * @throws {@link ListComboActivityError}
962
+ * Thrown on failure.
963
+ *
964
+ * @example
965
+ * Fetch the first page of results:
966
+ * ```ts
967
+ * const paginator = client.listComboActivity({
968
+ * user: '0x7c3db723f1d4d8cb9c550095203b686cb11e5c6b',
969
+ * pageSize: 10,
970
+ * });
971
+ *
972
+ * const firstPage = await paginator.firstPage();
973
+ * ```
974
+ */
975
+ listComboActivity(request: ListComboActivityRequest): Paginated<ComboActivity[]>;
769
976
  }>;
770
977
  type SecureAccountActions = Prettify<CommonAccountActions & {
771
978
  /**
@@ -841,6 +1048,15 @@ type SecureAccountActions = Prettify<CommonAccountActions & {
841
1048
  * Thrown on failure.
842
1049
  */
843
1050
  listActivity(request?: SecureListActivityRequest): Paginated<Activity[]>;
1051
+ /**
1052
+ * Lists combo lifecycle activity for a wallet.
1053
+ *
1054
+ * Defaults to the authenticated account's wallet when `user` is omitted.
1055
+ *
1056
+ * @throws {@link ListComboActivityError}
1057
+ * Thrown on failure.
1058
+ */
1059
+ listComboActivity(request?: SecureListComboActivityRequest): Paginated<ComboActivity[]>;
844
1060
  /**
845
1061
  * Lists trades for the authenticated account across all pages.
846
1062
  *
@@ -2239,7 +2455,7 @@ declare class RfqQuoteRejectedError extends PolymarketError {
2239
2455
  }
2240
2456
  type RfqQuoteError = RfqQuoteRejectedError | SigningError | TimeoutError | TransportError | UserInputError;
2241
2457
  declare const RfqQuoteError: {
2242
- isError(error: unknown): error is UserInputError | TransportError | TimeoutError | SigningError | RfqQuoteRejectedError;
2458
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | TimeoutError | RfqQuoteRejectedError;
2243
2459
  };
2244
2460
  type RfqCancelQuoteRejectedErrorOptions = {
2245
2461
  /** RFQ error code for the rejected cancellation request. */
@@ -2597,7 +2813,7 @@ declare const CancelMarketOrdersRequestSchema: z.ZodObject<{
2597
2813
  type CancelOrderRequest = z.input<typeof CancelOrderRequestSchema>;
2598
2814
  type CancelOrderError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
2599
2815
  declare const CancelOrderError: {
2600
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
2816
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
2601
2817
  };
2602
2818
  /**
2603
2819
  * Cancels a single open order for the authenticated account.
@@ -2621,7 +2837,7 @@ declare function cancelOrder(client: BaseSecureClient, request: CancelOrderReque
2621
2837
  type CancelOrdersRequest = z.input<typeof CancelOrdersRequestSchema>;
2622
2838
  type CancelOrdersError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
2623
2839
  declare const CancelOrdersError: {
2624
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
2840
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
2625
2841
  };
2626
2842
  /**
2627
2843
  * Cancels multiple open orders for the authenticated account.
@@ -2644,7 +2860,7 @@ declare const CancelOrdersError: {
2644
2860
  declare function cancelOrders(client: BaseSecureClient, request: CancelOrdersRequest): Promise<CancelOrdersResponse>;
2645
2861
  type CancelAllError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError;
2646
2862
  declare const CancelAllError: {
2647
- isError(error: unknown): error is UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
2863
+ isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
2648
2864
  };
2649
2865
  /**
2650
2866
  * Cancels all open orders for the authenticated account.
@@ -2666,7 +2882,7 @@ declare function cancelAll(client: BaseSecureClient): Promise<CancelOrdersRespon
2666
2882
  type CancelMarketOrdersRequest = z.input<typeof CancelMarketOrdersRequestSchema>;
2667
2883
  type CancelMarketOrdersError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
2668
2884
  declare const CancelMarketOrdersError: {
2669
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
2885
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
2670
2886
  };
2671
2887
  /**
2672
2888
  * Cancels all open orders for the authenticated account that match the market
@@ -2720,7 +2936,7 @@ type EstimateMarketSellPriceRequest = {
2720
2936
  type EstimateMarketPriceRequest = EstimateMarketBuyPriceRequest | EstimateMarketSellPriceRequest;
2721
2937
  type EstimateMarketPriceError = InsufficientLiquidityError | RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
2722
2938
  declare const EstimateMarketPriceError: {
2723
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | InsufficientLiquidityError;
2939
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | InsufficientLiquidityError;
2724
2940
  };
2725
2941
  /**
2726
2942
  * Estimates the price level a market order would cross at current book depth.
@@ -2898,11 +3114,11 @@ declare const PostOrdersRequestSchema: z.ZodArray<z.ZodCustom<SignedOrder, Signe
2898
3114
  type PostOrdersRequest = z.input<typeof PostOrdersRequestSchema>;
2899
3115
  type PostOrderError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
2900
3116
  declare const PostOrderError: {
2901
- isError(error: unknown): error is UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
3117
+ isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
2902
3118
  };
2903
3119
  type PostOrdersError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
2904
3120
  declare const PostOrdersError: {
2905
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
3121
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
2906
3122
  };
2907
3123
  /**
2908
3124
  * Posts a signed order for the authenticated account.
@@ -3700,7 +3916,7 @@ type SecureClientOptions = PublicClientOptions & {
3700
3916
  declare function createPublicClient(options?: PublicClientOptions): PublicClient<PublicActions, SecureActions>;
3701
3917
  type CreateSecureClientError = CancelledSigningError | DeployDepositWalletError | IsWalletDeployedError | RateLimitError | RequestRejectedError | SigningError | TimeoutError | TransactionFailedError | TransportError | UnexpectedResponseError | UserInputError | WaitForGaslessTransactionError;
3702
3918
  declare const CreateSecureClientError: {
3703
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
3919
+ isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
3704
3920
  };
3705
3921
  type SetupGaslessWalletError = UserInputError;
3706
3922
  declare const SetupGaslessWalletError: {
@@ -3723,7 +3939,7 @@ declare function createSecureClient(options: SecureClientOptions): Promise<Secur
3723
3939
 
3724
3940
  type FetchClosedOnlyModeError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
3725
3941
  declare const FetchClosedOnlyModeError: {
3726
- isError(error: unknown): error is UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
3942
+ isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
3727
3943
  };
3728
3944
  /**
3729
3945
  * Fetches whether the account is restricted to closed-only trading.
@@ -3748,7 +3964,7 @@ declare const ListOpenOrdersRequestSchema: z.ZodDefault<z.ZodObject<{
3748
3964
  type ListOpenOrdersRequest = z.input<typeof ListOpenOrdersRequestSchema>;
3749
3965
  type ListOpenOrdersError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
3750
3966
  declare const ListOpenOrdersError: {
3751
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
3967
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
3752
3968
  };
3753
3969
  /**
3754
3970
  * Lists open orders for the authenticated account across all pages.
@@ -3792,7 +4008,7 @@ declare const FetchOrderRequestSchema: z.ZodObject<{
3792
4008
  type FetchOrderRequest = z.input<typeof FetchOrderRequestSchema>;
3793
4009
  type FetchOrderError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
3794
4010
  declare const FetchOrderError: {
3795
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
4011
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
3796
4012
  };
3797
4013
  /**
3798
4014
  * Fetches a single order for the authenticated account.
@@ -3822,7 +4038,7 @@ declare const ListAccountTradesRequestSchema: z.ZodDefault<z.ZodObject<{
3822
4038
  type ListAccountTradesRequest = z.input<typeof ListAccountTradesRequestSchema>;
3823
4039
  type ListAccountTradesError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
3824
4040
  declare const ListAccountTradesError: {
3825
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
4041
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
3826
4042
  };
3827
4043
  /**
3828
4044
  * Lists trades for the authenticated account across all pages.
@@ -3862,7 +4078,7 @@ declare const ListAccountTradesError: {
3862
4078
  declare function listAccountTrades(client: BaseSecureClient, request?: ListAccountTradesRequest): Paginated<ClobTrade[]>;
3863
4079
  type FetchNotificationsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
3864
4080
  declare const FetchNotificationsError: {
3865
- isError(error: unknown): error is UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
4081
+ isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
3866
4082
  };
3867
4083
  declare const DropNotificationsRequestSchema: z.ZodObject<{
3868
4084
  ids: z.ZodArray<z.ZodString>;
@@ -3884,7 +4100,7 @@ type DropNotificationsRequest = z.input<typeof DropNotificationsRequestSchema>;
3884
4100
  declare function fetchNotifications(client: BaseSecureClient): Promise<NotificationsResponse>;
3885
4101
  type DropNotificationsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
3886
4102
  declare const DropNotificationsError: {
3887
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
4103
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
3888
4104
  };
3889
4105
  /**
3890
4106
  * Drops notifications for the authenticated account.
@@ -3910,7 +4126,7 @@ declare const FetchBalanceAllowanceRequestSchema: z.ZodObject<{
3910
4126
  type FetchBalanceAllowanceRequest = z.input<typeof FetchBalanceAllowanceRequestSchema>;
3911
4127
  type FetchBalanceAllowanceError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
3912
4128
  declare const FetchBalanceAllowanceError: {
3913
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
4129
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
3914
4130
  };
3915
4131
  /**
3916
4132
  * Fetches balance and allowance for the authenticated account.
@@ -3936,7 +4152,7 @@ declare const UpdateBalanceAllowanceRequestSchema: z.ZodObject<{
3936
4152
  type UpdateBalanceAllowanceRequest = z.input<typeof UpdateBalanceAllowanceRequestSchema>;
3937
4153
  type UpdateBalanceAllowanceError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
3938
4154
  declare const UpdateBalanceAllowanceError: {
3939
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
4155
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
3940
4156
  };
3941
4157
  /**
3942
4158
  * Refreshes balance and allowance for the authenticated account.
@@ -3961,7 +4177,7 @@ declare const FetchOrderScoringRequestSchema: z.ZodObject<{
3961
4177
  type FetchOrderScoringRequest = z.input<typeof FetchOrderScoringRequestSchema>;
3962
4178
  type FetchOrderScoringError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
3963
4179
  declare const FetchOrderScoringError: {
3964
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
4180
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
3965
4181
  };
3966
4182
  /**
3967
4183
  * Fetches whether a single order is currently scoring.
@@ -3985,7 +4201,7 @@ declare const FetchOrdersScoringRequestSchema: z.ZodObject<{
3985
4201
  type FetchOrdersScoringRequest = z.input<typeof FetchOrdersScoringRequestSchema>;
3986
4202
  type FetchOrdersScoringError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
3987
4203
  declare const FetchOrdersScoringError: {
3988
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
4204
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
3989
4205
  };
3990
4206
  /**
3991
4207
  * Fetches scoring state for multiple orders.
@@ -4010,7 +4226,7 @@ declare const ListUserEarningsForDayRequestSchema: z.ZodObject<{
4010
4226
  type ListUserEarningsForDayRequest = z.input<typeof ListUserEarningsForDayRequestSchema>;
4011
4227
  type ListUserEarningsForDayError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
4012
4228
  declare const ListUserEarningsForDayError: {
4013
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
4229
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4014
4230
  };
4015
4231
  /**
4016
4232
  * Lists per-market earnings for the authenticated account on a given day.
@@ -4051,7 +4267,7 @@ declare function listUserEarningsForDay(client: BaseSecureClient, request: ListU
4051
4267
  type FetchTotalEarningsForUserForDayRequest = z.input<typeof ListUserEarningsForDayRequestSchema>;
4052
4268
  type FetchTotalEarningsForUserForDayError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
4053
4269
  declare const FetchTotalEarningsForUserForDayError: {
4054
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
4270
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4055
4271
  };
4056
4272
  /**
4057
4273
  * Fetches total earnings for the authenticated account on a given day.
@@ -4080,7 +4296,7 @@ declare const ListUserEarningsAndMarketsConfigRequestSchema: z.ZodObject<{
4080
4296
  type ListUserEarningsAndMarketsConfigRequest = z.input<typeof ListUserEarningsAndMarketsConfigRequestSchema>;
4081
4297
  type ListUserEarningsAndMarketsConfigError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
4082
4298
  declare const ListUserEarningsAndMarketsConfigError: {
4083
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
4299
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4084
4300
  };
4085
4301
  /**
4086
4302
  * Lists market reward configuration and earnings for the authenticated account on a given day.
@@ -4120,7 +4336,7 @@ declare const ListUserEarningsAndMarketsConfigError: {
4120
4336
  declare function listUserEarningsAndMarketsConfig(client: BaseSecureClient, request: ListUserEarningsAndMarketsConfigRequest): Paginated<UserRewardsEarning[]>;
4121
4337
  type FetchRewardPercentagesError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
4122
4338
  declare const FetchRewardPercentagesError: {
4123
- isError(error: unknown): error is UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
4339
+ isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4124
4340
  };
4125
4341
  /**
4126
4342
  * Fetches reward percentages for the authenticated account.
@@ -4137,135 +4353,6 @@ declare const FetchRewardPercentagesError: {
4137
4353
  */
4138
4354
  declare function fetchRewardPercentages(client: BaseSecureClient): Promise<RewardsPercentages>;
4139
4355
 
4140
- declare const ListTradesRequestSchema: z.ZodObject<{
4141
- cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
4142
- pageSize: z.ZodDefault<z.ZodNumber>;
4143
- takerOnly: z.ZodOptional<z.ZodBoolean>;
4144
- filterType: z.ZodOptional<z.ZodEnum<{
4145
- TOKENS: "TOKENS";
4146
- CASH: "CASH";
4147
- }>>;
4148
- filterAmount: z.ZodOptional<z.ZodNumber>;
4149
- market: z.ZodOptional<z.ZodArray<z.ZodString>>;
4150
- eventId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
4151
- user: z.ZodOptional<z.ZodString>;
4152
- side: z.ZodOptional<z.ZodEnum<{
4153
- BUY: "BUY";
4154
- SELL: "SELL";
4155
- }>>;
4156
- }, z.core.$strip>;
4157
- declare const ListActivityRequestSchema: z.ZodObject<{
4158
- cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
4159
- pageSize: z.ZodDefault<z.ZodNumber>;
4160
- user: z.ZodString;
4161
- market: z.ZodOptional<z.ZodArray<z.ZodString>>;
4162
- eventId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
4163
- type: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof _polymarket_bindings_data.ActivityType>>>;
4164
- start: z.ZodOptional<z.ZodNumber>;
4165
- end: z.ZodOptional<z.ZodNumber>;
4166
- sortBy: z.ZodOptional<z.ZodEnum<{
4167
- TOKENS: "TOKENS";
4168
- TIMESTAMP: "TIMESTAMP";
4169
- CASH: "CASH";
4170
- }>>;
4171
- sortDirection: z.ZodOptional<z.ZodEnum<{
4172
- ASC: "ASC";
4173
- DESC: "DESC";
4174
- }>>;
4175
- side: z.ZodOptional<z.ZodEnum<{
4176
- BUY: "BUY";
4177
- SELL: "SELL";
4178
- }>>;
4179
- }, z.core.$strip>;
4180
- type ListTradesRequest = z.input<typeof ListTradesRequestSchema>;
4181
- type ListActivityRequest = z.input<typeof ListActivityRequestSchema>;
4182
- type ListTradesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4183
- declare const ListTradesError: {
4184
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4185
- };
4186
- /**
4187
- * Lists trades for a wallet, market, or event.
4188
- *
4189
- * @remarks
4190
- * This is a low-level function. Most SDK consumers should prefer the client instance API.
4191
- *
4192
- * @throws {@link ListTradesError}
4193
- * Thrown on failure.
4194
- *
4195
- * @example
4196
- * Fetch the first page of results:
4197
- * ```ts
4198
- * const result = listTrades(client, {
4199
- * user: '0x7c3db723f1d4d8cb9c550095203b686cb11e5c6b',
4200
- * pageSize: 10,
4201
- * });
4202
- *
4203
- * const firstPage = await result.firstPage();
4204
- *
4205
- * // Optionally, fetch additional pages:
4206
- * for await (const page of result.from(firstPage.nextCursor)) {
4207
- * // page.items: Trade[]
4208
- * }
4209
- * ```
4210
- *
4211
- * @example
4212
- * Loop through all pages with `for await`:
4213
- * ```ts
4214
- * const result = listTrades(client, {
4215
- * user: '0x7c3db723f1d4d8cb9c550095203b686cb11e5c6b',
4216
- * pageSize: 10,
4217
- * });
4218
- *
4219
- * for await (const page of result) {
4220
- * // page.items: Trade[]
4221
- * }
4222
- * ```
4223
- */
4224
- declare function listTrades(client: BaseClient, request?: ListTradesRequest): Paginated<Trade[]>;
4225
- type ListActivityError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4226
- declare const ListActivityError: {
4227
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4228
- };
4229
- /**
4230
- * Lists wallet activity.
4231
- *
4232
- * @remarks
4233
- * This is a low-level function. Most SDK consumers should prefer the client instance API.
4234
- *
4235
- * @throws {@link ListActivityError}
4236
- * Thrown on failure.
4237
- *
4238
- * @example
4239
- * Fetch the first page of results:
4240
- * ```ts
4241
- * const result = listActivity(client, {
4242
- * user: '0x7c3db723f1d4d8cb9c550095203b686cb11e5c6b',
4243
- * pageSize: 10,
4244
- * });
4245
- *
4246
- * const firstPage = await result.firstPage();
4247
- *
4248
- * // Optionally, fetch additional pages:
4249
- * for await (const page of result.from(firstPage.nextCursor)) {
4250
- * // page.items: Activity[]
4251
- * }
4252
- * ```
4253
- *
4254
- * @example
4255
- * Loop through all pages with `for await`:
4256
- * ```ts
4257
- * const result = listActivity(client, {
4258
- * user: '0x7c3db723f1d4d8cb9c550095203b686cb11e5c6b',
4259
- * pageSize: 10,
4260
- * });
4261
- *
4262
- * for await (const page of result) {
4263
- * // page.items: Activity[]
4264
- * }
4265
- * ```
4266
- */
4267
- declare function listActivity(client: BaseClient, request: ListActivityRequest): Paginated<Activity[]>;
4268
-
4269
4356
  type Erc20ApprovalWorkflowRequest = GaslessWorkflowRequest | SendErc20ApprovalTransactionRequest;
4270
4357
  type Erc20ApprovalWorkflow = AsyncGenerator<Erc20ApprovalWorkflowRequest, TransactionHandle, EvmAddress$1 | EvmSignature | TransactionHandle>;
4271
4358
  declare const PrepareErc20ApprovalRequestSchema: z.ZodObject<{
@@ -4300,7 +4387,7 @@ declare const PrepareErc20ApprovalError: {
4300
4387
  declare function prepareErc20Approval(client: BaseSecureClient, request: PrepareErc20ApprovalRequest): Promise<Erc20ApprovalWorkflow>;
4301
4388
  type ApproveErc20Error = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
4302
4389
  declare const ApproveErc20Error: {
4303
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | CancelledSigningError | SigningError;
4390
+ isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4304
4391
  };
4305
4392
  /**
4306
4393
  * Approves ERC-20 token spending for the authenticated account.
@@ -4345,7 +4432,7 @@ declare const PrepareErc1155ApprovalForAllError: {
4345
4432
  declare function prepareErc1155ApprovalForAll(client: BaseSecureClient, request: PrepareErc1155ApprovalForAllRequest): Promise<Erc1155ApprovalForAllWorkflow>;
4346
4433
  type ApproveErc1155ForAllError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
4347
4434
  declare const ApproveErc1155ForAllError: {
4348
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | CancelledSigningError | SigningError;
4435
+ isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4349
4436
  };
4350
4437
  /**
4351
4438
  * Approves or revokes ERC-1155 operator access for the authenticated account.
@@ -4361,7 +4448,7 @@ type TradingApprovalsWorkflowRequest = GaslessWorkflowRequest | SendErc20Approva
4361
4448
  type TradingApprovalsWorkflow = AsyncGenerator<TradingApprovalsWorkflowRequest, void, EvmAddress$1 | EvmSignature | TransactionHandle>;
4362
4449
  type PrepareTradingApprovalsError = RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4363
4450
  declare const PrepareTradingApprovalsError: {
4364
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError;
4451
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError;
4365
4452
  };
4366
4453
  /**
4367
4454
  * Starts a trading-setup approval workflow.
@@ -4380,7 +4467,7 @@ declare const PrepareTradingApprovalsError: {
4380
4467
  declare function prepareTradingApprovals(client: BaseSecureClient): Promise<TradingApprovalsWorkflow>;
4381
4468
  type SetupTradingApprovalsError = PrepareTradingApprovalsError | CancelledSigningError | SigningError | WaitForGaslessTransactionError;
4382
4469
  declare const SetupTradingApprovalsError: {
4383
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
4470
+ isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
4384
4471
  };
4385
4472
  type DeprecatedTransactionHandle = Omit<TransactionHandle, 'wait'> & {
4386
4473
  /**
@@ -4412,7 +4499,7 @@ declare const ListBuilderTradesRequestSchema: z.ZodObject<{
4412
4499
  type ListBuilderTradesRequest = z.input<typeof ListBuilderTradesRequestSchema>;
4413
4500
  type ListBuilderTradesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4414
4501
  declare const ListBuilderTradesError: {
4415
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4502
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4416
4503
  };
4417
4504
  /**
4418
4505
  * Lists builder-attributed trades.
@@ -4454,7 +4541,7 @@ declare const FetchMidpointRequestSchema: z.ZodObject<{
4454
4541
  type FetchMidpointRequest = z.input<typeof FetchMidpointRequestSchema>;
4455
4542
  type FetchMidpointError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4456
4543
  declare const FetchMidpointError: {
4457
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4544
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4458
4545
  };
4459
4546
  /**
4460
4547
  * Fetches the midpoint price for a token.
@@ -4483,7 +4570,7 @@ declare const FetchMidpointsRequestSchema: z.ZodArray<z.ZodObject<{
4483
4570
  type FetchMidpointsRequest = z.input<typeof FetchMidpointsRequestSchema>;
4484
4571
  type FetchMidpointsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4485
4572
  declare const FetchMidpointsError: {
4486
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4573
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4487
4574
  };
4488
4575
  /**
4489
4576
  * Fetches midpoint prices for multiple tokens.
@@ -4514,7 +4601,7 @@ declare const FetchTickSizeRequestSchema: z.ZodObject<{
4514
4601
  type FetchTickSizeRequest = z.input<typeof FetchTickSizeRequestSchema>;
4515
4602
  type FetchTickSizeError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4516
4603
  declare const FetchTickSizeError: {
4517
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4604
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4518
4605
  };
4519
4606
  /**
4520
4607
  * Fetches the minimum price tick size for a token's order book.
@@ -4542,7 +4629,7 @@ declare const FetchNegRiskRequestSchema: z.ZodObject<{
4542
4629
  type FetchNegRiskRequest = z.input<typeof FetchNegRiskRequestSchema>;
4543
4630
  type FetchNegRiskError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4544
4631
  declare const FetchNegRiskError: {
4545
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4632
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4546
4633
  };
4547
4634
  /**
4548
4635
  * Fetches whether a token is in a negative-risk market.
@@ -4570,7 +4657,7 @@ declare const ResolveConditionByTokenRequestSchema: z.ZodObject<{
4570
4657
  type ResolveConditionByTokenRequest = z.input<typeof ResolveConditionByTokenRequestSchema>;
4571
4658
  type ResolveConditionByTokenError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4572
4659
  declare const ResolveConditionByTokenError: {
4573
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4660
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4574
4661
  };
4575
4662
  /**
4576
4663
  * Resolves the condition ID for a token.
@@ -4588,7 +4675,7 @@ declare const FetchMarketInfoRequestSchema: z.ZodObject<{
4588
4675
  type FetchMarketInfoRequest = z.input<typeof FetchMarketInfoRequestSchema>;
4589
4676
  type FetchMarketInfoError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4590
4677
  declare const FetchMarketInfoError: {
4591
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4678
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4592
4679
  };
4593
4680
  /**
4594
4681
  * Fetches market-level metadata for a condition.
@@ -4606,7 +4693,7 @@ declare const FetchBuilderFeeRatesRequestSchema: z.ZodObject<{
4606
4693
  type FetchBuilderFeeRatesRequest = z.input<typeof FetchBuilderFeeRatesRequestSchema>;
4607
4694
  type FetchBuilderFeeRatesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4608
4695
  declare const FetchBuilderFeeRatesError: {
4609
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4696
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4610
4697
  };
4611
4698
  /**
4612
4699
  * Fetches builder maker and taker fee rates.
@@ -4625,7 +4712,7 @@ declare const FetchPriceRequestSchema: z.ZodObject<{
4625
4712
  type FetchPriceRequest = z.input<typeof FetchPriceRequestSchema>;
4626
4713
  type FetchPriceError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4627
4714
  declare const FetchPriceError: {
4628
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4715
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4629
4716
  };
4630
4717
  /**
4631
4718
  * Fetches the current quoted price for a token and side.
@@ -4656,7 +4743,7 @@ declare const FetchPricesRequestSchema: z.ZodArray<z.ZodObject<{
4656
4743
  type FetchPricesRequest = z.input<typeof FetchPricesRequestSchema>;
4657
4744
  type FetchPricesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4658
4745
  declare const FetchPricesError: {
4659
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4746
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4660
4747
  };
4661
4748
  /**
4662
4749
  * Fetches quoted prices for multiple tokens.
@@ -4688,7 +4775,7 @@ declare const FetchOrderBookRequestSchema: z.ZodObject<{
4688
4775
  type FetchOrderBookRequest = z.input<typeof FetchOrderBookRequestSchema>;
4689
4776
  type FetchOrderBookError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4690
4777
  declare const FetchOrderBookError: {
4691
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4778
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4692
4779
  };
4693
4780
  /**
4694
4781
  * Fetches the current order book for a token.
@@ -4716,7 +4803,7 @@ declare const FetchOrderBooksRequestSchema: z.ZodArray<z.ZodObject<{
4716
4803
  type FetchOrderBooksRequest = z.input<typeof FetchOrderBooksRequestSchema>;
4717
4804
  type FetchOrderBooksError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4718
4805
  declare const FetchOrderBooksError: {
4719
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4806
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4720
4807
  };
4721
4808
  /**
4722
4809
  * Fetches order books for multiple tokens.
@@ -4746,7 +4833,7 @@ declare const FetchSpreadRequestSchema: z.ZodObject<{
4746
4833
  type FetchSpreadRequest = z.input<typeof FetchSpreadRequestSchema>;
4747
4834
  type FetchSpreadError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4748
4835
  declare const FetchSpreadError: {
4749
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4836
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4750
4837
  };
4751
4838
  /**
4752
4839
  * Fetches the spread for a token.
@@ -4775,7 +4862,7 @@ declare const FetchSpreadsRequestSchema: z.ZodArray<z.ZodObject<{
4775
4862
  type FetchSpreadsRequest = z.input<typeof FetchSpreadsRequestSchema>;
4776
4863
  type FetchSpreadsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4777
4864
  declare const FetchSpreadsError: {
4778
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4865
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4779
4866
  };
4780
4867
  /**
4781
4868
  * Fetches spreads for multiple tokens.
@@ -4806,7 +4893,7 @@ declare const FetchLastTradePriceRequestSchema: z.ZodObject<{
4806
4893
  type FetchLastTradePriceRequest = z.input<typeof FetchLastTradePriceRequestSchema>;
4807
4894
  type FetchLastTradePriceError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4808
4895
  declare const FetchLastTradePriceError: {
4809
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4896
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4810
4897
  };
4811
4898
  /**
4812
4899
  * Fetches the last traded price for a token.
@@ -4835,7 +4922,7 @@ declare const FetchLastTradePricesRequestSchema: z.ZodArray<z.ZodObject<{
4835
4922
  type FetchLastTradePricesRequest = z.input<typeof FetchLastTradePricesRequestSchema>;
4836
4923
  type FetchLastTradePricesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4837
4924
  declare const FetchLastTradePricesError: {
4838
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4925
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4839
4926
  };
4840
4927
  /**
4841
4928
  * Fetches last traded prices for multiple tokens.
@@ -4870,7 +4957,7 @@ declare const ListPriceHistoryRequestSchema: z.ZodObject<{
4870
4957
  type FetchPriceHistoryRequest = z.input<typeof ListPriceHistoryRequestSchema>;
4871
4958
  type FetchPriceHistoryError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4872
4959
  declare const FetchPriceHistoryError: {
4873
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4960
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4874
4961
  };
4875
4962
  /**
4876
4963
  * Fetches historical price points for a token.
@@ -4902,7 +4989,7 @@ declare const ListCurrentRewardsRequestSchema: z.ZodDefault<z.ZodObject<{
4902
4989
  type ListCurrentRewardsRequest = z.input<typeof ListCurrentRewardsRequestSchema>;
4903
4990
  type ListCurrentRewardsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4904
4991
  declare const ListCurrentRewardsError: {
4905
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
4992
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4906
4993
  };
4907
4994
  /**
4908
4995
  * Lists current active market rewards.
@@ -4945,7 +5032,7 @@ declare const ListMarketRewardsRequestSchema: z.ZodObject<{
4945
5032
  type ListMarketRewardsRequest = z.input<typeof ListMarketRewardsRequestSchema>;
4946
5033
  type ListMarketRewardsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
4947
5034
  declare const ListMarketRewardsError: {
4948
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5035
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
4949
5036
  };
4950
5037
  /**
4951
5038
  * Lists reward configurations for a market.
@@ -5013,7 +5100,7 @@ type FetchCommentsByIdRequest = z.input<typeof FetchCommentsByIdRequestSchema>;
5013
5100
  type ListCommentsByUserAddressRequest = z.input<typeof ListCommentsByUserAddressRequestSchema>;
5014
5101
  type ListCommentsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5015
5102
  declare const ListCommentsError: {
5016
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5103
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5017
5104
  };
5018
5105
  /**
5019
5106
  * Lists comments for an event or series.
@@ -5058,7 +5145,7 @@ declare const ListCommentsError: {
5058
5145
  declare function listComments(client: BaseClient, request: ListCommentsRequest): Paginated<Comment[]>;
5059
5146
  type FetchCommentsByIdError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5060
5147
  declare const FetchCommentsByIdError: {
5061
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5148
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5062
5149
  };
5063
5150
  /**
5064
5151
  * Fetches a comment thread by comment id.
@@ -5082,7 +5169,7 @@ declare const FetchCommentsByIdError: {
5082
5169
  declare function fetchCommentsById(client: BaseClient, request: FetchCommentsByIdRequest): Promise<Comment[]>;
5083
5170
  type ListCommentsByUserAddressError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5084
5171
  declare const ListCommentsByUserAddressError: {
5085
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5172
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5086
5173
  };
5087
5174
  /**
5088
5175
  * Lists comments written by a wallet address.
@@ -5206,7 +5293,7 @@ declare const FetchEventLiveVolumeRequestSchema: z.ZodObject<{
5206
5293
  type FetchEventLiveVolumeRequest = z.input<typeof FetchEventLiveVolumeRequestSchema>;
5207
5294
  type ListEventsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5208
5295
  declare const ListEventsError: {
5209
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5296
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5210
5297
  };
5211
5298
  /**
5212
5299
  * Lists events.
@@ -5251,7 +5338,7 @@ declare const ListEventsError: {
5251
5338
  declare function listEvents(client: BaseClient, request?: ListEventsRequest): Paginated<Event[]>;
5252
5339
  type FetchEventError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5253
5340
  declare const FetchEventError: {
5254
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5341
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5255
5342
  };
5256
5343
  /**
5257
5344
  * Fetches an event.
@@ -5282,7 +5369,7 @@ declare const FetchEventError: {
5282
5369
  declare function fetchEvent(client: BaseClient, request: FetchEventRequest): Promise<Event>;
5283
5370
  type FetchEventTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5284
5371
  declare const FetchEventTagsError: {
5285
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5372
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5286
5373
  };
5287
5374
  /**
5288
5375
  * Fetches an event's tags.
@@ -5305,7 +5392,7 @@ declare const FetchEventTagsError: {
5305
5392
  declare function fetchEventTags(client: BaseClient, request: FetchEventTagsRequest): Promise<TagReference[]>;
5306
5393
  type FetchEventLiveVolumeError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5307
5394
  declare const FetchEventLiveVolumeError: {
5308
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5395
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5309
5396
  };
5310
5397
  /**
5311
5398
  * Fetches live volume for an event.
@@ -5378,7 +5465,7 @@ type ListBuilderVolumeRequest = z.input<typeof ListBuilderVolumeRequestSchema>;
5378
5465
  type ListTraderLeaderboardRequest = z.input<typeof ListTraderLeaderboardRequestSchema>;
5379
5466
  type ListBuilderLeaderboardError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5380
5467
  declare const ListBuilderLeaderboardError: {
5381
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5468
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5382
5469
  };
5383
5470
  /**
5384
5471
  * Lists builder leaderboard rankings.
@@ -5421,7 +5508,7 @@ declare const ListBuilderLeaderboardError: {
5421
5508
  declare function listBuilderLeaderboard(client: BaseClient, request?: ListBuilderLeaderboardRequest): Paginated<LeaderboardEntry[]>;
5422
5509
  type ListBuilderVolumeError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5423
5510
  declare const ListBuilderVolumeError: {
5424
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5511
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5425
5512
  };
5426
5513
  /**
5427
5514
  * Lists daily builder volume entries.
@@ -5444,7 +5531,7 @@ declare const ListBuilderVolumeError: {
5444
5531
  declare function fetchBuilderVolume(client: BaseClient, request?: ListBuilderVolumeRequest): Promise<BuilderVolumeEntry[]>;
5445
5532
  type ListTraderLeaderboardError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5446
5533
  declare const ListTraderLeaderboardError: {
5447
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5534
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5448
5535
  };
5449
5536
  /**
5450
5537
  * Lists trader leaderboard rankings.
@@ -5503,7 +5590,7 @@ declare const ListMarketClarificationsRequestSchema: z.ZodObject<{
5503
5590
  type ListMarketClarificationsRequest = z.input<typeof ListMarketClarificationsRequestSchema>;
5504
5591
  type ListMarketClarificationsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5505
5592
  declare const ListMarketClarificationsError: {
5506
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5593
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5507
5594
  };
5508
5595
  /**
5509
5596
  * Lists market clarifications — official notes that resolve ambiguity in how a
@@ -5635,7 +5722,7 @@ type ListOpenInterestRequest = z.input<typeof ListOpenInterestRequestSchema>;
5635
5722
  type ListMarketPositionsRequest = z.input<typeof ListMarketPositionsRequestSchema>;
5636
5723
  type ListMarketsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5637
5724
  declare const ListMarketsError: {
5638
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5725
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5639
5726
  };
5640
5727
  /**
5641
5728
  * Lists markets.
@@ -5687,7 +5774,7 @@ declare const ListComboMarketsRequestSchema: z.ZodObject<{
5687
5774
  type ListComboMarketsRequest = z.input<typeof ListComboMarketsRequestSchema>;
5688
5775
  type ListComboMarketsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5689
5776
  declare const ListComboMarketsError: {
5690
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5777
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5691
5778
  };
5692
5779
  /**
5693
5780
  * Lists markets available for Combos.
@@ -5725,7 +5812,7 @@ declare const ListComboMarketsError: {
5725
5812
  declare function listComboMarkets(client: BaseClient, request?: ListComboMarketsRequest): Paginated<ComboMarket[]>;
5726
5813
  type FetchMarketError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5727
5814
  declare const FetchMarketError: {
5728
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5815
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5729
5816
  };
5730
5817
  /**
5731
5818
  * Fetches a market.
@@ -5760,7 +5847,7 @@ declare const FetchMarketError: {
5760
5847
  declare function fetchMarket(client: BaseClient, request: FetchMarketRequest): Promise<Market>;
5761
5848
  type FetchMarketTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5762
5849
  declare const FetchMarketTagsError: {
5763
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5850
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5764
5851
  };
5765
5852
  /**
5766
5853
  * Fetches a market's tags.
@@ -5783,7 +5870,7 @@ declare const FetchMarketTagsError: {
5783
5870
  declare function fetchMarketTags(client: BaseClient, request: FetchMarketTagsRequest): Promise<TagReference[]>;
5784
5871
  type ListMarketHoldersError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5785
5872
  declare const ListMarketHoldersError: {
5786
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5873
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5787
5874
  };
5788
5875
  /**
5789
5876
  * Lists the top holders for one or more markets.
@@ -5807,7 +5894,7 @@ declare const ListMarketHoldersError: {
5807
5894
  declare function listMarketHolders(client: BaseClient, request: ListMarketHoldersRequest): Promise<MetaHolder[]>;
5808
5895
  type ListOpenInterestError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5809
5896
  declare const ListOpenInterestError: {
5810
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5897
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5811
5898
  };
5812
5899
  /**
5813
5900
  * Lists open interest for one or more markets.
@@ -5830,7 +5917,7 @@ declare const ListOpenInterestError: {
5830
5917
  declare function listOpenInterest(client: BaseClient, request?: ListOpenInterestRequest): Promise<OpenInterest[]>;
5831
5918
  type ListMarketPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
5832
5919
  declare const ListMarketPositionsError: {
5833
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
5920
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
5834
5921
  };
5835
5922
  /**
5836
5923
  * Lists positions for a market.
@@ -6310,7 +6397,7 @@ type UpdatePerpsLeverageRequest = {
6310
6397
  };
6311
6398
  type UpdatePerpsLeverageError = RequestRejectedError | SigningError | TransportError | UserInputError;
6312
6399
  declare const UpdatePerpsLeverageError: {
6313
- isError(error: unknown): error is UserInputError | TransportError | RequestRejectedError | SigningError;
6400
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | RequestRejectedError;
6314
6401
  };
6315
6402
 
6316
6403
  type PerpsSessionOptions = {
@@ -6571,7 +6658,7 @@ declare class PerpsSession implements AsyncIterable<PerpsSessionEvent> {
6571
6658
 
6572
6659
  type PerpsPublicReadError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
6573
6660
  declare const PerpsPublicReadError: {
6574
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
6661
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6575
6662
  };
6576
6663
  type FetchPerpsInstrumentsRequest = {
6577
6664
  /** Perps instrument identifier to fetch. */
@@ -6581,7 +6668,7 @@ type FetchPerpsInstrumentsRequest = {
6581
6668
  };
6582
6669
  type FetchPerpsInstrumentsError = PerpsPublicReadError;
6583
6670
  declare const FetchPerpsInstrumentsError: {
6584
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
6671
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6585
6672
  };
6586
6673
  /**
6587
6674
  * Fetches Perps instruments.
@@ -6599,7 +6686,7 @@ type FetchPerpsTickerRequest = {
6599
6686
  };
6600
6687
  type FetchPerpsTickerError = PerpsPublicReadError;
6601
6688
  declare const FetchPerpsTickerError: {
6602
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
6689
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6603
6690
  };
6604
6691
  /**
6605
6692
  * Fetches the current Perps ticker for an instrument.
@@ -6617,7 +6704,7 @@ type FetchPerpsTickersRequest = {
6617
6704
  };
6618
6705
  type FetchPerpsTickersError = PerpsPublicReadError;
6619
6706
  declare const FetchPerpsTickersError: {
6620
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
6707
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6621
6708
  };
6622
6709
  /**
6623
6710
  * Fetches current Perps tickers.
@@ -6638,7 +6725,7 @@ type FetchPerpsBookRequest = {
6638
6725
  };
6639
6726
  type FetchPerpsBookError = PerpsPublicReadError;
6640
6727
  declare const FetchPerpsBookError: {
6641
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
6728
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6642
6729
  };
6643
6730
  /**
6644
6731
  * Fetches a Perps order book.
@@ -6667,7 +6754,7 @@ type ListPerpsCandlesRequest = {
6667
6754
  };
6668
6755
  type ListPerpsCandlesError = PerpsPublicReadError;
6669
6756
  declare const ListPerpsCandlesError: {
6670
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
6757
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6671
6758
  };
6672
6759
  /**
6673
6760
  * Lists Perps candles for an instrument with SDK-owned pagination.
@@ -6694,7 +6781,7 @@ type ListPerpsFundingHistoryRequest = {
6694
6781
  };
6695
6782
  type ListPerpsFundingHistoryError = PerpsPublicReadError;
6696
6783
  declare const ListPerpsFundingHistoryError: {
6697
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
6784
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6698
6785
  };
6699
6786
  /**
6700
6787
  * Lists Perps funding-rate history for an instrument with SDK-owned pagination.
@@ -6721,7 +6808,7 @@ type ListPerpsTradesRequest = {
6721
6808
  };
6722
6809
  type ListPerpsTradesError = PerpsPublicReadError;
6723
6810
  declare const ListPerpsTradesError: {
6724
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
6811
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6725
6812
  };
6726
6813
  /**
6727
6814
  * Lists recent Perps trades for an instrument with SDK-owned pagination.
@@ -6735,7 +6822,7 @@ declare const ListPerpsTradesError: {
6735
6822
  declare function listPerpsTrades(client: BaseClient, request: ListPerpsTradesRequest): Paginated<PerpsPublicTrade[]>;
6736
6823
  type FetchPerpsFeesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError;
6737
6824
  declare const FetchPerpsFeesError: {
6738
- isError(error: unknown): error is UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
6825
+ isError(error: unknown): error is TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6739
6826
  };
6740
6827
  /**
6741
6828
  * Fetches the Perps fee schedule.
@@ -6776,11 +6863,11 @@ type WithdrawFromPerpsRequest = {
6776
6863
  };
6777
6864
  type OpenPerpsSessionError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
6778
6865
  declare const OpenPerpsSessionError: {
6779
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
6866
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6780
6867
  };
6781
6868
  type RevokePerpsCredentialsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
6782
6869
  declare const RevokePerpsCredentialsError: {
6783
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
6870
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6784
6871
  };
6785
6872
  type PreparePerpsDepositError = UserInputError;
6786
6873
  declare const PreparePerpsDepositError: {
@@ -6788,11 +6875,11 @@ declare const PreparePerpsDepositError: {
6788
6875
  };
6789
6876
  type DepositToPerpsError = RateLimitError | RequestRejectedError | CancelledSigningError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
6790
6877
  declare const DepositToPerpsError: {
6791
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | CancelledSigningError | SigningError;
6878
+ isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6792
6879
  };
6793
6880
  type WithdrawFromPerpsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
6794
6881
  declare const WithdrawFromPerpsError: {
6795
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
6882
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6796
6883
  };
6797
6884
  /**
6798
6885
  * Opens a Perps account session.
@@ -6886,39 +6973,39 @@ type MergePositionsWorkflow = AsyncGenerator<MergePositionsWorkflowRequest, Tran
6886
6973
  type RedeemPositionsWorkflow = AsyncGenerator<RedeemPositionsWorkflowRequest, TransactionHandle, EvmAddress | EvmSignature | TransactionHandle>;
6887
6974
  type PrepareSplitPositionError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
6888
6975
  declare const PrepareSplitPositionError: {
6889
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
6976
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6890
6977
  };
6891
6978
  type PrepareSplitMarketPositionError = PrepareSplitPositionError;
6892
6979
  declare const PrepareSplitMarketPositionError: {
6893
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
6980
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6894
6981
  };
6895
6982
  type PrepareSplitComboPositionError = PrepareSplitPositionError;
6896
6983
  declare const PrepareSplitComboPositionError: {
6897
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
6984
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6898
6985
  };
6899
6986
  type PrepareMergePositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
6900
6987
  declare const PrepareMergePositionsError: {
6901
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
6988
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6902
6989
  };
6903
6990
  type PrepareMergeMarketPositionError = PrepareMergePositionsError;
6904
6991
  declare const PrepareMergeMarketPositionError: {
6905
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
6992
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6906
6993
  };
6907
6994
  type PrepareMergeComboPositionError = PrepareMergePositionsError;
6908
6995
  declare const PrepareMergeComboPositionError: {
6909
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
6996
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6910
6997
  };
6911
6998
  type PrepareRedeemPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
6912
6999
  declare const PrepareRedeemPositionsError: {
6913
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
7000
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6914
7001
  };
6915
7002
  type PrepareRedeemMarketPositionsError = PrepareRedeemPositionsError;
6916
7003
  declare const PrepareRedeemMarketPositionsError: {
6917
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
7004
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6918
7005
  };
6919
7006
  type PrepareRedeemComboPositionError = PrepareRedeemPositionsError;
6920
7007
  declare const PrepareRedeemComboPositionError: {
6921
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
7008
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
6922
7009
  };
6923
7010
  /**
6924
7011
  * Starts a split workflow for a market condition.
@@ -6966,15 +7053,15 @@ declare function prepareSplitComboPosition(client: BaseSecureClient, request: Pr
6966
7053
  declare function prepareSplitPosition(client: BaseSecureClient, request: PrepareSplitPositionRequest): Promise<SplitPositionWorkflow>;
6967
7054
  type SplitPositionError = CancelledSigningError | RateLimitError | RequestRejectedError | SigningError | TimeoutError | TransactionFailedError | TransportError | UnexpectedResponseError | UserInputError;
6968
7055
  declare const SplitPositionError: {
6969
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
7056
+ isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
6970
7057
  };
6971
7058
  type SplitMarketPositionError = SplitPositionError;
6972
7059
  declare const SplitMarketPositionError: {
6973
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
7060
+ isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
6974
7061
  };
6975
7062
  type SplitComboPositionError = SplitPositionError;
6976
7063
  declare const SplitComboPositionError: {
6977
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
7064
+ isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
6978
7065
  };
6979
7066
  /**
6980
7067
  * Splits collateral into market positions.
@@ -7078,15 +7165,15 @@ declare function prepareMergeComboPosition(client: BaseSecureClient, request: Pr
7078
7165
  declare function prepareMergePositions(client: BaseSecureClient, request: PrepareMergePositionsRequest): Promise<MergePositionsWorkflow>;
7079
7166
  type MergePositionsError = CancelledSigningError | RateLimitError | RequestRejectedError | SigningError | TimeoutError | TransactionFailedError | TransportError | UnexpectedResponseError | UserInputError;
7080
7167
  declare const MergePositionsError: {
7081
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
7168
+ isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
7082
7169
  };
7083
7170
  type MergeMarketPositionError = MergePositionsError;
7084
7171
  declare const MergeMarketPositionError: {
7085
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
7172
+ isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
7086
7173
  };
7087
7174
  type MergeComboPositionError = MergePositionsError;
7088
7175
  declare const MergeComboPositionError: {
7089
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
7176
+ isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
7090
7177
  };
7091
7178
  /**
7092
7179
  * Merges complementary market positions back into collateral.
@@ -7212,7 +7299,7 @@ declare function prepareRedeemComboPosition(client: BaseSecureClient, request: P
7212
7299
  declare function prepareRedeemPositions(client: BaseSecureClient, request: PrepareRedeemPositionsRequest): Promise<RedeemPositionsWorkflow>;
7213
7300
  type RedeemPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
7214
7301
  declare const RedeemPositionsError: {
7215
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | CancelledSigningError | SigningError;
7302
+ isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
7216
7303
  };
7217
7304
  /**
7218
7305
  * Redeems resolved market or combo positions.
@@ -7231,7 +7318,7 @@ declare const FetchPublicProfileRequestSchema: z.ZodObject<{
7231
7318
  type FetchPublicProfileRequest = z.input<typeof FetchPublicProfileRequestSchema>;
7232
7319
  type FetchPublicProfileError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
7233
7320
  declare const FetchPublicProfileError: {
7234
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
7321
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
7235
7322
  };
7236
7323
  /**
7237
7324
  * Fetches a public profile by wallet address.
@@ -7291,7 +7378,7 @@ type SearchResults = {
7291
7378
  };
7292
7379
  type SearchError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
7293
7380
  declare const SearchError: {
7294
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
7381
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
7295
7382
  };
7296
7383
  /**
7297
7384
  * Runs a public full-text search.
@@ -7347,7 +7434,7 @@ type ListSeriesRequest = z.input<typeof ListSeriesRequestSchema>;
7347
7434
  type FetchSeriesRequest = z.input<typeof FetchSeriesRequestSchema>;
7348
7435
  type ListSeriesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
7349
7436
  declare const ListSeriesError: {
7350
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
7437
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
7351
7438
  };
7352
7439
  /**
7353
7440
  * Lists series.
@@ -7390,7 +7477,7 @@ declare const ListSeriesError: {
7390
7477
  declare function listSeries(client: BaseClient, request?: ListSeriesRequest): Paginated<Series[]>;
7391
7478
  type FetchSeriesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
7392
7479
  declare const FetchSeriesError: {
7393
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
7480
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
7394
7481
  };
7395
7482
  /**
7396
7483
  * Fetches a series.
@@ -7592,7 +7679,7 @@ type FetchRelatedTagsRequest = z.input<typeof RelatedTagsByIdRequestSchema> | z.
7592
7679
  type FetchRelatedTagResourcesRequest = z.input<typeof RelatedTagResourcesByIdRequestSchema> | z.input<typeof RelatedTagResourcesBySlugRequestSchema>;
7593
7680
  type ListTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
7594
7681
  declare const ListTagsError: {
7595
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
7682
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
7596
7683
  };
7597
7684
  /**
7598
7685
  * Lists tags.
@@ -7635,7 +7722,7 @@ declare const ListTagsError: {
7635
7722
  declare function listTags(client: BaseClient, request?: ListTagsRequest): Paginated<Tag[]>;
7636
7723
  type FetchTagError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
7637
7724
  declare const FetchTagError: {
7638
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
7725
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
7639
7726
  };
7640
7727
  /**
7641
7728
  * Fetches a tag by id or slug.
@@ -7659,7 +7746,7 @@ declare const FetchTagError: {
7659
7746
  declare function fetchTag(client: BaseClient, request: FetchTagRequest): Promise<Tag>;
7660
7747
  type FetchRelatedTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
7661
7748
  declare const FetchRelatedTagsError: {
7662
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
7749
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
7663
7750
  };
7664
7751
  /**
7665
7752
  * Fetches related tag relationships by id or slug.
@@ -7684,7 +7771,7 @@ declare const FetchRelatedTagsError: {
7684
7771
  declare function fetchRelatedTags(client: BaseClient, request: FetchRelatedTagsRequest): Promise<RelatedTag[]>;
7685
7772
  type FetchRelatedTagResourcesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
7686
7773
  declare const FetchRelatedTagResourcesError: {
7687
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
7774
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
7688
7775
  };
7689
7776
  /**
7690
7777
  * Fetches resources linked from related tag relationships by id or slug.
@@ -7721,7 +7808,7 @@ declare const ListTeamsRequestSchema: z.ZodObject<{
7721
7808
  type ListTeamsRequest = z.input<typeof ListTeamsRequestSchema>;
7722
7809
  type ListTeamsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
7723
7810
  declare const ListTeamsError: {
7724
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
7811
+ isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
7725
7812
  };
7726
7813
  /**
7727
7814
  * Lists teams.
@@ -7797,7 +7884,7 @@ declare const PrepareErc20TransferError: {
7797
7884
  declare function prepareErc20Transfer(client: BaseSecureClient, request: PrepareErc20TransferRequest): Promise<Erc20TransferWorkflow>;
7798
7885
  type TransferErc20Error = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
7799
7886
  declare const TransferErc20Error: {
7800
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | CancelledSigningError | SigningError;
7887
+ isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
7801
7888
  };
7802
7889
  /**
7803
7890
  * Transfers ERC-20 tokens from the authenticated account.
@@ -7854,7 +7941,7 @@ type TransactionOutcome = {
7854
7941
  };
7855
7942
  type WaitForTransactionError = WaitForGaslessTransactionError;
7856
7943
  declare const WaitForTransactionError: {
7857
- isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError;
7944
+ isError(error: unknown): error is TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
7858
7945
  };
7859
7946
  interface TransactionHandle {
7860
7947
  /**
@@ -7881,4 +7968,4 @@ type Signer = {
7881
7968
  sendTransaction(request: SignerTransactionRequest): Promise<TransactionHandle>;
7882
7969
  };
7883
7970
 
7884
- export { FetchOrderScoringError as $, type ApiKeyAuthorization as A, type BaseClient as B, CancelAllError as C, type DataActions as D, DropNotificationsError as E, type EnvironmentConfig as F, type EnvironmentConfigFork as G, type EnvironmentContracts as H, EstimateMarketPriceError as I, FetchClosedOnlyModeError as J, FetchCommentsByIdError as K, FetchEventError as L, FetchEventLiveVolumeError as M, FetchEventTagsError as N, FetchLastTradePriceError as O, FetchLastTradePricesError as P, FetchMarketError as Q, FetchMarketTagsError as R, type Signer as S, type TypedDataPayload as T, UserInputError as U, FetchMidpointError as V, FetchMidpointsError as W, FetchNotificationsError as X, FetchOrderBookError as Y, FetchOrderBooksError as Z, FetchOrderError as _, type TypedData as a, ListTradesError as a$, FetchOrdersScoringError as a0, type FetchPerpsAccountConfigRequest as a1, FetchPerpsBookError as a2, type FetchPerpsBookRequest as a3, FetchPerpsFeesError as a4, FetchPerpsInstrumentsError as a5, type FetchPerpsInstrumentsRequest as a6, type FetchPerpsOpenOrdersRequest as a7, type FetchPerpsOrdersRequest as a8, FetchPerpsTickerError as a9, ListCommentsByUserAddressError as aA, ListCommentsError as aB, ListCurrentRewardsError as aC, ListEventsError as aD, ListMarketHoldersError as aE, ListMarketPositionsError as aF, ListMarketRewardsError as aG, ListMarketsError as aH, ListOpenInterestError as aI, ListOpenOrdersError as aJ, ListPerpsCandlesError as aK, type ListPerpsCandlesRequest as aL, type ListPerpsDepositsRequest as aM, type ListPerpsEquityHistoryRequest as aN, type ListPerpsFillsRequest as aO, ListPerpsFundingHistoryError as aP, type ListPerpsFundingHistoryRequest as aQ, type ListPerpsFundingPaymentsRequest as aR, type ListPerpsPnlHistoryRequest as aS, ListPerpsTradesError as aT, type ListPerpsTradesRequest as aU, type ListPerpsWithdrawalsRequest as aV, ListPositionsError as aW, ListSeriesError as aX, ListTagsError as aY, ListTeamsError as aZ, ListTraderLeaderboardError as a_, type FetchPerpsTickerRequest as aa, FetchPerpsTickersError as ab, type FetchPerpsTickersRequest as ac, FetchPortfolioValueError as ad, FetchPriceError as ae, FetchPriceHistoryError as af, FetchPricesError as ag, FetchPublicProfileError as ah, FetchRelatedTagResourcesError as ai, FetchRelatedTagsError as aj, FetchRewardPercentagesError as ak, FetchSeriesError as al, FetchSpreadError as am, FetchSpreadsError as an, FetchTagError as ao, FetchTotalEarningsForUserForDayError as ap, FetchTradedMarketCountError as aq, InsufficientLiquidityError as ar, ListAccountTradesError as as, ListActivityError as at, ListBuilderLeaderboardError as au, ListBuilderTradesError as av, ListBuilderVolumeError as aw, ListClosedPositionsError as ax, ListComboMarketsError as ay, ListComboPositionsError as az, type TransactionCall as b, type RfqQuoteResponse as b$, ListUserEarningsAndMarketsConfigError as b0, ListUserEarningsForDayError as b1, MergePositionsError as b2, OpenPerpsSessionError as b3, type OpenPerpsSessionRequest as b4, OpenRfqSessionError as b5, type Page as b6, PageSizeSchema as b7, type Paginated as b8, type PerpsActions as b9, type PublicClientOptions as bA, type PublicPerpsActions as bB, type PublicRewardsActions as bC, type PublicSubscriptionsActions as bD, RateLimitError as bE, RedeemPositionsError as bF, RequestRejectedError as bG, type RequestRejectedErrorOptions as bH, type RestEndpoint as bI, type ResumePerpsSessionRequest as bJ, RevokePerpsCredentialsError as bK, type RevokePerpsCredentialsRequest as bL, type RfqCancelQuoteAck as bM, RfqCancelQuoteError as bN, RfqCancelQuoteRejectedError as bO, type RfqCancelQuoteRejectedErrorOptions as bP, type RfqConfirmationAck as bQ, RfqConfirmationError as bR, RfqConfirmationRejectedError as bS, type RfqConfirmationRequestEvent as bT, type RfqEndpoints as bU, type RfqEvent as bV, RfqQuoteError as bW, type RfqQuoteReference as bX, RfqQuoteRejectedError as bY, type RfqQuoteRejectedErrorOptions as bZ, type RfqQuoteRequestEvent as b_, type PerpsBookDepth as ba, type PerpsEndpoints as bb, type PerpsOrderRequest as bc, type PerpsPlaceFokOrderRequest as bd, type PerpsPlaceGtcOrderRequest as be, type PerpsPlaceIocOrderRequest as bf, type PerpsPlacedTpSlOrder as bg, type PerpsPlacedTpSlOrders as bh, type PerpsPositionTpSlTrigger as bi, PerpsSession as bj, type PerpsSessionAccountError as bk, type PerpsSessionLifecycleError as bl, type PerpsSessionTradingError as bm, type PerpsTpSlTrigger as bn, type PlacePerpsOrderRequest as bo, type PlacePerpsOrderResult as bp, type PlacePerpsOrderWithTpSlRequest as bq, type PlacePerpsOrderWithTpSlResult as br, type PlacePerpsPositionTpSlRequest as bs, type PlacePerpsPositionTpSlResult as bt, PostOrderError as bu, PostOrdersError as bv, type PostPerpsOrdersRequest as bw, type PublicAccountActions as bx, type PublicActions as by, type PublicClient as bz, type AccountIdentity as c, type CommentsSubscription as c$, type RfqQuoteSource as c0, type RfqSession as c1, type RfqTradeEvent as c2, SearchError as c3, SearchSort as c4, type SecureAccountActions as c5, type SecureActions as c6, type SecureClient as c7, type SecureClientOptions as c8, type SecureDownloadAccountingSnapshotRequest as c9, UpdatePerpsLeverageError as cA, type UpdatePerpsLeverageRequest as cB, WaitForTransactionError as cC, type WalletDerivationConfig as cD, type WebSocketEndpoint as cE, WithdrawFromPerpsError as cF, type WithdrawFromPerpsRequest as cG, accountActions as cH, allActions as cI, analyticsActions as cJ, createPublicClient as cK, createSecureClient as cL, dataActions as cM, discoveryActions as cN, forkEnvironmentConfig as cO, makeErrorGuard as cP, perpsActions as cQ, production as cR, rewardsActions as cS, rfqActions as cT, subscriptionsActions as cU, tradingActions as cV, walletActions as cW, type CancelMarketOrdersRequest as cX, type CancelOrderRequest as cY, type CancelOrdersRequest as cZ, type CommentsEventType as c_, type SecureFetchPortfolioValueRequest as ca, type SecureFetchTradedMarketCountRequest as cb, type SecureListActivityRequest as cc, type SecureListClosedPositionsRequest as cd, type SecureListComboPositionsRequest as ce, type SecureListPositionsRequest as cf, type SecurePerpsActions as cg, type SecureRewardsActions as ch, type SecureRfqActions as ci, type SecureSubscriptionsActions as cj, type SecureTradingActions as ck, type SecureWalletActions as cl, SetupGaslessWalletError as cm, SetupTradingApprovalsError as cn, type SignerTransactionRequest as co, SigningError as cp, SplitPositionError as cq, TimeoutError as cr, TransactionFailedError as cs, type TransactionHandle as ct, type TransactionOutcome as cu, TransferErc20Error as cv, TransportError as cw, type TypedDataDomain as cx, type TypedDataField as cy, UnexpectedResponseError as cz, type AnalyticsActions as d, type GaslessWorkflowRequest as d$, type CryptoPricesEventType as d0, type CryptoPricesSubscription as d1, DeployDepositWalletError as d2, type DeprecatedTransactionHandle as d3, type DownloadAccountingSnapshotRequest as d4, type DropNotificationsRequest as d5, type EquityPricesEventType as d6, type EquityPricesSubscription as d7, type Erc1155ApprovalForAllWorkflow as d8, type Erc1155ApprovalForAllWorkflowRequest as d9, type FetchMarketTagsRequest as dA, type FetchMidpointRequest as dB, type FetchMidpointsRequest as dC, FetchNegRiskError as dD, type FetchNegRiskRequest as dE, type FetchOrderBookRequest as dF, type FetchOrderBooksRequest as dG, type FetchOrderRequest as dH, type FetchOrderScoringRequest as dI, type FetchOrdersScoringRequest as dJ, type FetchPortfolioValueRequest as dK, type FetchPriceHistoryRequest as dL, type FetchPriceRequest as dM, type FetchPricesRequest as dN, type FetchPublicProfileRequest as dO, type FetchRelatedTagResourcesRequest as dP, type FetchRelatedTagsRequest as dQ, type FetchSeriesRequest as dR, type FetchSpreadRequest as dS, type FetchSpreadsRequest as dT, type FetchTagRequest as dU, FetchTickSizeError as dV, type FetchTickSizeRequest as dW, type FetchTotalEarningsForUserForDayRequest as dX, type FetchTradedMarketCountRequest as dY, GaslessTransactionMetadataSchema as dZ, type GaslessWorkflow as d_, type Erc20ApprovalWorkflow as da, type Erc20ApprovalWorkflowRequest as db, type Erc20TransferWorkflow as dc, type Erc20TransferWorkflowRequest as dd, type EstimateMarketBuyPriceRequest as de, type EstimateMarketPriceRequest as df, type EstimateMarketSellPriceRequest as dg, type EventForSubscriptionSpec as dh, type EventForSubscriptionSpecs as di, FetchBalanceAllowanceError as dj, type FetchBalanceAllowanceRequest as dk, FetchBuilderFeeRatesError as dl, type FetchBuilderFeeRatesRequest as dm, type FetchCommentsByIdRequest as dn, type FetchEventLiveVolumeRequest as dp, type FetchEventRequest as dq, type FetchEventTagsRequest as dr, FetchExecuteParamsError as ds, type FetchExecuteParamsRequest as dt, type FetchGaslessTransactionRequest as du, type FetchLastTradePriceRequest as dv, type FetchLastTradePricesRequest as dw, FetchMarketInfoError as dx, type FetchMarketInfoRequest as dy, type FetchMarketRequest as dz, ApproveErc1155ForAllError as e, type PrepareMarketSellOrderRequest as e$, IsWalletDeployedError as e0, type IsWalletDeployedRequest as e1, type ListAccountTradesRequest as e2, type ListActivityRequest as e3, type ListBuilderLeaderboardRequest as e4, type ListBuilderTradesRequest as e5, type ListBuilderVolumeRequest as e6, type ListClosedPositionsRequest as e7, type ListComboMarketsRequest as e8, type ListComboPositionsRequest as e9, type OrderDraft as eA, type OrderPostingWorkflow as eB, type OrderWorkflow as eC, type OrderWorkflowRequest as eD, type PerpsBboSubscription as eE, type PerpsBookSubscription as eF, type PerpsCandlesSubscription as eG, type PerpsDepositWorkflow as eH, type PerpsDepositWorkflowRequest as eI, type PerpsMarketDataEventType as eJ, type PerpsMarketDataSubscription as eK, type PerpsStatisticsSubscription as eL, type PerpsStreamingCandleInterval as eM, type PerpsTickersSubscription as eN, type PerpsTradesSubscription as eO, type PostOrdersRequest as eP, PrepareErc1155ApprovalForAllError as eQ, type PrepareErc1155ApprovalForAllRequest as eR, PrepareErc20ApprovalError as eS, type PrepareErc20ApprovalRequest as eT, PrepareErc20TransferError as eU, type PrepareErc20TransferRequest as eV, PrepareGaslessTransactionError as eW, type PrepareGaslessTransactionRequest as eX, type PrepareLimitOrderRequest as eY, type PrepareMarketBuyOrderRequest as eZ, type PrepareMarketOrderRequest as e_, type ListCommentsByUserAddressRequest as ea, type ListCommentsRequest as eb, type ListCurrentRewardsRequest as ec, type ListEventsRequest as ed, ListMarketClarificationsError as ee, type ListMarketClarificationsRequest as ef, type ListMarketHoldersRequest as eg, type ListMarketPositionsRequest as eh, type ListMarketRewardsRequest as ei, type ListMarketsRequest as ej, type ListOpenInterestRequest as ek, type ListOpenOrdersRequest as el, type ListPositionsRequest as em, type ListSeriesRequest as en, type ListTagsRequest as eo, type ListTeamsRequest as ep, type ListTraderLeaderboardRequest as eq, type ListTradesRequest as er, type ListUserEarningsAndMarketsConfigRequest as es, type ListUserEarningsForDayRequest as et, type MarketEventType as eu, type MarketSubscription as ev, MergeComboPositionError as ew, MergeMarketPositionError as ex, type MergePositionsWorkflow as ey, type MergePositionsWorkflowRequest as ez, ApproveErc20Error as f, fetchBalanceAllowance as f$, PrepareMergeComboPositionError as f0, type PrepareMergeComboPositionRequest as f1, PrepareMergeMarketPositionError as f2, type PrepareMergeMarketPositionRequest as f3, PrepareMergePositionsError as f4, type PrepareMergePositionsRequest as f5, PreparePerpsDepositError as f6, PrepareRedeemComboPositionError as f7, type PrepareRedeemComboPositionRequest as f8, type PrepareRedeemMarketPositionsByConditionIdRequest as f9, type SignedOrder as fA, SplitComboPositionError as fB, SplitMarketPositionError as fC, type SplitPositionWorkflow as fD, type SplitPositionWorkflowRequest as fE, type SportsEventType as fF, type SportsSubscription as fG, type SubscribeError as fH, type SubscriptionHandle as fI, type TradingApprovalsWorkflow as fJ, type TradingApprovalsWorkflowRequest as fK, UpdateBalanceAllowanceError as fL, type UpdateBalanceAllowanceRequest as fM, type UserEventType as fN, type UserSubscription as fO, WaitForGaslessTransactionError as fP, approveErc1155ForAll as fQ, approveErc20 as fR, cancelAll as fS, cancelMarketOrders as fT, cancelOrder as fU, cancelOrders as fV, deployDepositWallet as fW, depositToPerps as fX, downloadAccountingSnapshot as fY, dropNotifications as fZ, estimateMarketPrice as f_, type PrepareRedeemMarketPositionsByMarketIdRequest as fa, PrepareRedeemMarketPositionsError as fb, type PrepareRedeemMarketPositionsRequest as fc, PrepareRedeemPositionsError as fd, type PrepareRedeemPositionsRequest as fe, PrepareSplitComboPositionError as ff, type PrepareSplitComboPositionRequest as fg, PrepareSplitMarketPositionError as fh, type PrepareSplitMarketPositionRequest as fi, PrepareSplitPositionError as fj, type PrepareSplitPositionRequest as fk, PrepareTradingApprovalsError as fl, type PublicRealtimeEvent as fm, type PublicRealtimeTopic as fn, type PublicSubscriptionSpec as fo, type RedeemPositionsWorkflow as fp, type RedeemPositionsWorkflowRequest as fq, ResolveConditionByTokenError as fr, type ResolveConditionByTokenRequest as fs, type RfqConfirmationRejectedErrorOptions as ft, type RfqExecutionUpdateEvent as fu, type SearchRequest as fv, type SearchResults as fw, type SecureRealtimeEvent as fx, type SecureRealtimeTopic as fy, type SecureSubscriptionSpec as fz, BasePublicClient as g, listPerpsFundingHistory as g$, fetchBuilderFeeRates as g0, fetchBuilderVolume as g1, fetchClosedOnlyMode as g2, fetchCommentsById as g3, fetchEvent as g4, fetchEventLiveVolume as g5, fetchEventTags as g6, fetchExecuteParams as g7, fetchLastTradePrice as g8, fetchLastTradePrices as g9, fetchSpread as gA, fetchSpreads as gB, fetchTag as gC, fetchTickSize as gD, fetchTotalEarningsForUserForDay as gE, fetchTradedMarketCount as gF, fetchTransaction as gG, isWalletDeployed as gH, listAccountTrades as gI, listActivity as gJ, listBuilderLeaderboard as gK, listBuilderTrades as gL, listClosedPositions as gM, listComboMarkets as gN, listComboPositions as gO, listComments as gP, listCommentsByUserAddress as gQ, listCurrentRewards as gR, listEvents as gS, listMarketClarifications as gT, listMarketHolders as gU, listMarketPositions as gV, listMarketRewards as gW, listMarkets as gX, listOpenInterest as gY, listOpenOrders as gZ, listPerpsCandles as g_, fetchMarket as ga, fetchMarketInfo as gb, fetchMarketTags as gc, fetchMidpoint as gd, fetchMidpoints as ge, fetchNegRisk as gf, fetchNotifications as gg, fetchOrder as gh, fetchOrderBook as gi, fetchOrderBooks as gj, fetchOrderScoring as gk, fetchOrdersScoring as gl, fetchPerpsBook as gm, fetchPerpsFees as gn, fetchPerpsInstruments as go, fetchPerpsTicker as gp, fetchPerpsTickers as gq, fetchPortfolioValue as gr, fetchPrice as gs, fetchPriceHistory as gt, fetchPrices as gu, fetchPublicProfile as gv, fetchRelatedTagResources as gw, fetchRelatedTags as gx, fetchRewardPercentages as gy, fetchSeries as gz, BaseSecureClient as h, listPerpsTrades as h0, listPositions as h1, listSeries as h2, listTags as h3, listTeams as h4, listTraderLeaderboard as h5, listTrades as h6, listUserEarningsAndMarketsConfig as h7, listUserEarningsForDay as h8, mergeComboPosition as h9, splitComboPosition as hA, splitMarketPosition as hB, splitPosition as hC, subscribe as hD, transferErc20 as hE, updateBalanceAllowance as hF, withdrawFromPerps as hG, mergeMarketPosition as ha, mergePositions as hb, openPerpsSession as hc, openRfqSession as hd, postOrder as he, postOrders as hf, prepareErc1155ApprovalForAll as hg, prepareErc20Approval as hh, prepareErc20Transfer as hi, prepareGaslessTransaction as hj, prepareMergeComboPosition as hk, prepareMergeMarketPosition as hl, prepareMergePositions as hm, preparePerpsDeposit as hn, prepareRedeemComboPosition as ho, prepareRedeemMarketPositions as hp, prepareRedeemPositions as hq, prepareSplitComboPosition as hr, prepareSplitMarketPosition as hs, prepareSplitPosition as ht, prepareTradingApprovals as hu, redeemPositions as hv, resolveConditionByToken as hw, revokePerpsCredentials as hx, search as hy, setupTradingApprovals as hz, type BeginAuthenticationRequest as i, type CancelAllPerpsOrdersRequest as j, CancelMarketOrdersError as k, CancelOrderError as l, CancelOrdersError as m, type CancelPerpsOrderRequest as n, type CancelPerpsOrdersRequest as o, CancelledSigningError as p, type Client as q, type ClientActions as r, type ClientDecorator as s, type ClobEndpoints as t, type CreatePerpsSessionRequest as u, CreateSecureClientError as v, DepositToPerpsError as w, type DepositToPerpsRequest as x, type DiscoveryActions as y, DownloadAccountingSnapshotError as z };
7971
+ export { FetchOrderError as $, type ApiKeyAuthorization as A, type BaseClient as B, CancelAllError as C, type DataActions as D, DownloadAccountingSnapshotError as E, DropNotificationsError as F, type EnvironmentConfig as G, type EnvironmentConfigFork as H, type EnvironmentContracts as I, EstimateMarketPriceError as J, FetchClosedOnlyModeError as K, FetchCommentsByIdError as L, FetchEventError as M, FetchEventLiveVolumeError as N, FetchEventTagsError as O, FetchLastTradePriceError as P, FetchLastTradePricesError as Q, FetchMarketError as R, type Signer as S, type TypedDataPayload as T, UserInputError as U, FetchMarketTagsError as V, FetchMidpointError as W, FetchMidpointsError as X, FetchNotificationsError as Y, FetchOrderBookError as Z, FetchOrderBooksError as _, type TypedData as a, ListTeamsError as a$, FetchOrderScoringError as a0, FetchOrdersScoringError as a1, type FetchPerpsAccountConfigRequest as a2, FetchPerpsBookError as a3, type FetchPerpsBookRequest as a4, FetchPerpsFeesError as a5, FetchPerpsInstrumentsError as a6, type FetchPerpsInstrumentsRequest as a7, type FetchPerpsOpenOrdersRequest as a8, type FetchPerpsOrdersRequest as a9, ListComboMarketsError as aA, ListComboPositionsError as aB, ListCommentsByUserAddressError as aC, ListCommentsError as aD, ListCurrentRewardsError as aE, ListEventsError as aF, ListMarketHoldersError as aG, ListMarketPositionsError as aH, ListMarketRewardsError as aI, ListMarketsError as aJ, ListOpenInterestError as aK, ListOpenOrdersError as aL, ListPerpsCandlesError as aM, type ListPerpsCandlesRequest as aN, type ListPerpsDepositsRequest as aO, type ListPerpsEquityHistoryRequest as aP, type ListPerpsFillsRequest as aQ, ListPerpsFundingHistoryError as aR, type ListPerpsFundingHistoryRequest as aS, type ListPerpsFundingPaymentsRequest as aT, type ListPerpsPnlHistoryRequest as aU, ListPerpsTradesError as aV, type ListPerpsTradesRequest as aW, type ListPerpsWithdrawalsRequest as aX, ListPositionsError as aY, ListSeriesError as aZ, ListTagsError as a_, FetchPerpsTickerError as aa, type FetchPerpsTickerRequest as ab, FetchPerpsTickersError as ac, type FetchPerpsTickersRequest as ad, FetchPortfolioValueError as ae, FetchPriceError as af, FetchPriceHistoryError as ag, FetchPricesError as ah, FetchPublicProfileError as ai, FetchRelatedTagResourcesError as aj, FetchRelatedTagsError as ak, FetchRewardPercentagesError as al, FetchSeriesError as am, FetchSpreadError as an, FetchSpreadsError as ao, FetchTagError as ap, FetchTotalEarningsForUserForDayError as aq, FetchTradedMarketCountError as ar, InsufficientLiquidityError as as, ListAccountTradesError as at, ListActivityError as au, ListBuilderLeaderboardError as av, ListBuilderTradesError as aw, ListBuilderVolumeError as ax, ListClosedPositionsError as ay, ListComboActivityError as az, type TransactionCall as b, type RfqQuoteRejectedErrorOptions as b$, ListTraderLeaderboardError as b0, ListTradesError as b1, ListUserEarningsAndMarketsConfigError as b2, ListUserEarningsForDayError as b3, MergePositionsError as b4, OpenPerpsSessionError as b5, type OpenPerpsSessionRequest as b6, OpenRfqSessionError as b7, type Page as b8, PageSizeSchema as b9, type PublicActions as bA, type PublicClient as bB, type PublicClientOptions as bC, type PublicPerpsActions as bD, type PublicRewardsActions as bE, type PublicSubscriptionsActions as bF, RateLimitError as bG, RedeemPositionsError as bH, RequestRejectedError as bI, type RequestRejectedErrorOptions as bJ, type RestEndpoint as bK, type ResumePerpsSessionRequest as bL, RevokePerpsCredentialsError as bM, type RevokePerpsCredentialsRequest as bN, type RfqCancelQuoteAck as bO, RfqCancelQuoteError as bP, RfqCancelQuoteRejectedError as bQ, type RfqCancelQuoteRejectedErrorOptions as bR, type RfqConfirmationAck as bS, RfqConfirmationError as bT, RfqConfirmationRejectedError as bU, type RfqConfirmationRequestEvent as bV, type RfqEndpoints as bW, type RfqEvent as bX, RfqQuoteError as bY, type RfqQuoteReference as bZ, RfqQuoteRejectedError as b_, type Paginated as ba, type PerpsActions as bb, type PerpsBookDepth as bc, type PerpsEndpoints as bd, type PerpsOrderRequest as be, type PerpsPlaceFokOrderRequest as bf, type PerpsPlaceGtcOrderRequest as bg, type PerpsPlaceIocOrderRequest as bh, type PerpsPlacedTpSlOrder as bi, type PerpsPlacedTpSlOrders as bj, type PerpsPositionTpSlTrigger as bk, PerpsSession as bl, type PerpsSessionAccountError as bm, type PerpsSessionLifecycleError as bn, type PerpsSessionTradingError as bo, type PerpsTpSlTrigger as bp, type PlacePerpsOrderRequest as bq, type PlacePerpsOrderResult as br, type PlacePerpsOrderWithTpSlRequest as bs, type PlacePerpsOrderWithTpSlResult as bt, type PlacePerpsPositionTpSlRequest as bu, type PlacePerpsPositionTpSlResult as bv, PostOrderError as bw, PostOrdersError as bx, type PostPerpsOrdersRequest as by, type PublicAccountActions as bz, type AccountIdentity as c, type CancelOrderRequest as c$, type RfqQuoteRequestEvent as c0, type RfqQuoteResponse as c1, type RfqQuoteSource as c2, type RfqSession as c3, type RfqTradeEvent as c4, SearchError as c5, SearchSort as c6, type SecureAccountActions as c7, type SecureActions as c8, type SecureClient as c9, type TypedDataDomain as cA, type TypedDataField as cB, UnexpectedResponseError as cC, UpdatePerpsLeverageError as cD, type UpdatePerpsLeverageRequest as cE, WaitForTransactionError as cF, type WalletDerivationConfig as cG, type WebSocketEndpoint as cH, WithdrawFromPerpsError as cI, type WithdrawFromPerpsRequest as cJ, accountActions as cK, allActions as cL, analyticsActions as cM, createPublicClient as cN, createSecureClient as cO, dataActions as cP, discoveryActions as cQ, forkEnvironmentConfig as cR, makeErrorGuard as cS, perpsActions as cT, production as cU, rewardsActions as cV, rfqActions as cW, subscriptionsActions as cX, tradingActions as cY, walletActions as cZ, type CancelMarketOrdersRequest as c_, type SecureClientOptions as ca, type SecureDownloadAccountingSnapshotRequest as cb, type SecureFetchPortfolioValueRequest as cc, type SecureFetchTradedMarketCountRequest as cd, type SecureListActivityRequest as ce, type SecureListClosedPositionsRequest as cf, type SecureListComboActivityRequest as cg, type SecureListComboPositionsRequest as ch, type SecureListPositionsRequest as ci, type SecurePerpsActions as cj, type SecureRewardsActions as ck, type SecureRfqActions as cl, type SecureSubscriptionsActions as cm, type SecureTradingActions as cn, type SecureWalletActions as co, SetupGaslessWalletError as cp, SetupTradingApprovalsError as cq, type SignerTransactionRequest as cr, SigningError as cs, SplitPositionError as ct, TimeoutError as cu, TransactionFailedError as cv, type TransactionHandle as cw, type TransactionOutcome as cx, TransferErc20Error as cy, TransportError as cz, type AnalyticsActions as d, type FetchTradedMarketCountRequest as d$, type CancelOrdersRequest as d0, type CommentsEventType as d1, type CommentsSubscription as d2, type CryptoPricesEventType as d3, type CryptoPricesSubscription as d4, DeployDepositWalletError as d5, type DeprecatedTransactionHandle as d6, type DownloadAccountingSnapshotRequest as d7, type DropNotificationsRequest as d8, type EquityPricesEventType as d9, FetchMarketInfoError as dA, type FetchMarketInfoRequest as dB, type FetchMarketRequest as dC, type FetchMarketTagsRequest as dD, type FetchMidpointRequest as dE, type FetchMidpointsRequest as dF, FetchNegRiskError as dG, type FetchNegRiskRequest as dH, type FetchOrderBookRequest as dI, type FetchOrderBooksRequest as dJ, type FetchOrderRequest as dK, type FetchOrderScoringRequest as dL, type FetchOrdersScoringRequest as dM, type FetchPortfolioValueRequest as dN, type FetchPriceHistoryRequest as dO, type FetchPriceRequest as dP, type FetchPricesRequest as dQ, type FetchPublicProfileRequest as dR, type FetchRelatedTagResourcesRequest as dS, type FetchRelatedTagsRequest as dT, type FetchSeriesRequest as dU, type FetchSpreadRequest as dV, type FetchSpreadsRequest as dW, type FetchTagRequest as dX, FetchTickSizeError as dY, type FetchTickSizeRequest as dZ, type FetchTotalEarningsForUserForDayRequest as d_, type EquityPricesSubscription as da, type Erc1155ApprovalForAllWorkflow as db, type Erc1155ApprovalForAllWorkflowRequest as dc, type Erc20ApprovalWorkflow as dd, type Erc20ApprovalWorkflowRequest as de, type Erc20TransferWorkflow as df, type Erc20TransferWorkflowRequest as dg, type EstimateMarketBuyPriceRequest as dh, type EstimateMarketPriceRequest as di, type EstimateMarketSellPriceRequest as dj, type EventForSubscriptionSpec as dk, type EventForSubscriptionSpecs as dl, FetchBalanceAllowanceError as dm, type FetchBalanceAllowanceRequest as dn, FetchBuilderFeeRatesError as dp, type FetchBuilderFeeRatesRequest as dq, type FetchCommentsByIdRequest as dr, type FetchEventLiveVolumeRequest as ds, type FetchEventRequest as dt, type FetchEventTagsRequest as du, FetchExecuteParamsError as dv, type FetchExecuteParamsRequest as dw, type FetchGaslessTransactionRequest as dx, type FetchLastTradePriceRequest as dy, type FetchLastTradePricesRequest as dz, ApproveErc1155ForAllError as e, type PrepareGaslessTransactionRequest as e$, GaslessTransactionMetadataSchema as e0, type GaslessWorkflow as e1, type GaslessWorkflowRequest as e2, IsWalletDeployedError as e3, type IsWalletDeployedRequest as e4, type ListAccountTradesRequest as e5, type ListActivityRequest as e6, type ListBuilderLeaderboardRequest as e7, type ListBuilderTradesRequest as e8, type ListBuilderVolumeRequest as e9, MergeComboPositionError as eA, MergeMarketPositionError as eB, type MergePositionsWorkflow as eC, type MergePositionsWorkflowRequest as eD, type OrderDraft as eE, type OrderPostingWorkflow as eF, type OrderWorkflow as eG, type OrderWorkflowRequest as eH, type PerpsBboSubscription as eI, type PerpsBookSubscription as eJ, type PerpsCandlesSubscription as eK, type PerpsDepositWorkflow as eL, type PerpsDepositWorkflowRequest as eM, type PerpsMarketDataEventType as eN, type PerpsMarketDataSubscription as eO, type PerpsStatisticsSubscription as eP, type PerpsStreamingCandleInterval as eQ, type PerpsTickersSubscription as eR, type PerpsTradesSubscription as eS, type PostOrdersRequest as eT, PrepareErc1155ApprovalForAllError as eU, type PrepareErc1155ApprovalForAllRequest as eV, PrepareErc20ApprovalError as eW, type PrepareErc20ApprovalRequest as eX, PrepareErc20TransferError as eY, type PrepareErc20TransferRequest as eZ, PrepareGaslessTransactionError as e_, type ListClosedPositionsRequest as ea, type ListComboActivityRequest as eb, type ListComboMarketsRequest as ec, type ListComboPositionsRequest as ed, type ListCommentsByUserAddressRequest as ee, type ListCommentsRequest as ef, type ListCurrentRewardsRequest as eg, type ListEventsRequest as eh, ListMarketClarificationsError as ei, type ListMarketClarificationsRequest as ej, type ListMarketHoldersRequest as ek, type ListMarketPositionsRequest as el, type ListMarketRewardsRequest as em, type ListMarketsRequest as en, type ListOpenInterestRequest as eo, type ListOpenOrdersRequest as ep, type ListPositionsRequest as eq, type ListSeriesRequest as er, type ListTagsRequest as es, type ListTeamsRequest as et, type ListTraderLeaderboardRequest as eu, type ListTradesRequest as ev, type ListUserEarningsAndMarketsConfigRequest as ew, type ListUserEarningsForDayRequest as ex, type MarketEventType as ey, type MarketSubscription as ez, ApproveErc20Error as f, depositToPerps as f$, type PrepareLimitOrderRequest as f0, type PrepareMarketBuyOrderRequest as f1, type PrepareMarketOrderRequest as f2, type PrepareMarketSellOrderRequest as f3, PrepareMergeComboPositionError as f4, type PrepareMergeComboPositionRequest as f5, PrepareMergeMarketPositionError as f6, type PrepareMergeMarketPositionRequest as f7, PrepareMergePositionsError as f8, type PrepareMergePositionsRequest as f9, type SearchResults as fA, type SecureRealtimeEvent as fB, type SecureRealtimeTopic as fC, type SecureSubscriptionSpec as fD, type SignedOrder as fE, SplitComboPositionError as fF, SplitMarketPositionError as fG, type SplitPositionWorkflow as fH, type SplitPositionWorkflowRequest as fI, type SportsEventType as fJ, type SportsSubscription as fK, type SubscribeError as fL, type SubscriptionHandle as fM, type TradingApprovalsWorkflow as fN, type TradingApprovalsWorkflowRequest as fO, UpdateBalanceAllowanceError as fP, type UpdateBalanceAllowanceRequest as fQ, type UserEventType as fR, type UserSubscription as fS, WaitForGaslessTransactionError as fT, approveErc1155ForAll as fU, approveErc20 as fV, cancelAll as fW, cancelMarketOrders as fX, cancelOrder as fY, cancelOrders as fZ, deployDepositWallet as f_, PreparePerpsDepositError as fa, PrepareRedeemComboPositionError as fb, type PrepareRedeemComboPositionRequest as fc, type PrepareRedeemMarketPositionsByConditionIdRequest as fd, type PrepareRedeemMarketPositionsByMarketIdRequest as fe, PrepareRedeemMarketPositionsError as ff, type PrepareRedeemMarketPositionsRequest as fg, PrepareRedeemPositionsError as fh, type PrepareRedeemPositionsRequest as fi, PrepareSplitComboPositionError as fj, type PrepareSplitComboPositionRequest as fk, PrepareSplitMarketPositionError as fl, type PrepareSplitMarketPositionRequest as fm, PrepareSplitPositionError as fn, type PrepareSplitPositionRequest as fo, PrepareTradingApprovalsError as fp, type PublicRealtimeEvent as fq, type PublicRealtimeTopic as fr, type PublicSubscriptionSpec as fs, type RedeemPositionsWorkflow as ft, type RedeemPositionsWorkflowRequest as fu, ResolveConditionByTokenError as fv, type ResolveConditionByTokenRequest as fw, type RfqConfirmationRejectedErrorOptions as fx, type RfqExecutionUpdateEvent as fy, type SearchRequest as fz, BasePublicClient as g, listMarketRewards as g$, downloadAccountingSnapshot as g0, dropNotifications as g1, estimateMarketPrice as g2, fetchBalanceAllowance as g3, fetchBuilderFeeRates as g4, fetchBuilderVolume as g5, fetchClosedOnlyMode as g6, fetchCommentsById as g7, fetchEvent as g8, fetchEventLiveVolume as g9, fetchRelatedTagResources as gA, fetchRelatedTags as gB, fetchRewardPercentages as gC, fetchSeries as gD, fetchSpread as gE, fetchSpreads as gF, fetchTag as gG, fetchTickSize as gH, fetchTotalEarningsForUserForDay as gI, fetchTradedMarketCount as gJ, fetchTransaction as gK, isWalletDeployed as gL, listAccountTrades as gM, listActivity as gN, listBuilderLeaderboard as gO, listBuilderTrades as gP, listClosedPositions as gQ, listComboActivity as gR, listComboMarkets as gS, listComboPositions as gT, listComments as gU, listCommentsByUserAddress as gV, listCurrentRewards as gW, listEvents as gX, listMarketClarifications as gY, listMarketHolders as gZ, listMarketPositions as g_, fetchEventTags as ga, fetchExecuteParams as gb, fetchLastTradePrice as gc, fetchLastTradePrices as gd, fetchMarket as ge, fetchMarketInfo as gf, fetchMarketTags as gg, fetchMidpoint as gh, fetchMidpoints as gi, fetchNegRisk as gj, fetchNotifications as gk, fetchOrder as gl, fetchOrderBook as gm, fetchOrderBooks as gn, fetchOrderScoring as go, fetchOrdersScoring as gp, fetchPerpsBook as gq, fetchPerpsFees as gr, fetchPerpsInstruments as gs, fetchPerpsTicker as gt, fetchPerpsTickers as gu, fetchPortfolioValue as gv, fetchPrice as gw, fetchPriceHistory as gx, fetchPrices as gy, fetchPublicProfile as gz, BaseSecureClient as h, listMarkets as h0, listOpenInterest as h1, listOpenOrders as h2, listPerpsCandles as h3, listPerpsFundingHistory as h4, listPerpsTrades as h5, listPositions as h6, listSeries as h7, listTags as h8, listTeams as h9, redeemPositions as hA, resolveConditionByToken as hB, revokePerpsCredentials as hC, search as hD, setupTradingApprovals as hE, splitComboPosition as hF, splitMarketPosition as hG, splitPosition as hH, subscribe as hI, transferErc20 as hJ, updateBalanceAllowance as hK, withdrawFromPerps as hL, listTraderLeaderboard as ha, listTrades as hb, listUserEarningsAndMarketsConfig as hc, listUserEarningsForDay as hd, mergeComboPosition as he, mergeMarketPosition as hf, mergePositions as hg, openPerpsSession as hh, openRfqSession as hi, postOrder as hj, postOrders as hk, prepareErc1155ApprovalForAll as hl, prepareErc20Approval as hm, prepareErc20Transfer as hn, prepareGaslessTransaction as ho, prepareMergeComboPosition as hp, prepareMergeMarketPosition as hq, prepareMergePositions as hr, preparePerpsDeposit as hs, prepareRedeemComboPosition as ht, prepareRedeemMarketPositions as hu, prepareRedeemPositions as hv, prepareSplitComboPosition as hw, prepareSplitMarketPosition as hx, prepareSplitPosition as hy, prepareTradingApprovals as hz, type BeginAuthenticationRequest as i, type CancelAllPerpsOrdersRequest as j, CancelMarketOrdersError as k, CancelOrderError as l, CancelOrdersError as m, type CancelPerpsOrderRequest as n, type CancelPerpsOrdersRequest as o, CancelledSigningError as p, type Client as q, type ClientActions as r, type ClientDecorator as s, type ClobEndpoints as t, ComboPositionSort as u, type CreatePerpsSessionRequest as v, CreateSecureClientError as w, DepositToPerpsError as x, type DepositToPerpsRequest as y, type DiscoveryActions as z };