@polymarket/client 0.1.0-beta.15 → 0.1.0-beta.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/index.d.ts +12 -12
- package/dist/actions/index.js +1 -1
- package/dist/chunk-3GYPYD7Z.js +2 -0
- package/dist/chunk-3GYPYD7Z.js.map +1 -0
- package/dist/chunk-G452QGDI.js +2 -0
- package/dist/chunk-G452QGDI.js.map +1 -0
- package/dist/chunk-TYJAXA3Y.js +6 -0
- package/dist/chunk-TYJAXA3Y.js.map +1 -0
- package/dist/ethers-v5.d.ts +1 -1
- package/dist/ethers-v5.js +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/node.js +1 -1
- package/dist/privy.js +1 -1
- package/dist/{sports-R1VwatKh.d.ts → sports-CRQtaLzT.d.ts} +11 -11
- package/dist/{types-DaUXkJL6.d.ts → types-Dde2p6Ix.d.ts} +193 -151
- package/dist/viem.d.ts +1 -1
- package/dist/viem.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-E2CLUN5M.js +0 -6
- package/dist/chunk-E2CLUN5M.js.map +0 -1
- package/dist/chunk-IBUXKB4V.js +0 -2
- package/dist/chunk-IBUXKB4V.js.map +0 -1
- package/dist/chunk-NTEPEJZK.js +0 -2
- package/dist/chunk-NTEPEJZK.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as _polymarket_bindings from '@polymarket/bindings';
|
|
2
|
-
import { PaginationCursor, OrderSide, OrderType, TokenId, BuilderCode, EvmAddress as EvmAddress$1, CtfConditionId, TickSizeValue, PositionId, TransactionId } from '@polymarket/bindings';
|
|
2
|
+
import { PaginationCursor, DecimalString, OrderSide, OrderType, TokenId, BuilderCode, EvmAddress as EvmAddress$1, CtfConditionId, TickSizeValue, PositionId, TransactionId } from '@polymarket/bindings';
|
|
3
3
|
import { PolymarketError, HexString, EvmAddress, EvmSignature, NonEmptyArray, Prettify, Erc1271Signature, TxHash } from '@polymarket/types';
|
|
4
4
|
import { WalletType, Event, TagReference, Market, Series, MarketClarification, Tag, RelatedTag, SportsMetadata, SportsMarketTypesResponse, Team, PublicProfile, Comment, MarketClarificationState, Profile, SearchTag } from '@polymarket/bindings/gamma';
|
|
5
5
|
import { RelayerTransactionType, RelayerExecuteParams, GaslessTransaction } from '@polymarket/bindings/relayer';
|
|
6
6
|
import { ZodError, z } from 'zod';
|
|
7
7
|
import * as _polymarket_bindings_clob from '@polymarket/bindings/clob';
|
|
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';
|
|
8
|
+
import { ClobTrade, NotificationsResponse, BuilderTrade, Midpoints, Prices, OrderBook, Spreads, 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
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';
|
|
@@ -44,6 +44,48 @@ declare class TransportError extends PolymarketError {
|
|
|
44
44
|
constructor(message: string, options?: ErrorOptions);
|
|
45
45
|
static fromError(error: unknown): TransportError;
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* WebSocket close codes defined by RFC 6455 and the IANA WebSocket Close Code
|
|
49
|
+
* Number registry. Codes 4000-4999 are reserved for application use and are
|
|
50
|
+
* intentionally not modeled here.
|
|
51
|
+
*/
|
|
52
|
+
declare enum WebSocketKnownCloseCode {
|
|
53
|
+
NormalClosure = 1000,
|
|
54
|
+
GoingAway = 1001,
|
|
55
|
+
ProtocolError = 1002,
|
|
56
|
+
UnsupportedData = 1003,
|
|
57
|
+
/** Synthesized locally when the peer closed without a status code. */
|
|
58
|
+
NoStatusReceived = 1005,
|
|
59
|
+
/** Synthesized locally when the connection dropped without a close frame. */
|
|
60
|
+
AbnormalClosure = 1006,
|
|
61
|
+
InvalidFramePayload = 1007,
|
|
62
|
+
PolicyViolation = 1008,
|
|
63
|
+
MessageTooBig = 1009,
|
|
64
|
+
InternalError = 1011,
|
|
65
|
+
ServiceRestart = 1012,
|
|
66
|
+
TryAgainLater = 1013
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* A WebSocket close code. Codes enumerated in
|
|
70
|
+
* {@link WebSocketKnownCloseCode} are defined by RFC 6455; other values, such
|
|
71
|
+
* as application-defined 4000-4999 codes, flow through as plain numbers.
|
|
72
|
+
*/
|
|
73
|
+
type WebSocketCloseCode = WebSocketKnownCloseCode | (number & {});
|
|
74
|
+
type ConnectionLostErrorOptions = {
|
|
75
|
+
/** WebSocket close code reported for the lost connection. */
|
|
76
|
+
code: WebSocketCloseCode;
|
|
77
|
+
/** Close reason provided by the peer. Empty when none was sent. */
|
|
78
|
+
reason: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Error thrown when a live connection ends without the SDK requesting it.
|
|
82
|
+
*/
|
|
83
|
+
declare class ConnectionLostError extends PolymarketError {
|
|
84
|
+
name: "ConnectionLostError";
|
|
85
|
+
readonly code: WebSocketCloseCode;
|
|
86
|
+
readonly reason: string;
|
|
87
|
+
constructor(message: string, options: ErrorOptions & ConnectionLostErrorOptions);
|
|
88
|
+
}
|
|
47
89
|
type RequestRejectedErrorOptions = {
|
|
48
90
|
status: number;
|
|
49
91
|
};
|
|
@@ -157,7 +199,7 @@ declare const FetchExecuteParamsRequestSchema: z.ZodObject<{
|
|
|
157
199
|
type FetchExecuteParamsRequest = z.input<typeof FetchExecuteParamsRequestSchema>;
|
|
158
200
|
type FetchExecuteParamsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
159
201
|
declare const FetchExecuteParamsError: {
|
|
160
|
-
isError(error: unknown): error is
|
|
202
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
161
203
|
};
|
|
162
204
|
/**
|
|
163
205
|
* Fetches the parameters needed to prepare a low-level transaction submission.
|
|
@@ -180,7 +222,7 @@ declare const IsWalletDeployedRequestSchema: z.ZodObject<{
|
|
|
180
222
|
type IsWalletDeployedRequest = z.input<typeof IsWalletDeployedRequestSchema>;
|
|
181
223
|
type IsWalletDeployedError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
182
224
|
declare const IsWalletDeployedError: {
|
|
183
|
-
isError(error: unknown): error is
|
|
225
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
184
226
|
};
|
|
185
227
|
/**
|
|
186
228
|
* Checks whether a wallet is deployed for relayer-backed transactions.
|
|
@@ -205,7 +247,7 @@ declare function isWalletDeployed(client: BaseClient, request?: IsWalletDeployed
|
|
|
205
247
|
declare const GaslessTransactionMetadataSchema: z.ZodString;
|
|
206
248
|
type DeployDepositWalletError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
207
249
|
declare const DeployDepositWalletError: {
|
|
208
|
-
isError(error: unknown): error is
|
|
250
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
209
251
|
};
|
|
210
252
|
/**
|
|
211
253
|
* Deploys a Deposit Wallet for the authenticated signer.
|
|
@@ -248,7 +290,7 @@ type GaslessWorkflowRequest = RequestAddressRequest | SignGaslessMessageRequest
|
|
|
248
290
|
type GaslessWorkflow = AsyncGenerator<GaslessWorkflowRequest, TransactionHandle, EvmAddress | EvmSignature | TransactionHandle>;
|
|
249
291
|
type PrepareGaslessTransactionError = ExecuteGaslessError | FetchExecuteParamsError | UserInputError;
|
|
250
292
|
declare const PrepareGaslessTransactionError: {
|
|
251
|
-
isError(error: unknown): error is
|
|
293
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
252
294
|
};
|
|
253
295
|
/**
|
|
254
296
|
* Starts preparing a low-level transaction workflow from one or more calls.
|
|
@@ -263,7 +305,7 @@ declare function prepareGaslessTransaction(client: BaseSecureClient, request: Pr
|
|
|
263
305
|
type ExecuteGaslessError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
264
306
|
type WaitForGaslessTransactionError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | TimeoutError | TransactionFailedError;
|
|
265
307
|
declare const WaitForGaslessTransactionError: {
|
|
266
|
-
isError(error: unknown): error is
|
|
308
|
+
isError(error: unknown): error is TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
267
309
|
};
|
|
268
310
|
|
|
269
311
|
declare const PageSizeSchema: z.ZodNumber;
|
|
@@ -300,7 +342,7 @@ declare const ListTradesRequestSchema: z.ZodObject<{
|
|
|
300
342
|
type ListTradesRequest = z.input<typeof ListTradesRequestSchema>;
|
|
301
343
|
type ListTradesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
302
344
|
declare const ListTradesError: {
|
|
303
|
-
isError(error: unknown): error is
|
|
345
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
304
346
|
};
|
|
305
347
|
/**
|
|
306
348
|
* Lists trades for a wallet, market, or event.
|
|
@@ -367,7 +409,7 @@ declare const ListActivityRequestSchema: z.ZodObject<{
|
|
|
367
409
|
type ListActivityRequest = z.input<typeof ListActivityRequestSchema>;
|
|
368
410
|
type ListActivityError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
369
411
|
declare const ListActivityError: {
|
|
370
|
-
isError(error: unknown): error is
|
|
412
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
371
413
|
};
|
|
372
414
|
/**
|
|
373
415
|
* Lists wallet activity.
|
|
@@ -417,7 +459,7 @@ declare const ListComboActivityRequestSchema: z.ZodObject<{
|
|
|
417
459
|
type ListComboActivityRequest = z.input<typeof ListComboActivityRequestSchema>;
|
|
418
460
|
type ListComboActivityError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
419
461
|
declare const ListComboActivityError: {
|
|
420
|
-
isError(error: unknown): error is
|
|
462
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
421
463
|
};
|
|
422
464
|
/**
|
|
423
465
|
* Lists combo lifecycle activity for a wallet.
|
|
@@ -482,7 +524,7 @@ declare const ListPositionsRequestSchema: z.ZodObject<{
|
|
|
482
524
|
type ListPositionsRequest = z.input<typeof ListPositionsRequestSchema>;
|
|
483
525
|
type ListPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
484
526
|
declare const ListPositionsError: {
|
|
485
|
-
isError(error: unknown): error is
|
|
527
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
486
528
|
};
|
|
487
529
|
/**
|
|
488
530
|
* Lists current positions for a wallet.
|
|
@@ -545,7 +587,7 @@ declare const ListClosedPositionsRequestSchema: z.ZodObject<{
|
|
|
545
587
|
type ListClosedPositionsRequest = z.input<typeof ListClosedPositionsRequestSchema>;
|
|
546
588
|
type ListClosedPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
547
589
|
declare const ListClosedPositionsError: {
|
|
548
|
-
isError(error: unknown): error is
|
|
590
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
549
591
|
};
|
|
550
592
|
/**
|
|
551
593
|
* Lists closed positions for a wallet.
|
|
@@ -599,7 +641,7 @@ declare const ListComboPositionsRequestSchema: z.ZodObject<{
|
|
|
599
641
|
type ListComboPositionsRequest = z.input<typeof ListComboPositionsRequestSchema>;
|
|
600
642
|
type ListComboPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
601
643
|
declare const ListComboPositionsError: {
|
|
602
|
-
isError(error: unknown): error is
|
|
644
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
603
645
|
};
|
|
604
646
|
/**
|
|
605
647
|
* Lists combo positions for a wallet.
|
|
@@ -654,7 +696,7 @@ declare const FetchPortfolioValueRequestSchema: z.ZodObject<{
|
|
|
654
696
|
type FetchPortfolioValueRequest = z.input<typeof FetchPortfolioValueRequestSchema>;
|
|
655
697
|
type FetchPortfolioValueError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
656
698
|
declare const FetchPortfolioValueError: {
|
|
657
|
-
isError(error: unknown): error is
|
|
699
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
658
700
|
};
|
|
659
701
|
/**
|
|
660
702
|
* Fetches the total value for a wallet's positions.
|
|
@@ -681,7 +723,7 @@ declare const FetchTradedMarketCountRequestSchema: z.ZodObject<{
|
|
|
681
723
|
type FetchTradedMarketCountRequest = z.input<typeof FetchTradedMarketCountRequestSchema>;
|
|
682
724
|
type FetchTradedMarketCountError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
683
725
|
declare const FetchTradedMarketCountError: {
|
|
684
|
-
isError(error: unknown): error is
|
|
726
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
685
727
|
};
|
|
686
728
|
/**
|
|
687
729
|
* Fetches the total number of markets a wallet has traded.
|
|
@@ -708,7 +750,7 @@ declare const DownloadAccountingSnapshotRequestSchema: z.ZodObject<{
|
|
|
708
750
|
type DownloadAccountingSnapshotRequest = z.input<typeof DownloadAccountingSnapshotRequestSchema>;
|
|
709
751
|
type DownloadAccountingSnapshotError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
710
752
|
declare const DownloadAccountingSnapshotError: {
|
|
711
|
-
isError(error: unknown): error is
|
|
753
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
712
754
|
};
|
|
713
755
|
/**
|
|
714
756
|
* Downloads an accounting snapshot archive for a wallet.
|
|
@@ -1274,7 +1316,7 @@ type DataActions = {
|
|
|
1274
1316
|
*/
|
|
1275
1317
|
fetchEventLiveVolume(request: FetchEventLiveVolumeRequest): Promise<LiveVolume[]>;
|
|
1276
1318
|
/**
|
|
1277
|
-
* Fetches the midpoint price for a token.
|
|
1319
|
+
* Fetches the midpoint price for a token as a decimal string.
|
|
1278
1320
|
*
|
|
1279
1321
|
* @throws {@link FetchMidpointError}
|
|
1280
1322
|
* Thrown on failure.
|
|
@@ -1284,9 +1326,9 @@ type DataActions = {
|
|
|
1284
1326
|
* const midpoint = await client.fetchMidpoint({ tokenId: '123' });
|
|
1285
1327
|
* ```
|
|
1286
1328
|
*/
|
|
1287
|
-
fetchMidpoint(request: FetchMidpointRequest): Promise<
|
|
1329
|
+
fetchMidpoint(request: FetchMidpointRequest): Promise<DecimalString>;
|
|
1288
1330
|
/**
|
|
1289
|
-
* Fetches midpoint prices for multiple tokens.
|
|
1331
|
+
* Fetches midpoint prices for multiple tokens as a token ID keyed lookup.
|
|
1290
1332
|
*
|
|
1291
1333
|
* @throws {@link FetchMidpointsError}
|
|
1292
1334
|
* Thrown on failure.
|
|
@@ -1296,9 +1338,9 @@ type DataActions = {
|
|
|
1296
1338
|
* const midpoints = await client.fetchMidpoints([{ tokenId: '123' }]);
|
|
1297
1339
|
* ```
|
|
1298
1340
|
*/
|
|
1299
|
-
fetchMidpoints(request: FetchMidpointsRequest): Promise<
|
|
1341
|
+
fetchMidpoints(request: FetchMidpointsRequest): Promise<Midpoints>;
|
|
1300
1342
|
/**
|
|
1301
|
-
* Fetches the current quoted price for a token and side.
|
|
1343
|
+
* Fetches the current quoted price for a token and side as a decimal string.
|
|
1302
1344
|
*
|
|
1303
1345
|
* @throws {@link FetchPriceError}
|
|
1304
1346
|
* Thrown on failure.
|
|
@@ -1308,9 +1350,9 @@ type DataActions = {
|
|
|
1308
1350
|
* const price = await client.fetchPrice({ tokenId: '123', side: OrderSide.BUY });
|
|
1309
1351
|
* ```
|
|
1310
1352
|
*/
|
|
1311
|
-
fetchPrice(request: FetchPriceRequest): Promise<
|
|
1353
|
+
fetchPrice(request: FetchPriceRequest): Promise<DecimalString>;
|
|
1312
1354
|
/**
|
|
1313
|
-
* Fetches quoted prices for multiple tokens.
|
|
1355
|
+
* Fetches quoted prices for multiple tokens as a token ID keyed lookup.
|
|
1314
1356
|
*
|
|
1315
1357
|
* @throws {@link FetchPricesError}
|
|
1316
1358
|
* Thrown on failure.
|
|
@@ -1346,7 +1388,7 @@ type DataActions = {
|
|
|
1346
1388
|
*/
|
|
1347
1389
|
fetchOrderBooks(request: FetchOrderBooksRequest): Promise<OrderBook[]>;
|
|
1348
1390
|
/**
|
|
1349
|
-
* Fetches the spread for a token.
|
|
1391
|
+
* Fetches the spread for a token as a decimal string.
|
|
1350
1392
|
*
|
|
1351
1393
|
* @throws {@link FetchSpreadError}
|
|
1352
1394
|
* Thrown on failure.
|
|
@@ -1356,9 +1398,9 @@ type DataActions = {
|
|
|
1356
1398
|
* const spread = await client.fetchSpread({ tokenId: '123' });
|
|
1357
1399
|
* ```
|
|
1358
1400
|
*/
|
|
1359
|
-
fetchSpread(request: FetchSpreadRequest): Promise<
|
|
1401
|
+
fetchSpread(request: FetchSpreadRequest): Promise<DecimalString>;
|
|
1360
1402
|
/**
|
|
1361
|
-
* Fetches spreads for multiple tokens.
|
|
1403
|
+
* Fetches spreads for multiple tokens as a token ID keyed lookup.
|
|
1362
1404
|
*
|
|
1363
1405
|
* @throws {@link FetchSpreadsError}
|
|
1364
1406
|
* Thrown on failure.
|
|
@@ -1368,7 +1410,7 @@ type DataActions = {
|
|
|
1368
1410
|
* const spreads = await client.fetchSpreads([{ tokenId: '123' }]);
|
|
1369
1411
|
* ```
|
|
1370
1412
|
*/
|
|
1371
|
-
fetchSpreads(request: FetchSpreadsRequest): Promise<
|
|
1413
|
+
fetchSpreads(request: FetchSpreadsRequest): Promise<Spreads>;
|
|
1372
1414
|
/**
|
|
1373
1415
|
* Fetches the last traded price for a token.
|
|
1374
1416
|
*
|
|
@@ -2453,9 +2495,9 @@ declare class RfqQuoteRejectedError extends PolymarketError {
|
|
|
2453
2495
|
readonly rfqId: RfqId;
|
|
2454
2496
|
constructor(message: string, options: ErrorOptions & RfqQuoteRejectedErrorOptions);
|
|
2455
2497
|
}
|
|
2456
|
-
type RfqQuoteError = RfqQuoteRejectedError | SigningError | TimeoutError | TransportError | UserInputError;
|
|
2498
|
+
type RfqQuoteError = ConnectionLostError | RfqQuoteRejectedError | SigningError | TimeoutError | TransportError | UserInputError;
|
|
2457
2499
|
declare const RfqQuoteError: {
|
|
2458
|
-
isError(error: unknown): error is
|
|
2500
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | ConnectionLostError | TimeoutError | RfqQuoteRejectedError;
|
|
2459
2501
|
};
|
|
2460
2502
|
type RfqCancelQuoteRejectedErrorOptions = {
|
|
2461
2503
|
/** RFQ error code for the rejected cancellation request. */
|
|
@@ -2478,9 +2520,9 @@ declare class RfqCancelQuoteRejectedError extends PolymarketError {
|
|
|
2478
2520
|
readonly quoteId: RfqQuoteId;
|
|
2479
2521
|
constructor(message: string, options: ErrorOptions & RfqCancelQuoteRejectedErrorOptions);
|
|
2480
2522
|
}
|
|
2481
|
-
type RfqCancelQuoteError = RfqCancelQuoteRejectedError | TimeoutError | TransportError;
|
|
2523
|
+
type RfqCancelQuoteError = ConnectionLostError | RfqCancelQuoteRejectedError | TimeoutError | TransportError;
|
|
2482
2524
|
declare const RfqCancelQuoteError: {
|
|
2483
|
-
isError(error: unknown): error is TransportError | TimeoutError | RfqCancelQuoteRejectedError;
|
|
2525
|
+
isError(error: unknown): error is TransportError | ConnectionLostError | TimeoutError | RfqCancelQuoteRejectedError;
|
|
2484
2526
|
};
|
|
2485
2527
|
type RfqConfirmationRejectedErrorOptions = {
|
|
2486
2528
|
/** RFQ error code for the rejected confirmation decision. */
|
|
@@ -2503,9 +2545,9 @@ declare class RfqConfirmationRejectedError extends PolymarketError {
|
|
|
2503
2545
|
readonly quoteId: RfqQuoteId;
|
|
2504
2546
|
constructor(message: string, options: ErrorOptions & RfqConfirmationRejectedErrorOptions);
|
|
2505
2547
|
}
|
|
2506
|
-
type RfqConfirmationError = RfqConfirmationRejectedError | TimeoutError | TransportError;
|
|
2548
|
+
type RfqConfirmationError = ConnectionLostError | RfqConfirmationRejectedError | TimeoutError | TransportError;
|
|
2507
2549
|
declare const RfqConfirmationError: {
|
|
2508
|
-
isError(error: unknown): error is TransportError | TimeoutError | RfqConfirmationRejectedError;
|
|
2550
|
+
isError(error: unknown): error is TransportError | ConnectionLostError | TimeoutError | RfqConfirmationRejectedError;
|
|
2509
2551
|
};
|
|
2510
2552
|
/**
|
|
2511
2553
|
* Server request asking the market maker to provide a quote for an RFQ.
|
|
@@ -2602,9 +2644,9 @@ interface RfqSession extends AsyncIterable<RfqEvent> {
|
|
|
2602
2644
|
*/
|
|
2603
2645
|
close(): Promise<void>;
|
|
2604
2646
|
}
|
|
2605
|
-
type OpenRfqSessionError = TransportError;
|
|
2647
|
+
type OpenRfqSessionError = ConnectionLostError | TransportError;
|
|
2606
2648
|
declare const OpenRfqSessionError: {
|
|
2607
|
-
isError(error: unknown): error is TransportError;
|
|
2649
|
+
isError(error: unknown): error is TransportError | ConnectionLostError;
|
|
2608
2650
|
};
|
|
2609
2651
|
/**
|
|
2610
2652
|
* Opens an RFQ event session.
|
|
@@ -2813,7 +2855,7 @@ declare const CancelMarketOrdersRequestSchema: z.ZodObject<{
|
|
|
2813
2855
|
type CancelOrderRequest = z.input<typeof CancelOrderRequestSchema>;
|
|
2814
2856
|
type CancelOrderError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
2815
2857
|
declare const CancelOrderError: {
|
|
2816
|
-
isError(error: unknown): error is
|
|
2858
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
2817
2859
|
};
|
|
2818
2860
|
/**
|
|
2819
2861
|
* Cancels a single open order for the authenticated account.
|
|
@@ -2837,7 +2879,7 @@ declare function cancelOrder(client: BaseSecureClient, request: CancelOrderReque
|
|
|
2837
2879
|
type CancelOrdersRequest = z.input<typeof CancelOrdersRequestSchema>;
|
|
2838
2880
|
type CancelOrdersError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
2839
2881
|
declare const CancelOrdersError: {
|
|
2840
|
-
isError(error: unknown): error is
|
|
2882
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
2841
2883
|
};
|
|
2842
2884
|
/**
|
|
2843
2885
|
* Cancels multiple open orders for the authenticated account.
|
|
@@ -2860,7 +2902,7 @@ declare const CancelOrdersError: {
|
|
|
2860
2902
|
declare function cancelOrders(client: BaseSecureClient, request: CancelOrdersRequest): Promise<CancelOrdersResponse>;
|
|
2861
2903
|
type CancelAllError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError;
|
|
2862
2904
|
declare const CancelAllError: {
|
|
2863
|
-
isError(error: unknown): error is
|
|
2905
|
+
isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
2864
2906
|
};
|
|
2865
2907
|
/**
|
|
2866
2908
|
* Cancels all open orders for the authenticated account.
|
|
@@ -2882,7 +2924,7 @@ declare function cancelAll(client: BaseSecureClient): Promise<CancelOrdersRespon
|
|
|
2882
2924
|
type CancelMarketOrdersRequest = z.input<typeof CancelMarketOrdersRequestSchema>;
|
|
2883
2925
|
type CancelMarketOrdersError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
2884
2926
|
declare const CancelMarketOrdersError: {
|
|
2885
|
-
isError(error: unknown): error is
|
|
2927
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
2886
2928
|
};
|
|
2887
2929
|
/**
|
|
2888
2930
|
* Cancels all open orders for the authenticated account that match the market
|
|
@@ -2936,7 +2978,7 @@ type EstimateMarketSellPriceRequest = {
|
|
|
2936
2978
|
type EstimateMarketPriceRequest = EstimateMarketBuyPriceRequest | EstimateMarketSellPriceRequest;
|
|
2937
2979
|
type EstimateMarketPriceError = InsufficientLiquidityError | RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
2938
2980
|
declare const EstimateMarketPriceError: {
|
|
2939
|
-
isError(error: unknown): error is
|
|
2981
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | InsufficientLiquidityError;
|
|
2940
2982
|
};
|
|
2941
2983
|
/**
|
|
2942
2984
|
* Estimates the price level a market order would cross at current book depth.
|
|
@@ -3114,11 +3156,11 @@ declare const PostOrdersRequestSchema: z.ZodArray<z.ZodCustom<SignedOrder, Signe
|
|
|
3114
3156
|
type PostOrdersRequest = z.input<typeof PostOrdersRequestSchema>;
|
|
3115
3157
|
type PostOrderError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
|
|
3116
3158
|
declare const PostOrderError: {
|
|
3117
|
-
isError(error: unknown): error is
|
|
3159
|
+
isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3118
3160
|
};
|
|
3119
3161
|
type PostOrdersError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
3120
3162
|
declare const PostOrdersError: {
|
|
3121
|
-
isError(error: unknown): error is
|
|
3163
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3122
3164
|
};
|
|
3123
3165
|
/**
|
|
3124
3166
|
* Posts a signed order for the authenticated account.
|
|
@@ -3916,7 +3958,7 @@ type SecureClientOptions = PublicClientOptions & {
|
|
|
3916
3958
|
declare function createPublicClient(options?: PublicClientOptions): PublicClient<PublicActions, SecureActions>;
|
|
3917
3959
|
type CreateSecureClientError = CancelledSigningError | DeployDepositWalletError | IsWalletDeployedError | RateLimitError | RequestRejectedError | SigningError | TimeoutError | TransactionFailedError | TransportError | UnexpectedResponseError | UserInputError | WaitForGaslessTransactionError;
|
|
3918
3960
|
declare const CreateSecureClientError: {
|
|
3919
|
-
isError(error: unknown): error is
|
|
3961
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
3920
3962
|
};
|
|
3921
3963
|
type SetupGaslessWalletError = UserInputError;
|
|
3922
3964
|
declare const SetupGaslessWalletError: {
|
|
@@ -3939,7 +3981,7 @@ declare function createSecureClient(options: SecureClientOptions): Promise<Secur
|
|
|
3939
3981
|
|
|
3940
3982
|
type FetchClosedOnlyModeError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
|
|
3941
3983
|
declare const FetchClosedOnlyModeError: {
|
|
3942
|
-
isError(error: unknown): error is
|
|
3984
|
+
isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3943
3985
|
};
|
|
3944
3986
|
/**
|
|
3945
3987
|
* Fetches whether the account is restricted to closed-only trading.
|
|
@@ -3964,7 +4006,7 @@ declare const ListOpenOrdersRequestSchema: z.ZodDefault<z.ZodObject<{
|
|
|
3964
4006
|
type ListOpenOrdersRequest = z.input<typeof ListOpenOrdersRequestSchema>;
|
|
3965
4007
|
type ListOpenOrdersError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
3966
4008
|
declare const ListOpenOrdersError: {
|
|
3967
|
-
isError(error: unknown): error is
|
|
4009
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3968
4010
|
};
|
|
3969
4011
|
/**
|
|
3970
4012
|
* Lists open orders for the authenticated account across all pages.
|
|
@@ -4008,7 +4050,7 @@ declare const FetchOrderRequestSchema: z.ZodObject<{
|
|
|
4008
4050
|
type FetchOrderRequest = z.input<typeof FetchOrderRequestSchema>;
|
|
4009
4051
|
type FetchOrderError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4010
4052
|
declare const FetchOrderError: {
|
|
4011
|
-
isError(error: unknown): error is
|
|
4053
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4012
4054
|
};
|
|
4013
4055
|
/**
|
|
4014
4056
|
* Fetches a single order for the authenticated account.
|
|
@@ -4038,7 +4080,7 @@ declare const ListAccountTradesRequestSchema: z.ZodDefault<z.ZodObject<{
|
|
|
4038
4080
|
type ListAccountTradesRequest = z.input<typeof ListAccountTradesRequestSchema>;
|
|
4039
4081
|
type ListAccountTradesError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4040
4082
|
declare const ListAccountTradesError: {
|
|
4041
|
-
isError(error: unknown): error is
|
|
4083
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4042
4084
|
};
|
|
4043
4085
|
/**
|
|
4044
4086
|
* Lists trades for the authenticated account across all pages.
|
|
@@ -4078,7 +4120,7 @@ declare const ListAccountTradesError: {
|
|
|
4078
4120
|
declare function listAccountTrades(client: BaseSecureClient, request?: ListAccountTradesRequest): Paginated<ClobTrade[]>;
|
|
4079
4121
|
type FetchNotificationsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
|
|
4080
4122
|
declare const FetchNotificationsError: {
|
|
4081
|
-
isError(error: unknown): error is
|
|
4123
|
+
isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4082
4124
|
};
|
|
4083
4125
|
declare const DropNotificationsRequestSchema: z.ZodObject<{
|
|
4084
4126
|
ids: z.ZodArray<z.ZodString>;
|
|
@@ -4100,7 +4142,7 @@ type DropNotificationsRequest = z.input<typeof DropNotificationsRequestSchema>;
|
|
|
4100
4142
|
declare function fetchNotifications(client: BaseSecureClient): Promise<NotificationsResponse>;
|
|
4101
4143
|
type DropNotificationsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4102
4144
|
declare const DropNotificationsError: {
|
|
4103
|
-
isError(error: unknown): error is
|
|
4145
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4104
4146
|
};
|
|
4105
4147
|
/**
|
|
4106
4148
|
* Drops notifications for the authenticated account.
|
|
@@ -4126,7 +4168,7 @@ declare const FetchBalanceAllowanceRequestSchema: z.ZodObject<{
|
|
|
4126
4168
|
type FetchBalanceAllowanceRequest = z.input<typeof FetchBalanceAllowanceRequestSchema>;
|
|
4127
4169
|
type FetchBalanceAllowanceError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4128
4170
|
declare const FetchBalanceAllowanceError: {
|
|
4129
|
-
isError(error: unknown): error is
|
|
4171
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4130
4172
|
};
|
|
4131
4173
|
/**
|
|
4132
4174
|
* Fetches balance and allowance for the authenticated account.
|
|
@@ -4152,7 +4194,7 @@ declare const UpdateBalanceAllowanceRequestSchema: z.ZodObject<{
|
|
|
4152
4194
|
type UpdateBalanceAllowanceRequest = z.input<typeof UpdateBalanceAllowanceRequestSchema>;
|
|
4153
4195
|
type UpdateBalanceAllowanceError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4154
4196
|
declare const UpdateBalanceAllowanceError: {
|
|
4155
|
-
isError(error: unknown): error is
|
|
4197
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4156
4198
|
};
|
|
4157
4199
|
/**
|
|
4158
4200
|
* Refreshes balance and allowance for the authenticated account.
|
|
@@ -4177,7 +4219,7 @@ declare const FetchOrderScoringRequestSchema: z.ZodObject<{
|
|
|
4177
4219
|
type FetchOrderScoringRequest = z.input<typeof FetchOrderScoringRequestSchema>;
|
|
4178
4220
|
type FetchOrderScoringError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4179
4221
|
declare const FetchOrderScoringError: {
|
|
4180
|
-
isError(error: unknown): error is
|
|
4222
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4181
4223
|
};
|
|
4182
4224
|
/**
|
|
4183
4225
|
* Fetches whether a single order is currently scoring.
|
|
@@ -4201,7 +4243,7 @@ declare const FetchOrdersScoringRequestSchema: z.ZodObject<{
|
|
|
4201
4243
|
type FetchOrdersScoringRequest = z.input<typeof FetchOrdersScoringRequestSchema>;
|
|
4202
4244
|
type FetchOrdersScoringError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4203
4245
|
declare const FetchOrdersScoringError: {
|
|
4204
|
-
isError(error: unknown): error is
|
|
4246
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4205
4247
|
};
|
|
4206
4248
|
/**
|
|
4207
4249
|
* Fetches scoring state for multiple orders.
|
|
@@ -4226,7 +4268,7 @@ declare const ListUserEarningsForDayRequestSchema: z.ZodObject<{
|
|
|
4226
4268
|
type ListUserEarningsForDayRequest = z.input<typeof ListUserEarningsForDayRequestSchema>;
|
|
4227
4269
|
type ListUserEarningsForDayError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4228
4270
|
declare const ListUserEarningsForDayError: {
|
|
4229
|
-
isError(error: unknown): error is
|
|
4271
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4230
4272
|
};
|
|
4231
4273
|
/**
|
|
4232
4274
|
* Lists per-market earnings for the authenticated account on a given day.
|
|
@@ -4267,7 +4309,7 @@ declare function listUserEarningsForDay(client: BaseSecureClient, request: ListU
|
|
|
4267
4309
|
type FetchTotalEarningsForUserForDayRequest = z.input<typeof ListUserEarningsForDayRequestSchema>;
|
|
4268
4310
|
type FetchTotalEarningsForUserForDayError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4269
4311
|
declare const FetchTotalEarningsForUserForDayError: {
|
|
4270
|
-
isError(error: unknown): error is
|
|
4312
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4271
4313
|
};
|
|
4272
4314
|
/**
|
|
4273
4315
|
* Fetches total earnings for the authenticated account on a given day.
|
|
@@ -4296,7 +4338,7 @@ declare const ListUserEarningsAndMarketsConfigRequestSchema: z.ZodObject<{
|
|
|
4296
4338
|
type ListUserEarningsAndMarketsConfigRequest = z.input<typeof ListUserEarningsAndMarketsConfigRequestSchema>;
|
|
4297
4339
|
type ListUserEarningsAndMarketsConfigError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4298
4340
|
declare const ListUserEarningsAndMarketsConfigError: {
|
|
4299
|
-
isError(error: unknown): error is
|
|
4341
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4300
4342
|
};
|
|
4301
4343
|
/**
|
|
4302
4344
|
* Lists market reward configuration and earnings for the authenticated account on a given day.
|
|
@@ -4336,7 +4378,7 @@ declare const ListUserEarningsAndMarketsConfigError: {
|
|
|
4336
4378
|
declare function listUserEarningsAndMarketsConfig(client: BaseSecureClient, request: ListUserEarningsAndMarketsConfigRequest): Paginated<UserRewardsEarning[]>;
|
|
4337
4379
|
type FetchRewardPercentagesError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
|
|
4338
4380
|
declare const FetchRewardPercentagesError: {
|
|
4339
|
-
isError(error: unknown): error is
|
|
4381
|
+
isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4340
4382
|
};
|
|
4341
4383
|
/**
|
|
4342
4384
|
* Fetches reward percentages for the authenticated account.
|
|
@@ -4387,7 +4429,7 @@ declare const PrepareErc20ApprovalError: {
|
|
|
4387
4429
|
declare function prepareErc20Approval(client: BaseSecureClient, request: PrepareErc20ApprovalRequest): Promise<Erc20ApprovalWorkflow>;
|
|
4388
4430
|
type ApproveErc20Error = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
|
|
4389
4431
|
declare const ApproveErc20Error: {
|
|
4390
|
-
isError(error: unknown): error is
|
|
4432
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4391
4433
|
};
|
|
4392
4434
|
/**
|
|
4393
4435
|
* Approves ERC-20 token spending for the authenticated account.
|
|
@@ -4432,7 +4474,7 @@ declare const PrepareErc1155ApprovalForAllError: {
|
|
|
4432
4474
|
declare function prepareErc1155ApprovalForAll(client: BaseSecureClient, request: PrepareErc1155ApprovalForAllRequest): Promise<Erc1155ApprovalForAllWorkflow>;
|
|
4433
4475
|
type ApproveErc1155ForAllError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
|
|
4434
4476
|
declare const ApproveErc1155ForAllError: {
|
|
4435
|
-
isError(error: unknown): error is
|
|
4477
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4436
4478
|
};
|
|
4437
4479
|
/**
|
|
4438
4480
|
* Approves or revokes ERC-1155 operator access for the authenticated account.
|
|
@@ -4448,7 +4490,7 @@ type TradingApprovalsWorkflowRequest = GaslessWorkflowRequest | SendErc20Approva
|
|
|
4448
4490
|
type TradingApprovalsWorkflow = AsyncGenerator<TradingApprovalsWorkflowRequest, void, EvmAddress$1 | EvmSignature | TransactionHandle>;
|
|
4449
4491
|
type PrepareTradingApprovalsError = RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4450
4492
|
declare const PrepareTradingApprovalsError: {
|
|
4451
|
-
isError(error: unknown): error is
|
|
4493
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError;
|
|
4452
4494
|
};
|
|
4453
4495
|
/**
|
|
4454
4496
|
* Starts a trading-setup approval workflow.
|
|
@@ -4467,7 +4509,7 @@ declare const PrepareTradingApprovalsError: {
|
|
|
4467
4509
|
declare function prepareTradingApprovals(client: BaseSecureClient): Promise<TradingApprovalsWorkflow>;
|
|
4468
4510
|
type SetupTradingApprovalsError = PrepareTradingApprovalsError | CancelledSigningError | SigningError | WaitForGaslessTransactionError;
|
|
4469
4511
|
declare const SetupTradingApprovalsError: {
|
|
4470
|
-
isError(error: unknown): error is
|
|
4512
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
4471
4513
|
};
|
|
4472
4514
|
type DeprecatedTransactionHandle = Omit<TransactionHandle, 'wait'> & {
|
|
4473
4515
|
/**
|
|
@@ -4499,7 +4541,7 @@ declare const ListBuilderTradesRequestSchema: z.ZodObject<{
|
|
|
4499
4541
|
type ListBuilderTradesRequest = z.input<typeof ListBuilderTradesRequestSchema>;
|
|
4500
4542
|
type ListBuilderTradesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4501
4543
|
declare const ListBuilderTradesError: {
|
|
4502
|
-
isError(error: unknown): error is
|
|
4544
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4503
4545
|
};
|
|
4504
4546
|
/**
|
|
4505
4547
|
* Lists builder-attributed trades.
|
|
@@ -4541,10 +4583,10 @@ declare const FetchMidpointRequestSchema: z.ZodObject<{
|
|
|
4541
4583
|
type FetchMidpointRequest = z.input<typeof FetchMidpointRequestSchema>;
|
|
4542
4584
|
type FetchMidpointError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4543
4585
|
declare const FetchMidpointError: {
|
|
4544
|
-
isError(error: unknown): error is
|
|
4586
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4545
4587
|
};
|
|
4546
4588
|
/**
|
|
4547
|
-
* Fetches the midpoint price for a token.
|
|
4589
|
+
* Fetches the midpoint price for a token as a decimal string.
|
|
4548
4590
|
*
|
|
4549
4591
|
* @remarks
|
|
4550
4592
|
* This is a low-level function. Most SDK consumers should prefer the client instance API.
|
|
@@ -4563,17 +4605,17 @@ declare const FetchMidpointError: {
|
|
|
4563
4605
|
* ```
|
|
4564
4606
|
*
|
|
4565
4607
|
*/
|
|
4566
|
-
declare function fetchMidpoint(client: BaseClient, request: FetchMidpointRequest): Promise<
|
|
4608
|
+
declare function fetchMidpoint(client: BaseClient, request: FetchMidpointRequest): Promise<DecimalString>;
|
|
4567
4609
|
declare const FetchMidpointsRequestSchema: z.ZodArray<z.ZodObject<{
|
|
4568
4610
|
tokenId: z.ZodString;
|
|
4569
4611
|
}, z.core.$strip>>;
|
|
4570
4612
|
type FetchMidpointsRequest = z.input<typeof FetchMidpointsRequestSchema>;
|
|
4571
4613
|
type FetchMidpointsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4572
4614
|
declare const FetchMidpointsError: {
|
|
4573
|
-
isError(error: unknown): error is
|
|
4615
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4574
4616
|
};
|
|
4575
4617
|
/**
|
|
4576
|
-
* Fetches midpoint prices for multiple tokens.
|
|
4618
|
+
* Fetches midpoint prices for multiple tokens as a token ID keyed lookup.
|
|
4577
4619
|
*
|
|
4578
4620
|
* @remarks
|
|
4579
4621
|
* This is a low-level function. Most SDK consumers should prefer the client instance API.
|
|
@@ -4594,14 +4636,14 @@ declare const FetchMidpointsError: {
|
|
|
4594
4636
|
* ```
|
|
4595
4637
|
*
|
|
4596
4638
|
*/
|
|
4597
|
-
declare function fetchMidpoints(client: BaseClient, request: FetchMidpointsRequest): Promise<
|
|
4639
|
+
declare function fetchMidpoints(client: BaseClient, request: FetchMidpointsRequest): Promise<Midpoints>;
|
|
4598
4640
|
declare const FetchTickSizeRequestSchema: z.ZodObject<{
|
|
4599
4641
|
tokenId: z.ZodString;
|
|
4600
4642
|
}, z.core.$strip>;
|
|
4601
4643
|
type FetchTickSizeRequest = z.input<typeof FetchTickSizeRequestSchema>;
|
|
4602
4644
|
type FetchTickSizeError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4603
4645
|
declare const FetchTickSizeError: {
|
|
4604
|
-
isError(error: unknown): error is
|
|
4646
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4605
4647
|
};
|
|
4606
4648
|
/**
|
|
4607
4649
|
* Fetches the minimum price tick size for a token's order book.
|
|
@@ -4629,7 +4671,7 @@ declare const FetchNegRiskRequestSchema: z.ZodObject<{
|
|
|
4629
4671
|
type FetchNegRiskRequest = z.input<typeof FetchNegRiskRequestSchema>;
|
|
4630
4672
|
type FetchNegRiskError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4631
4673
|
declare const FetchNegRiskError: {
|
|
4632
|
-
isError(error: unknown): error is
|
|
4674
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4633
4675
|
};
|
|
4634
4676
|
/**
|
|
4635
4677
|
* Fetches whether a token is in a negative-risk market.
|
|
@@ -4657,7 +4699,7 @@ declare const ResolveConditionByTokenRequestSchema: z.ZodObject<{
|
|
|
4657
4699
|
type ResolveConditionByTokenRequest = z.input<typeof ResolveConditionByTokenRequestSchema>;
|
|
4658
4700
|
type ResolveConditionByTokenError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4659
4701
|
declare const ResolveConditionByTokenError: {
|
|
4660
|
-
isError(error: unknown): error is
|
|
4702
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4661
4703
|
};
|
|
4662
4704
|
/**
|
|
4663
4705
|
* Resolves the condition ID for a token.
|
|
@@ -4675,7 +4717,7 @@ declare const FetchMarketInfoRequestSchema: z.ZodObject<{
|
|
|
4675
4717
|
type FetchMarketInfoRequest = z.input<typeof FetchMarketInfoRequestSchema>;
|
|
4676
4718
|
type FetchMarketInfoError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4677
4719
|
declare const FetchMarketInfoError: {
|
|
4678
|
-
isError(error: unknown): error is
|
|
4720
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4679
4721
|
};
|
|
4680
4722
|
/**
|
|
4681
4723
|
* Fetches market-level metadata for a condition.
|
|
@@ -4693,7 +4735,7 @@ declare const FetchBuilderFeeRatesRequestSchema: z.ZodObject<{
|
|
|
4693
4735
|
type FetchBuilderFeeRatesRequest = z.input<typeof FetchBuilderFeeRatesRequestSchema>;
|
|
4694
4736
|
type FetchBuilderFeeRatesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4695
4737
|
declare const FetchBuilderFeeRatesError: {
|
|
4696
|
-
isError(error: unknown): error is
|
|
4738
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4697
4739
|
};
|
|
4698
4740
|
/**
|
|
4699
4741
|
* Fetches builder maker and taker fee rates.
|
|
@@ -4712,10 +4754,10 @@ declare const FetchPriceRequestSchema: z.ZodObject<{
|
|
|
4712
4754
|
type FetchPriceRequest = z.input<typeof FetchPriceRequestSchema>;
|
|
4713
4755
|
type FetchPriceError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4714
4756
|
declare const FetchPriceError: {
|
|
4715
|
-
isError(error: unknown): error is
|
|
4757
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4716
4758
|
};
|
|
4717
4759
|
/**
|
|
4718
|
-
* Fetches the current quoted price for a token and side.
|
|
4760
|
+
* Fetches the current quoted price for a token and side as a decimal string.
|
|
4719
4761
|
*
|
|
4720
4762
|
* @remarks
|
|
4721
4763
|
* This is a low-level function. Most SDK consumers should prefer the client instance API.
|
|
@@ -4735,7 +4777,7 @@ declare const FetchPriceError: {
|
|
|
4735
4777
|
* ```
|
|
4736
4778
|
*
|
|
4737
4779
|
*/
|
|
4738
|
-
declare function fetchPrice(client: BaseClient, request: FetchPriceRequest): Promise<
|
|
4780
|
+
declare function fetchPrice(client: BaseClient, request: FetchPriceRequest): Promise<DecimalString>;
|
|
4739
4781
|
declare const FetchPricesRequestSchema: z.ZodArray<z.ZodObject<{
|
|
4740
4782
|
tokenId: z.ZodString;
|
|
4741
4783
|
side: z.ZodEnum<typeof _polymarket_bindings.OrderSide>;
|
|
@@ -4743,10 +4785,10 @@ declare const FetchPricesRequestSchema: z.ZodArray<z.ZodObject<{
|
|
|
4743
4785
|
type FetchPricesRequest = z.input<typeof FetchPricesRequestSchema>;
|
|
4744
4786
|
type FetchPricesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4745
4787
|
declare const FetchPricesError: {
|
|
4746
|
-
isError(error: unknown): error is
|
|
4788
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4747
4789
|
};
|
|
4748
4790
|
/**
|
|
4749
|
-
* Fetches quoted prices for multiple tokens.
|
|
4791
|
+
* Fetches quoted prices for multiple tokens as a token ID keyed lookup.
|
|
4750
4792
|
*
|
|
4751
4793
|
* @remarks
|
|
4752
4794
|
* This is a low-level function. Most SDK consumers should prefer the client instance API.
|
|
@@ -4775,7 +4817,7 @@ declare const FetchOrderBookRequestSchema: z.ZodObject<{
|
|
|
4775
4817
|
type FetchOrderBookRequest = z.input<typeof FetchOrderBookRequestSchema>;
|
|
4776
4818
|
type FetchOrderBookError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4777
4819
|
declare const FetchOrderBookError: {
|
|
4778
|
-
isError(error: unknown): error is
|
|
4820
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4779
4821
|
};
|
|
4780
4822
|
/**
|
|
4781
4823
|
* Fetches the current order book for a token.
|
|
@@ -4803,7 +4845,7 @@ declare const FetchOrderBooksRequestSchema: z.ZodArray<z.ZodObject<{
|
|
|
4803
4845
|
type FetchOrderBooksRequest = z.input<typeof FetchOrderBooksRequestSchema>;
|
|
4804
4846
|
type FetchOrderBooksError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4805
4847
|
declare const FetchOrderBooksError: {
|
|
4806
|
-
isError(error: unknown): error is
|
|
4848
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4807
4849
|
};
|
|
4808
4850
|
/**
|
|
4809
4851
|
* Fetches order books for multiple tokens.
|
|
@@ -4833,10 +4875,10 @@ declare const FetchSpreadRequestSchema: z.ZodObject<{
|
|
|
4833
4875
|
type FetchSpreadRequest = z.input<typeof FetchSpreadRequestSchema>;
|
|
4834
4876
|
type FetchSpreadError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4835
4877
|
declare const FetchSpreadError: {
|
|
4836
|
-
isError(error: unknown): error is
|
|
4878
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4837
4879
|
};
|
|
4838
4880
|
/**
|
|
4839
|
-
* Fetches the spread for a token.
|
|
4881
|
+
* Fetches the spread for a token as a decimal string.
|
|
4840
4882
|
*
|
|
4841
4883
|
* @remarks
|
|
4842
4884
|
* This is a low-level function. Most SDK consumers should prefer the client instance API.
|
|
@@ -4855,17 +4897,17 @@ declare const FetchSpreadError: {
|
|
|
4855
4897
|
* ```
|
|
4856
4898
|
*
|
|
4857
4899
|
*/
|
|
4858
|
-
declare function fetchSpread(client: BaseClient, request: FetchSpreadRequest): Promise<
|
|
4900
|
+
declare function fetchSpread(client: BaseClient, request: FetchSpreadRequest): Promise<DecimalString>;
|
|
4859
4901
|
declare const FetchSpreadsRequestSchema: z.ZodArray<z.ZodObject<{
|
|
4860
4902
|
tokenId: z.ZodString;
|
|
4861
4903
|
}, z.core.$strip>>;
|
|
4862
4904
|
type FetchSpreadsRequest = z.input<typeof FetchSpreadsRequestSchema>;
|
|
4863
4905
|
type FetchSpreadsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4864
4906
|
declare const FetchSpreadsError: {
|
|
4865
|
-
isError(error: unknown): error is
|
|
4907
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4866
4908
|
};
|
|
4867
4909
|
/**
|
|
4868
|
-
* Fetches spreads for multiple tokens.
|
|
4910
|
+
* Fetches spreads for multiple tokens as a token ID keyed lookup.
|
|
4869
4911
|
*
|
|
4870
4912
|
* @remarks
|
|
4871
4913
|
* This is a low-level function. Most SDK consumers should prefer the client instance API.
|
|
@@ -4886,14 +4928,14 @@ declare const FetchSpreadsError: {
|
|
|
4886
4928
|
* ```
|
|
4887
4929
|
*
|
|
4888
4930
|
*/
|
|
4889
|
-
declare function fetchSpreads(client: BaseClient, request: FetchSpreadsRequest): Promise<
|
|
4931
|
+
declare function fetchSpreads(client: BaseClient, request: FetchSpreadsRequest): Promise<Spreads>;
|
|
4890
4932
|
declare const FetchLastTradePriceRequestSchema: z.ZodObject<{
|
|
4891
4933
|
tokenId: z.ZodString;
|
|
4892
4934
|
}, z.core.$strip>;
|
|
4893
4935
|
type FetchLastTradePriceRequest = z.input<typeof FetchLastTradePriceRequestSchema>;
|
|
4894
4936
|
type FetchLastTradePriceError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4895
4937
|
declare const FetchLastTradePriceError: {
|
|
4896
|
-
isError(error: unknown): error is
|
|
4938
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4897
4939
|
};
|
|
4898
4940
|
/**
|
|
4899
4941
|
* Fetches the last traded price for a token.
|
|
@@ -4922,7 +4964,7 @@ declare const FetchLastTradePricesRequestSchema: z.ZodArray<z.ZodObject<{
|
|
|
4922
4964
|
type FetchLastTradePricesRequest = z.input<typeof FetchLastTradePricesRequestSchema>;
|
|
4923
4965
|
type FetchLastTradePricesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4924
4966
|
declare const FetchLastTradePricesError: {
|
|
4925
|
-
isError(error: unknown): error is
|
|
4967
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4926
4968
|
};
|
|
4927
4969
|
/**
|
|
4928
4970
|
* Fetches last traded prices for multiple tokens.
|
|
@@ -4957,7 +4999,7 @@ declare const ListPriceHistoryRequestSchema: z.ZodObject<{
|
|
|
4957
4999
|
type FetchPriceHistoryRequest = z.input<typeof ListPriceHistoryRequestSchema>;
|
|
4958
5000
|
type FetchPriceHistoryError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4959
5001
|
declare const FetchPriceHistoryError: {
|
|
4960
|
-
isError(error: unknown): error is
|
|
5002
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4961
5003
|
};
|
|
4962
5004
|
/**
|
|
4963
5005
|
* Fetches historical price points for a token.
|
|
@@ -4989,7 +5031,7 @@ declare const ListCurrentRewardsRequestSchema: z.ZodDefault<z.ZodObject<{
|
|
|
4989
5031
|
type ListCurrentRewardsRequest = z.input<typeof ListCurrentRewardsRequestSchema>;
|
|
4990
5032
|
type ListCurrentRewardsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4991
5033
|
declare const ListCurrentRewardsError: {
|
|
4992
|
-
isError(error: unknown): error is
|
|
5034
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4993
5035
|
};
|
|
4994
5036
|
/**
|
|
4995
5037
|
* Lists current active market rewards.
|
|
@@ -5032,7 +5074,7 @@ declare const ListMarketRewardsRequestSchema: z.ZodObject<{
|
|
|
5032
5074
|
type ListMarketRewardsRequest = z.input<typeof ListMarketRewardsRequestSchema>;
|
|
5033
5075
|
type ListMarketRewardsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5034
5076
|
declare const ListMarketRewardsError: {
|
|
5035
|
-
isError(error: unknown): error is
|
|
5077
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5036
5078
|
};
|
|
5037
5079
|
/**
|
|
5038
5080
|
* Lists reward configurations for a market.
|
|
@@ -5100,7 +5142,7 @@ type FetchCommentsByIdRequest = z.input<typeof FetchCommentsByIdRequestSchema>;
|
|
|
5100
5142
|
type ListCommentsByUserAddressRequest = z.input<typeof ListCommentsByUserAddressRequestSchema>;
|
|
5101
5143
|
type ListCommentsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5102
5144
|
declare const ListCommentsError: {
|
|
5103
|
-
isError(error: unknown): error is
|
|
5145
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5104
5146
|
};
|
|
5105
5147
|
/**
|
|
5106
5148
|
* Lists comments for an event or series.
|
|
@@ -5145,7 +5187,7 @@ declare const ListCommentsError: {
|
|
|
5145
5187
|
declare function listComments(client: BaseClient, request: ListCommentsRequest): Paginated<Comment[]>;
|
|
5146
5188
|
type FetchCommentsByIdError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5147
5189
|
declare const FetchCommentsByIdError: {
|
|
5148
|
-
isError(error: unknown): error is
|
|
5190
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5149
5191
|
};
|
|
5150
5192
|
/**
|
|
5151
5193
|
* Fetches a comment thread by comment id.
|
|
@@ -5169,7 +5211,7 @@ declare const FetchCommentsByIdError: {
|
|
|
5169
5211
|
declare function fetchCommentsById(client: BaseClient, request: FetchCommentsByIdRequest): Promise<Comment[]>;
|
|
5170
5212
|
type ListCommentsByUserAddressError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5171
5213
|
declare const ListCommentsByUserAddressError: {
|
|
5172
|
-
isError(error: unknown): error is
|
|
5214
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5173
5215
|
};
|
|
5174
5216
|
/**
|
|
5175
5217
|
* Lists comments written by a wallet address.
|
|
@@ -5293,7 +5335,7 @@ declare const FetchEventLiveVolumeRequestSchema: z.ZodObject<{
|
|
|
5293
5335
|
type FetchEventLiveVolumeRequest = z.input<typeof FetchEventLiveVolumeRequestSchema>;
|
|
5294
5336
|
type ListEventsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5295
5337
|
declare const ListEventsError: {
|
|
5296
|
-
isError(error: unknown): error is
|
|
5338
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5297
5339
|
};
|
|
5298
5340
|
/**
|
|
5299
5341
|
* Lists events.
|
|
@@ -5338,7 +5380,7 @@ declare const ListEventsError: {
|
|
|
5338
5380
|
declare function listEvents(client: BaseClient, request?: ListEventsRequest): Paginated<Event[]>;
|
|
5339
5381
|
type FetchEventError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5340
5382
|
declare const FetchEventError: {
|
|
5341
|
-
isError(error: unknown): error is
|
|
5383
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5342
5384
|
};
|
|
5343
5385
|
/**
|
|
5344
5386
|
* Fetches an event.
|
|
@@ -5369,7 +5411,7 @@ declare const FetchEventError: {
|
|
|
5369
5411
|
declare function fetchEvent(client: BaseClient, request: FetchEventRequest): Promise<Event>;
|
|
5370
5412
|
type FetchEventTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5371
5413
|
declare const FetchEventTagsError: {
|
|
5372
|
-
isError(error: unknown): error is
|
|
5414
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5373
5415
|
};
|
|
5374
5416
|
/**
|
|
5375
5417
|
* Fetches an event's tags.
|
|
@@ -5392,7 +5434,7 @@ declare const FetchEventTagsError: {
|
|
|
5392
5434
|
declare function fetchEventTags(client: BaseClient, request: FetchEventTagsRequest): Promise<TagReference[]>;
|
|
5393
5435
|
type FetchEventLiveVolumeError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5394
5436
|
declare const FetchEventLiveVolumeError: {
|
|
5395
|
-
isError(error: unknown): error is
|
|
5437
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5396
5438
|
};
|
|
5397
5439
|
/**
|
|
5398
5440
|
* Fetches live volume for an event.
|
|
@@ -5465,7 +5507,7 @@ type ListBuilderVolumeRequest = z.input<typeof ListBuilderVolumeRequestSchema>;
|
|
|
5465
5507
|
type ListTraderLeaderboardRequest = z.input<typeof ListTraderLeaderboardRequestSchema>;
|
|
5466
5508
|
type ListBuilderLeaderboardError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5467
5509
|
declare const ListBuilderLeaderboardError: {
|
|
5468
|
-
isError(error: unknown): error is
|
|
5510
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5469
5511
|
};
|
|
5470
5512
|
/**
|
|
5471
5513
|
* Lists builder leaderboard rankings.
|
|
@@ -5508,7 +5550,7 @@ declare const ListBuilderLeaderboardError: {
|
|
|
5508
5550
|
declare function listBuilderLeaderboard(client: BaseClient, request?: ListBuilderLeaderboardRequest): Paginated<LeaderboardEntry[]>;
|
|
5509
5551
|
type ListBuilderVolumeError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5510
5552
|
declare const ListBuilderVolumeError: {
|
|
5511
|
-
isError(error: unknown): error is
|
|
5553
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5512
5554
|
};
|
|
5513
5555
|
/**
|
|
5514
5556
|
* Lists daily builder volume entries.
|
|
@@ -5531,7 +5573,7 @@ declare const ListBuilderVolumeError: {
|
|
|
5531
5573
|
declare function fetchBuilderVolume(client: BaseClient, request?: ListBuilderVolumeRequest): Promise<BuilderVolumeEntry[]>;
|
|
5532
5574
|
type ListTraderLeaderboardError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5533
5575
|
declare const ListTraderLeaderboardError: {
|
|
5534
|
-
isError(error: unknown): error is
|
|
5576
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5535
5577
|
};
|
|
5536
5578
|
/**
|
|
5537
5579
|
* Lists trader leaderboard rankings.
|
|
@@ -5590,7 +5632,7 @@ declare const ListMarketClarificationsRequestSchema: z.ZodObject<{
|
|
|
5590
5632
|
type ListMarketClarificationsRequest = z.input<typeof ListMarketClarificationsRequestSchema>;
|
|
5591
5633
|
type ListMarketClarificationsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5592
5634
|
declare const ListMarketClarificationsError: {
|
|
5593
|
-
isError(error: unknown): error is
|
|
5635
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5594
5636
|
};
|
|
5595
5637
|
/**
|
|
5596
5638
|
* Lists market clarifications — official notes that resolve ambiguity in how a
|
|
@@ -5722,7 +5764,7 @@ type ListOpenInterestRequest = z.input<typeof ListOpenInterestRequestSchema>;
|
|
|
5722
5764
|
type ListMarketPositionsRequest = z.input<typeof ListMarketPositionsRequestSchema>;
|
|
5723
5765
|
type ListMarketsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5724
5766
|
declare const ListMarketsError: {
|
|
5725
|
-
isError(error: unknown): error is
|
|
5767
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5726
5768
|
};
|
|
5727
5769
|
/**
|
|
5728
5770
|
* Lists markets.
|
|
@@ -5774,7 +5816,7 @@ declare const ListComboMarketsRequestSchema: z.ZodObject<{
|
|
|
5774
5816
|
type ListComboMarketsRequest = z.input<typeof ListComboMarketsRequestSchema>;
|
|
5775
5817
|
type ListComboMarketsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5776
5818
|
declare const ListComboMarketsError: {
|
|
5777
|
-
isError(error: unknown): error is
|
|
5819
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5778
5820
|
};
|
|
5779
5821
|
/**
|
|
5780
5822
|
* Lists markets available for Combos.
|
|
@@ -5812,7 +5854,7 @@ declare const ListComboMarketsError: {
|
|
|
5812
5854
|
declare function listComboMarkets(client: BaseClient, request?: ListComboMarketsRequest): Paginated<ComboMarket[]>;
|
|
5813
5855
|
type FetchMarketError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5814
5856
|
declare const FetchMarketError: {
|
|
5815
|
-
isError(error: unknown): error is
|
|
5857
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5816
5858
|
};
|
|
5817
5859
|
/**
|
|
5818
5860
|
* Fetches a market.
|
|
@@ -5847,7 +5889,7 @@ declare const FetchMarketError: {
|
|
|
5847
5889
|
declare function fetchMarket(client: BaseClient, request: FetchMarketRequest): Promise<Market>;
|
|
5848
5890
|
type FetchMarketTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5849
5891
|
declare const FetchMarketTagsError: {
|
|
5850
|
-
isError(error: unknown): error is
|
|
5892
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5851
5893
|
};
|
|
5852
5894
|
/**
|
|
5853
5895
|
* Fetches a market's tags.
|
|
@@ -5870,7 +5912,7 @@ declare const FetchMarketTagsError: {
|
|
|
5870
5912
|
declare function fetchMarketTags(client: BaseClient, request: FetchMarketTagsRequest): Promise<TagReference[]>;
|
|
5871
5913
|
type ListMarketHoldersError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5872
5914
|
declare const ListMarketHoldersError: {
|
|
5873
|
-
isError(error: unknown): error is
|
|
5915
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5874
5916
|
};
|
|
5875
5917
|
/**
|
|
5876
5918
|
* Lists the top holders for one or more markets.
|
|
@@ -5894,7 +5936,7 @@ declare const ListMarketHoldersError: {
|
|
|
5894
5936
|
declare function listMarketHolders(client: BaseClient, request: ListMarketHoldersRequest): Promise<MetaHolder[]>;
|
|
5895
5937
|
type ListOpenInterestError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5896
5938
|
declare const ListOpenInterestError: {
|
|
5897
|
-
isError(error: unknown): error is
|
|
5939
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5898
5940
|
};
|
|
5899
5941
|
/**
|
|
5900
5942
|
* Lists open interest for one or more markets.
|
|
@@ -5917,7 +5959,7 @@ declare const ListOpenInterestError: {
|
|
|
5917
5959
|
declare function listOpenInterest(client: BaseClient, request?: ListOpenInterestRequest): Promise<OpenInterest[]>;
|
|
5918
5960
|
type ListMarketPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5919
5961
|
declare const ListMarketPositionsError: {
|
|
5920
|
-
isError(error: unknown): error is
|
|
5962
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5921
5963
|
};
|
|
5922
5964
|
/**
|
|
5923
5965
|
* Lists positions for a market.
|
|
@@ -6397,7 +6439,7 @@ type UpdatePerpsLeverageRequest = {
|
|
|
6397
6439
|
};
|
|
6398
6440
|
type UpdatePerpsLeverageError = RequestRejectedError | SigningError | TransportError | UserInputError;
|
|
6399
6441
|
declare const UpdatePerpsLeverageError: {
|
|
6400
|
-
isError(error: unknown): error is
|
|
6442
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | RequestRejectedError;
|
|
6401
6443
|
};
|
|
6402
6444
|
|
|
6403
6445
|
type PerpsSessionOptions = {
|
|
@@ -6658,7 +6700,7 @@ declare class PerpsSession implements AsyncIterable<PerpsSessionEvent> {
|
|
|
6658
6700
|
|
|
6659
6701
|
type PerpsPublicReadError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6660
6702
|
declare const PerpsPublicReadError: {
|
|
6661
|
-
isError(error: unknown): error is
|
|
6703
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6662
6704
|
};
|
|
6663
6705
|
type FetchPerpsInstrumentsRequest = {
|
|
6664
6706
|
/** Perps instrument identifier to fetch. */
|
|
@@ -6668,7 +6710,7 @@ type FetchPerpsInstrumentsRequest = {
|
|
|
6668
6710
|
};
|
|
6669
6711
|
type FetchPerpsInstrumentsError = PerpsPublicReadError;
|
|
6670
6712
|
declare const FetchPerpsInstrumentsError: {
|
|
6671
|
-
isError(error: unknown): error is
|
|
6713
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6672
6714
|
};
|
|
6673
6715
|
/**
|
|
6674
6716
|
* Fetches Perps instruments.
|
|
@@ -6686,7 +6728,7 @@ type FetchPerpsTickerRequest = {
|
|
|
6686
6728
|
};
|
|
6687
6729
|
type FetchPerpsTickerError = PerpsPublicReadError;
|
|
6688
6730
|
declare const FetchPerpsTickerError: {
|
|
6689
|
-
isError(error: unknown): error is
|
|
6731
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6690
6732
|
};
|
|
6691
6733
|
/**
|
|
6692
6734
|
* Fetches the current Perps ticker for an instrument.
|
|
@@ -6704,7 +6746,7 @@ type FetchPerpsTickersRequest = {
|
|
|
6704
6746
|
};
|
|
6705
6747
|
type FetchPerpsTickersError = PerpsPublicReadError;
|
|
6706
6748
|
declare const FetchPerpsTickersError: {
|
|
6707
|
-
isError(error: unknown): error is
|
|
6749
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6708
6750
|
};
|
|
6709
6751
|
/**
|
|
6710
6752
|
* Fetches current Perps tickers.
|
|
@@ -6725,7 +6767,7 @@ type FetchPerpsBookRequest = {
|
|
|
6725
6767
|
};
|
|
6726
6768
|
type FetchPerpsBookError = PerpsPublicReadError;
|
|
6727
6769
|
declare const FetchPerpsBookError: {
|
|
6728
|
-
isError(error: unknown): error is
|
|
6770
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6729
6771
|
};
|
|
6730
6772
|
/**
|
|
6731
6773
|
* Fetches a Perps order book.
|
|
@@ -6754,7 +6796,7 @@ type ListPerpsCandlesRequest = {
|
|
|
6754
6796
|
};
|
|
6755
6797
|
type ListPerpsCandlesError = PerpsPublicReadError;
|
|
6756
6798
|
declare const ListPerpsCandlesError: {
|
|
6757
|
-
isError(error: unknown): error is
|
|
6799
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6758
6800
|
};
|
|
6759
6801
|
/**
|
|
6760
6802
|
* Lists Perps candles for an instrument with SDK-owned pagination.
|
|
@@ -6781,7 +6823,7 @@ type ListPerpsFundingHistoryRequest = {
|
|
|
6781
6823
|
};
|
|
6782
6824
|
type ListPerpsFundingHistoryError = PerpsPublicReadError;
|
|
6783
6825
|
declare const ListPerpsFundingHistoryError: {
|
|
6784
|
-
isError(error: unknown): error is
|
|
6826
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6785
6827
|
};
|
|
6786
6828
|
/**
|
|
6787
6829
|
* Lists Perps funding-rate history for an instrument with SDK-owned pagination.
|
|
@@ -6808,7 +6850,7 @@ type ListPerpsTradesRequest = {
|
|
|
6808
6850
|
};
|
|
6809
6851
|
type ListPerpsTradesError = PerpsPublicReadError;
|
|
6810
6852
|
declare const ListPerpsTradesError: {
|
|
6811
|
-
isError(error: unknown): error is
|
|
6853
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6812
6854
|
};
|
|
6813
6855
|
/**
|
|
6814
6856
|
* Lists recent Perps trades for an instrument with SDK-owned pagination.
|
|
@@ -6822,7 +6864,7 @@ declare const ListPerpsTradesError: {
|
|
|
6822
6864
|
declare function listPerpsTrades(client: BaseClient, request: ListPerpsTradesRequest): Paginated<PerpsPublicTrade[]>;
|
|
6823
6865
|
type FetchPerpsFeesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError;
|
|
6824
6866
|
declare const FetchPerpsFeesError: {
|
|
6825
|
-
isError(error: unknown): error is
|
|
6867
|
+
isError(error: unknown): error is TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6826
6868
|
};
|
|
6827
6869
|
/**
|
|
6828
6870
|
* Fetches the Perps fee schedule.
|
|
@@ -6863,11 +6905,11 @@ type WithdrawFromPerpsRequest = {
|
|
|
6863
6905
|
};
|
|
6864
6906
|
type OpenPerpsSessionError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6865
6907
|
declare const OpenPerpsSessionError: {
|
|
6866
|
-
isError(error: unknown): error is
|
|
6908
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6867
6909
|
};
|
|
6868
6910
|
type RevokePerpsCredentialsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6869
6911
|
declare const RevokePerpsCredentialsError: {
|
|
6870
|
-
isError(error: unknown): error is
|
|
6912
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6871
6913
|
};
|
|
6872
6914
|
type PreparePerpsDepositError = UserInputError;
|
|
6873
6915
|
declare const PreparePerpsDepositError: {
|
|
@@ -6875,11 +6917,11 @@ declare const PreparePerpsDepositError: {
|
|
|
6875
6917
|
};
|
|
6876
6918
|
type DepositToPerpsError = RateLimitError | RequestRejectedError | CancelledSigningError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6877
6919
|
declare const DepositToPerpsError: {
|
|
6878
|
-
isError(error: unknown): error is
|
|
6920
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6879
6921
|
};
|
|
6880
6922
|
type WithdrawFromPerpsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6881
6923
|
declare const WithdrawFromPerpsError: {
|
|
6882
|
-
isError(error: unknown): error is
|
|
6924
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6883
6925
|
};
|
|
6884
6926
|
/**
|
|
6885
6927
|
* Opens a Perps account session.
|
|
@@ -6973,39 +7015,39 @@ type MergePositionsWorkflow = AsyncGenerator<MergePositionsWorkflowRequest, Tran
|
|
|
6973
7015
|
type RedeemPositionsWorkflow = AsyncGenerator<RedeemPositionsWorkflowRequest, TransactionHandle, EvmAddress | EvmSignature | TransactionHandle>;
|
|
6974
7016
|
type PrepareSplitPositionError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6975
7017
|
declare const PrepareSplitPositionError: {
|
|
6976
|
-
isError(error: unknown): error is
|
|
7018
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6977
7019
|
};
|
|
6978
7020
|
type PrepareSplitMarketPositionError = PrepareSplitPositionError;
|
|
6979
7021
|
declare const PrepareSplitMarketPositionError: {
|
|
6980
|
-
isError(error: unknown): error is
|
|
7022
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6981
7023
|
};
|
|
6982
7024
|
type PrepareSplitComboPositionError = PrepareSplitPositionError;
|
|
6983
7025
|
declare const PrepareSplitComboPositionError: {
|
|
6984
|
-
isError(error: unknown): error is
|
|
7026
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6985
7027
|
};
|
|
6986
7028
|
type PrepareMergePositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6987
7029
|
declare const PrepareMergePositionsError: {
|
|
6988
|
-
isError(error: unknown): error is
|
|
7030
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6989
7031
|
};
|
|
6990
7032
|
type PrepareMergeMarketPositionError = PrepareMergePositionsError;
|
|
6991
7033
|
declare const PrepareMergeMarketPositionError: {
|
|
6992
|
-
isError(error: unknown): error is
|
|
7034
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6993
7035
|
};
|
|
6994
7036
|
type PrepareMergeComboPositionError = PrepareMergePositionsError;
|
|
6995
7037
|
declare const PrepareMergeComboPositionError: {
|
|
6996
|
-
isError(error: unknown): error is
|
|
7038
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6997
7039
|
};
|
|
6998
7040
|
type PrepareRedeemPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6999
7041
|
declare const PrepareRedeemPositionsError: {
|
|
7000
|
-
isError(error: unknown): error is
|
|
7042
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7001
7043
|
};
|
|
7002
7044
|
type PrepareRedeemMarketPositionsError = PrepareRedeemPositionsError;
|
|
7003
7045
|
declare const PrepareRedeemMarketPositionsError: {
|
|
7004
|
-
isError(error: unknown): error is
|
|
7046
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7005
7047
|
};
|
|
7006
7048
|
type PrepareRedeemComboPositionError = PrepareRedeemPositionsError;
|
|
7007
7049
|
declare const PrepareRedeemComboPositionError: {
|
|
7008
|
-
isError(error: unknown): error is
|
|
7050
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7009
7051
|
};
|
|
7010
7052
|
/**
|
|
7011
7053
|
* Starts a split workflow for a market condition.
|
|
@@ -7053,15 +7095,15 @@ declare function prepareSplitComboPosition(client: BaseSecureClient, request: Pr
|
|
|
7053
7095
|
declare function prepareSplitPosition(client: BaseSecureClient, request: PrepareSplitPositionRequest): Promise<SplitPositionWorkflow>;
|
|
7054
7096
|
type SplitPositionError = CancelledSigningError | RateLimitError | RequestRejectedError | SigningError | TimeoutError | TransactionFailedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7055
7097
|
declare const SplitPositionError: {
|
|
7056
|
-
isError(error: unknown): error is
|
|
7098
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
7057
7099
|
};
|
|
7058
7100
|
type SplitMarketPositionError = SplitPositionError;
|
|
7059
7101
|
declare const SplitMarketPositionError: {
|
|
7060
|
-
isError(error: unknown): error is
|
|
7102
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
7061
7103
|
};
|
|
7062
7104
|
type SplitComboPositionError = SplitPositionError;
|
|
7063
7105
|
declare const SplitComboPositionError: {
|
|
7064
|
-
isError(error: unknown): error is
|
|
7106
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
7065
7107
|
};
|
|
7066
7108
|
/**
|
|
7067
7109
|
* Splits collateral into market positions.
|
|
@@ -7165,15 +7207,15 @@ declare function prepareMergeComboPosition(client: BaseSecureClient, request: Pr
|
|
|
7165
7207
|
declare function prepareMergePositions(client: BaseSecureClient, request: PrepareMergePositionsRequest): Promise<MergePositionsWorkflow>;
|
|
7166
7208
|
type MergePositionsError = CancelledSigningError | RateLimitError | RequestRejectedError | SigningError | TimeoutError | TransactionFailedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7167
7209
|
declare const MergePositionsError: {
|
|
7168
|
-
isError(error: unknown): error is
|
|
7210
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
7169
7211
|
};
|
|
7170
7212
|
type MergeMarketPositionError = MergePositionsError;
|
|
7171
7213
|
declare const MergeMarketPositionError: {
|
|
7172
|
-
isError(error: unknown): error is
|
|
7214
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
7173
7215
|
};
|
|
7174
7216
|
type MergeComboPositionError = MergePositionsError;
|
|
7175
7217
|
declare const MergeComboPositionError: {
|
|
7176
|
-
isError(error: unknown): error is
|
|
7218
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
7177
7219
|
};
|
|
7178
7220
|
/**
|
|
7179
7221
|
* Merges complementary market positions back into collateral.
|
|
@@ -7299,7 +7341,7 @@ declare function prepareRedeemComboPosition(client: BaseSecureClient, request: P
|
|
|
7299
7341
|
declare function prepareRedeemPositions(client: BaseSecureClient, request: PrepareRedeemPositionsRequest): Promise<RedeemPositionsWorkflow>;
|
|
7300
7342
|
type RedeemPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
|
|
7301
7343
|
declare const RedeemPositionsError: {
|
|
7302
|
-
isError(error: unknown): error is
|
|
7344
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7303
7345
|
};
|
|
7304
7346
|
/**
|
|
7305
7347
|
* Redeems resolved market or combo positions.
|
|
@@ -7318,7 +7360,7 @@ declare const FetchPublicProfileRequestSchema: z.ZodObject<{
|
|
|
7318
7360
|
type FetchPublicProfileRequest = z.input<typeof FetchPublicProfileRequestSchema>;
|
|
7319
7361
|
type FetchPublicProfileError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7320
7362
|
declare const FetchPublicProfileError: {
|
|
7321
|
-
isError(error: unknown): error is
|
|
7363
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7322
7364
|
};
|
|
7323
7365
|
/**
|
|
7324
7366
|
* Fetches a public profile by wallet address.
|
|
@@ -7378,7 +7420,7 @@ type SearchResults = {
|
|
|
7378
7420
|
};
|
|
7379
7421
|
type SearchError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7380
7422
|
declare const SearchError: {
|
|
7381
|
-
isError(error: unknown): error is
|
|
7423
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7382
7424
|
};
|
|
7383
7425
|
/**
|
|
7384
7426
|
* Runs a public full-text search.
|
|
@@ -7434,7 +7476,7 @@ type ListSeriesRequest = z.input<typeof ListSeriesRequestSchema>;
|
|
|
7434
7476
|
type FetchSeriesRequest = z.input<typeof FetchSeriesRequestSchema>;
|
|
7435
7477
|
type ListSeriesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7436
7478
|
declare const ListSeriesError: {
|
|
7437
|
-
isError(error: unknown): error is
|
|
7479
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7438
7480
|
};
|
|
7439
7481
|
/**
|
|
7440
7482
|
* Lists series.
|
|
@@ -7477,7 +7519,7 @@ declare const ListSeriesError: {
|
|
|
7477
7519
|
declare function listSeries(client: BaseClient, request?: ListSeriesRequest): Paginated<Series[]>;
|
|
7478
7520
|
type FetchSeriesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7479
7521
|
declare const FetchSeriesError: {
|
|
7480
|
-
isError(error: unknown): error is
|
|
7522
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7481
7523
|
};
|
|
7482
7524
|
/**
|
|
7483
7525
|
* Fetches a series.
|
|
@@ -7679,7 +7721,7 @@ type FetchRelatedTagsRequest = z.input<typeof RelatedTagsByIdRequestSchema> | z.
|
|
|
7679
7721
|
type FetchRelatedTagResourcesRequest = z.input<typeof RelatedTagResourcesByIdRequestSchema> | z.input<typeof RelatedTagResourcesBySlugRequestSchema>;
|
|
7680
7722
|
type ListTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7681
7723
|
declare const ListTagsError: {
|
|
7682
|
-
isError(error: unknown): error is
|
|
7724
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7683
7725
|
};
|
|
7684
7726
|
/**
|
|
7685
7727
|
* Lists tags.
|
|
@@ -7722,7 +7764,7 @@ declare const ListTagsError: {
|
|
|
7722
7764
|
declare function listTags(client: BaseClient, request?: ListTagsRequest): Paginated<Tag[]>;
|
|
7723
7765
|
type FetchTagError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7724
7766
|
declare const FetchTagError: {
|
|
7725
|
-
isError(error: unknown): error is
|
|
7767
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7726
7768
|
};
|
|
7727
7769
|
/**
|
|
7728
7770
|
* Fetches a tag by id or slug.
|
|
@@ -7746,7 +7788,7 @@ declare const FetchTagError: {
|
|
|
7746
7788
|
declare function fetchTag(client: BaseClient, request: FetchTagRequest): Promise<Tag>;
|
|
7747
7789
|
type FetchRelatedTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7748
7790
|
declare const FetchRelatedTagsError: {
|
|
7749
|
-
isError(error: unknown): error is
|
|
7791
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7750
7792
|
};
|
|
7751
7793
|
/**
|
|
7752
7794
|
* Fetches related tag relationships by id or slug.
|
|
@@ -7771,7 +7813,7 @@ declare const FetchRelatedTagsError: {
|
|
|
7771
7813
|
declare function fetchRelatedTags(client: BaseClient, request: FetchRelatedTagsRequest): Promise<RelatedTag[]>;
|
|
7772
7814
|
type FetchRelatedTagResourcesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7773
7815
|
declare const FetchRelatedTagResourcesError: {
|
|
7774
|
-
isError(error: unknown): error is
|
|
7816
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7775
7817
|
};
|
|
7776
7818
|
/**
|
|
7777
7819
|
* Fetches resources linked from related tag relationships by id or slug.
|
|
@@ -7808,7 +7850,7 @@ declare const ListTeamsRequestSchema: z.ZodObject<{
|
|
|
7808
7850
|
type ListTeamsRequest = z.input<typeof ListTeamsRequestSchema>;
|
|
7809
7851
|
type ListTeamsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7810
7852
|
declare const ListTeamsError: {
|
|
7811
|
-
isError(error: unknown): error is
|
|
7853
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7812
7854
|
};
|
|
7813
7855
|
/**
|
|
7814
7856
|
* Lists teams.
|
|
@@ -7884,7 +7926,7 @@ declare const PrepareErc20TransferError: {
|
|
|
7884
7926
|
declare function prepareErc20Transfer(client: BaseSecureClient, request: PrepareErc20TransferRequest): Promise<Erc20TransferWorkflow>;
|
|
7885
7927
|
type TransferErc20Error = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
|
|
7886
7928
|
declare const TransferErc20Error: {
|
|
7887
|
-
isError(error: unknown): error is
|
|
7929
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7888
7930
|
};
|
|
7889
7931
|
/**
|
|
7890
7932
|
* Transfers ERC-20 tokens from the authenticated account.
|
|
@@ -7941,7 +7983,7 @@ type TransactionOutcome = {
|
|
|
7941
7983
|
};
|
|
7942
7984
|
type WaitForTransactionError = WaitForGaslessTransactionError;
|
|
7943
7985
|
declare const WaitForTransactionError: {
|
|
7944
|
-
isError(error: unknown): error is
|
|
7986
|
+
isError(error: unknown): error is TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
7945
7987
|
};
|
|
7946
7988
|
interface TransactionHandle {
|
|
7947
7989
|
/**
|
|
@@ -7968,4 +8010,4 @@ type Signer = {
|
|
|
7968
8010
|
sendTransaction(request: SignerTransactionRequest): Promise<TransactionHandle>;
|
|
7969
8011
|
};
|
|
7970
8012
|
|
|
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 };
|
|
8013
|
+
export { FetchOrderBookError as $, type ApiKeyAuthorization as A, type BaseClient as B, CancelAllError as C, type DataActions as D, type DepositToPerpsRequest as E, type DiscoveryActions as F, DownloadAccountingSnapshotError as G, DropNotificationsError as H, type EnvironmentConfig as I, type EnvironmentConfigFork as J, type EnvironmentContracts as K, EstimateMarketPriceError as L, FetchClosedOnlyModeError as M, FetchCommentsByIdError as N, FetchEventError as O, FetchEventLiveVolumeError as P, FetchEventTagsError as Q, FetchLastTradePriceError as R, type Signer as S, type TypedDataPayload as T, UserInputError as U, FetchLastTradePricesError as V, FetchMarketError as W, FetchMarketTagsError as X, FetchMidpointError as Y, FetchMidpointsError as Z, FetchNotificationsError as _, type TypedData as a, ListSeriesError as a$, FetchOrderBooksError as a0, FetchOrderError as a1, FetchOrderScoringError as a2, FetchOrdersScoringError as a3, type FetchPerpsAccountConfigRequest as a4, FetchPerpsBookError as a5, type FetchPerpsBookRequest as a6, FetchPerpsFeesError as a7, FetchPerpsInstrumentsError as a8, type FetchPerpsInstrumentsRequest as a9, ListClosedPositionsError as aA, ListComboActivityError as aB, ListComboMarketsError as aC, ListComboPositionsError as aD, ListCommentsByUserAddressError as aE, ListCommentsError as aF, ListCurrentRewardsError as aG, ListEventsError as aH, ListMarketHoldersError as aI, ListMarketPositionsError as aJ, ListMarketRewardsError as aK, ListMarketsError as aL, ListOpenInterestError as aM, ListOpenOrdersError as aN, ListPerpsCandlesError as aO, type ListPerpsCandlesRequest as aP, type ListPerpsDepositsRequest as aQ, type ListPerpsEquityHistoryRequest as aR, type ListPerpsFillsRequest as aS, ListPerpsFundingHistoryError as aT, type ListPerpsFundingHistoryRequest as aU, type ListPerpsFundingPaymentsRequest as aV, type ListPerpsPnlHistoryRequest as aW, ListPerpsTradesError as aX, type ListPerpsTradesRequest as aY, type ListPerpsWithdrawalsRequest as aZ, ListPositionsError as a_, type FetchPerpsOpenOrdersRequest as aa, type FetchPerpsOrdersRequest as ab, FetchPerpsTickerError as ac, type FetchPerpsTickerRequest as ad, FetchPerpsTickersError as ae, type FetchPerpsTickersRequest as af, FetchPortfolioValueError as ag, FetchPriceError as ah, FetchPriceHistoryError as ai, FetchPricesError as aj, FetchPublicProfileError as ak, FetchRelatedTagResourcesError as al, FetchRelatedTagsError as am, FetchRewardPercentagesError as an, FetchSeriesError as ao, FetchSpreadError as ap, FetchSpreadsError as aq, FetchTagError as ar, FetchTotalEarningsForUserForDayError as as, FetchTradedMarketCountError as at, InsufficientLiquidityError as au, ListAccountTradesError as av, ListActivityError as aw, ListBuilderLeaderboardError as ax, ListBuilderTradesError as ay, ListBuilderVolumeError as az, type TransactionCall as b, type RfqQuoteReference as b$, ListTagsError as b0, ListTeamsError as b1, ListTraderLeaderboardError as b2, ListTradesError as b3, ListUserEarningsAndMarketsConfigError as b4, ListUserEarningsForDayError as b5, MergePositionsError as b6, OpenPerpsSessionError as b7, type OpenPerpsSessionRequest as b8, OpenRfqSessionError as b9, type PostPerpsOrdersRequest as bA, type PublicAccountActions as bB, type PublicActions as bC, type PublicClient as bD, type PublicClientOptions as bE, type PublicPerpsActions as bF, type PublicRewardsActions as bG, type PublicSubscriptionsActions as bH, RateLimitError as bI, RedeemPositionsError as bJ, RequestRejectedError as bK, type RequestRejectedErrorOptions as bL, type RestEndpoint as bM, type ResumePerpsSessionRequest as bN, RevokePerpsCredentialsError as bO, type RevokePerpsCredentialsRequest as bP, type RfqCancelQuoteAck as bQ, RfqCancelQuoteError as bR, RfqCancelQuoteRejectedError as bS, type RfqCancelQuoteRejectedErrorOptions as bT, type RfqConfirmationAck as bU, RfqConfirmationError as bV, RfqConfirmationRejectedError as bW, type RfqConfirmationRequestEvent as bX, type RfqEndpoints as bY, type RfqEvent as bZ, RfqQuoteError as b_, type Page as ba, PageSizeSchema as bb, type Paginated as bc, type PerpsActions as bd, type PerpsBookDepth as be, type PerpsEndpoints as bf, type PerpsOrderRequest as bg, type PerpsPlaceFokOrderRequest as bh, type PerpsPlaceGtcOrderRequest as bi, type PerpsPlaceIocOrderRequest as bj, type PerpsPlacedTpSlOrder as bk, type PerpsPlacedTpSlOrders as bl, type PerpsPositionTpSlTrigger as bm, PerpsSession as bn, type PerpsSessionAccountError as bo, type PerpsSessionLifecycleError as bp, type PerpsSessionTradingError as bq, type PerpsTpSlTrigger as br, type PlacePerpsOrderRequest as bs, type PlacePerpsOrderResult as bt, type PlacePerpsOrderWithTpSlRequest as bu, type PlacePerpsOrderWithTpSlResult as bv, type PlacePerpsPositionTpSlRequest as bw, type PlacePerpsPositionTpSlResult as bx, PostOrderError as by, PostOrdersError as bz, type AccountIdentity as c, subscriptionsActions as c$, RfqQuoteRejectedError as c0, type RfqQuoteRejectedErrorOptions as c1, type RfqQuoteRequestEvent as c2, type RfqQuoteResponse as c3, type RfqQuoteSource as c4, type RfqSession as c5, type RfqTradeEvent as c6, SearchError as c7, SearchSort as c8, type SecureAccountActions as c9, TransferErc20Error as cA, TransportError as cB, type TypedDataDomain as cC, type TypedDataField as cD, UnexpectedResponseError as cE, UpdatePerpsLeverageError as cF, type UpdatePerpsLeverageRequest as cG, WaitForTransactionError as cH, type WalletDerivationConfig as cI, type WebSocketCloseCode as cJ, type WebSocketEndpoint as cK, WebSocketKnownCloseCode as cL, WithdrawFromPerpsError as cM, type WithdrawFromPerpsRequest as cN, accountActions as cO, allActions as cP, analyticsActions as cQ, createPublicClient as cR, createSecureClient as cS, dataActions as cT, discoveryActions as cU, forkEnvironmentConfig as cV, makeErrorGuard as cW, perpsActions as cX, production as cY, rewardsActions as cZ, rfqActions as c_, type SecureActions as ca, type SecureClient as cb, type SecureClientOptions as cc, type SecureDownloadAccountingSnapshotRequest as cd, type SecureFetchPortfolioValueRequest as ce, type SecureFetchTradedMarketCountRequest as cf, type SecureListActivityRequest as cg, type SecureListClosedPositionsRequest as ch, type SecureListComboActivityRequest as ci, type SecureListComboPositionsRequest as cj, type SecureListPositionsRequest as ck, type SecurePerpsActions as cl, type SecureRewardsActions as cm, type SecureRfqActions as cn, type SecureSubscriptionsActions as co, type SecureTradingActions as cp, type SecureWalletActions as cq, SetupGaslessWalletError as cr, SetupTradingApprovalsError as cs, type SignerTransactionRequest as ct, SigningError as cu, SplitPositionError as cv, TimeoutError as cw, TransactionFailedError as cx, type TransactionHandle as cy, type TransactionOutcome as cz, type AnalyticsActions as d, type FetchTagRequest as d$, tradingActions as d0, walletActions as d1, type CancelMarketOrdersRequest as d2, type CancelOrderRequest as d3, type CancelOrdersRequest as d4, type CommentsEventType as d5, type CommentsSubscription as d6, type CryptoPricesEventType as d7, type CryptoPricesSubscription as d8, DeployDepositWalletError as d9, type FetchExecuteParamsRequest as dA, type FetchGaslessTransactionRequest as dB, type FetchLastTradePriceRequest as dC, type FetchLastTradePricesRequest as dD, FetchMarketInfoError as dE, type FetchMarketInfoRequest as dF, type FetchMarketRequest as dG, type FetchMarketTagsRequest as dH, type FetchMidpointRequest as dI, type FetchMidpointsRequest as dJ, FetchNegRiskError as dK, type FetchNegRiskRequest as dL, type FetchOrderBookRequest as dM, type FetchOrderBooksRequest as dN, type FetchOrderRequest as dO, type FetchOrderScoringRequest as dP, type FetchOrdersScoringRequest as dQ, type FetchPortfolioValueRequest as dR, type FetchPriceHistoryRequest as dS, type FetchPriceRequest as dT, type FetchPricesRequest as dU, type FetchPublicProfileRequest as dV, type FetchRelatedTagResourcesRequest as dW, type FetchRelatedTagsRequest as dX, type FetchSeriesRequest as dY, type FetchSpreadRequest as dZ, type FetchSpreadsRequest as d_, type DeprecatedTransactionHandle as da, type DownloadAccountingSnapshotRequest as db, type DropNotificationsRequest as dc, type EquityPricesEventType as dd, type EquityPricesSubscription as de, type Erc1155ApprovalForAllWorkflow as df, type Erc1155ApprovalForAllWorkflowRequest as dg, type Erc20ApprovalWorkflow as dh, type Erc20ApprovalWorkflowRequest as di, type Erc20TransferWorkflow as dj, type Erc20TransferWorkflowRequest as dk, type EstimateMarketBuyPriceRequest as dl, type EstimateMarketPriceRequest as dm, type EstimateMarketSellPriceRequest as dn, type EventForSubscriptionSpec as dp, type EventForSubscriptionSpecs as dq, FetchBalanceAllowanceError as dr, type FetchBalanceAllowanceRequest as ds, FetchBuilderFeeRatesError as dt, type FetchBuilderFeeRatesRequest as du, type FetchCommentsByIdRequest as dv, type FetchEventLiveVolumeRequest as dw, type FetchEventRequest as dx, type FetchEventTagsRequest as dy, FetchExecuteParamsError as dz, ApproveErc1155ForAllError as e, type PrepareErc20ApprovalRequest as e$, FetchTickSizeError as e0, type FetchTickSizeRequest as e1, type FetchTotalEarningsForUserForDayRequest as e2, type FetchTradedMarketCountRequest as e3, GaslessTransactionMetadataSchema as e4, type GaslessWorkflow as e5, type GaslessWorkflowRequest as e6, IsWalletDeployedError as e7, type IsWalletDeployedRequest as e8, type ListAccountTradesRequest as e9, type ListUserEarningsAndMarketsConfigRequest as eA, type ListUserEarningsForDayRequest as eB, type MarketEventType as eC, type MarketSubscription as eD, MergeComboPositionError as eE, MergeMarketPositionError as eF, type MergePositionsWorkflow as eG, type MergePositionsWorkflowRequest as eH, type OrderDraft as eI, type OrderPostingWorkflow as eJ, type OrderWorkflow as eK, type OrderWorkflowRequest as eL, type PerpsBboSubscription as eM, type PerpsBookSubscription as eN, type PerpsCandlesSubscription as eO, type PerpsDepositWorkflow as eP, type PerpsDepositWorkflowRequest as eQ, type PerpsMarketDataEventType as eR, type PerpsMarketDataSubscription as eS, type PerpsStatisticsSubscription as eT, type PerpsStreamingCandleInterval as eU, type PerpsTickersSubscription as eV, type PerpsTradesSubscription as eW, type PostOrdersRequest as eX, PrepareErc1155ApprovalForAllError as eY, type PrepareErc1155ApprovalForAllRequest as eZ, PrepareErc20ApprovalError as e_, type ListActivityRequest as ea, type ListBuilderLeaderboardRequest as eb, type ListBuilderTradesRequest as ec, type ListBuilderVolumeRequest as ed, type ListClosedPositionsRequest as ee, type ListComboActivityRequest as ef, type ListComboMarketsRequest as eg, type ListComboPositionsRequest as eh, type ListCommentsByUserAddressRequest as ei, type ListCommentsRequest as ej, type ListCurrentRewardsRequest as ek, type ListEventsRequest as el, ListMarketClarificationsError as em, type ListMarketClarificationsRequest as en, type ListMarketHoldersRequest as eo, type ListMarketPositionsRequest as ep, type ListMarketRewardsRequest as eq, type ListMarketsRequest as er, type ListOpenInterestRequest as es, type ListOpenOrdersRequest as et, type ListPositionsRequest as eu, type ListSeriesRequest as ev, type ListTagsRequest as ew, type ListTeamsRequest as ex, type ListTraderLeaderboardRequest as ey, type ListTradesRequest as ez, ApproveErc20Error as f, cancelMarketOrders as f$, PrepareErc20TransferError as f0, type PrepareErc20TransferRequest as f1, PrepareGaslessTransactionError as f2, type PrepareGaslessTransactionRequest as f3, type PrepareLimitOrderRequest as f4, type PrepareMarketBuyOrderRequest as f5, type PrepareMarketOrderRequest as f6, type PrepareMarketSellOrderRequest as f7, PrepareMergeComboPositionError as f8, type PrepareMergeComboPositionRequest as f9, type ResolveConditionByTokenRequest as fA, type RfqConfirmationRejectedErrorOptions as fB, type RfqExecutionUpdateEvent as fC, type SearchRequest as fD, type SearchResults as fE, type SecureRealtimeEvent as fF, type SecureRealtimeTopic as fG, type SecureSubscriptionSpec as fH, type SignedOrder as fI, SplitComboPositionError as fJ, SplitMarketPositionError as fK, type SplitPositionWorkflow as fL, type SplitPositionWorkflowRequest as fM, type SportsEventType as fN, type SportsSubscription as fO, type SubscribeError as fP, type SubscriptionHandle as fQ, type TradingApprovalsWorkflow as fR, type TradingApprovalsWorkflowRequest as fS, UpdateBalanceAllowanceError as fT, type UpdateBalanceAllowanceRequest as fU, type UserEventType as fV, type UserSubscription as fW, WaitForGaslessTransactionError as fX, approveErc1155ForAll as fY, approveErc20 as fZ, cancelAll as f_, PrepareMergeMarketPositionError as fa, type PrepareMergeMarketPositionRequest as fb, PrepareMergePositionsError as fc, type PrepareMergePositionsRequest as fd, PreparePerpsDepositError as fe, PrepareRedeemComboPositionError as ff, type PrepareRedeemComboPositionRequest as fg, type PrepareRedeemMarketPositionsByConditionIdRequest as fh, type PrepareRedeemMarketPositionsByMarketIdRequest as fi, PrepareRedeemMarketPositionsError as fj, type PrepareRedeemMarketPositionsRequest as fk, PrepareRedeemPositionsError as fl, type PrepareRedeemPositionsRequest as fm, PrepareSplitComboPositionError as fn, type PrepareSplitComboPositionRequest as fo, PrepareSplitMarketPositionError as fp, type PrepareSplitMarketPositionRequest as fq, PrepareSplitPositionError as fr, type PrepareSplitPositionRequest as fs, PrepareTradingApprovalsError as ft, type PublicRealtimeEvent as fu, type PublicRealtimeTopic as fv, type PublicSubscriptionSpec as fw, type RedeemPositionsWorkflow as fx, type RedeemPositionsWorkflowRequest as fy, ResolveConditionByTokenError as fz, BasePublicClient as g, listEvents as g$, cancelOrder as g0, cancelOrders as g1, deployDepositWallet as g2, depositToPerps as g3, downloadAccountingSnapshot as g4, dropNotifications as g5, estimateMarketPrice as g6, fetchBalanceAllowance as g7, fetchBuilderFeeRates as g8, fetchBuilderVolume as g9, fetchPrice as gA, fetchPriceHistory as gB, fetchPrices as gC, fetchPublicProfile as gD, fetchRelatedTagResources as gE, fetchRelatedTags as gF, fetchRewardPercentages as gG, fetchSeries as gH, fetchSpread as gI, fetchSpreads as gJ, fetchTag as gK, fetchTickSize as gL, fetchTotalEarningsForUserForDay as gM, fetchTradedMarketCount as gN, fetchTransaction as gO, isWalletDeployed as gP, listAccountTrades as gQ, listActivity as gR, listBuilderLeaderboard as gS, listBuilderTrades as gT, listClosedPositions as gU, listComboActivity as gV, listComboMarkets as gW, listComboPositions as gX, listComments as gY, listCommentsByUserAddress as gZ, listCurrentRewards as g_, fetchClosedOnlyMode as ga, fetchCommentsById as gb, fetchEvent as gc, fetchEventLiveVolume as gd, fetchEventTags as ge, fetchExecuteParams as gf, fetchLastTradePrice as gg, fetchLastTradePrices as gh, fetchMarket as gi, fetchMarketInfo as gj, fetchMarketTags as gk, fetchMidpoint as gl, fetchMidpoints as gm, fetchNegRisk as gn, fetchNotifications as go, fetchOrder as gp, fetchOrderBook as gq, fetchOrderBooks as gr, fetchOrderScoring as gs, fetchOrdersScoring as gt, fetchPerpsBook as gu, fetchPerpsFees as gv, fetchPerpsInstruments as gw, fetchPerpsTicker as gx, fetchPerpsTickers as gy, fetchPortfolioValue as gz, BaseSecureClient as h, listMarketClarifications as h0, listMarketHolders as h1, listMarketPositions as h2, listMarketRewards as h3, listMarkets as h4, listOpenInterest as h5, listOpenOrders as h6, listPerpsCandles as h7, listPerpsFundingHistory as h8, listPerpsTrades as h9, prepareSplitComboPosition as hA, prepareSplitMarketPosition as hB, prepareSplitPosition as hC, prepareTradingApprovals as hD, redeemPositions as hE, resolveConditionByToken as hF, revokePerpsCredentials as hG, search as hH, setupTradingApprovals as hI, splitComboPosition as hJ, splitMarketPosition as hK, splitPosition as hL, subscribe as hM, transferErc20 as hN, updateBalanceAllowance as hO, withdrawFromPerps as hP, listPositions as ha, listSeries as hb, listTags as hc, listTeams as hd, listTraderLeaderboard as he, listTrades as hf, listUserEarningsAndMarketsConfig as hg, listUserEarningsForDay as hh, mergeComboPosition as hi, mergeMarketPosition as hj, mergePositions as hk, openPerpsSession as hl, openRfqSession as hm, postOrder as hn, postOrders as ho, prepareErc1155ApprovalForAll as hp, prepareErc20Approval as hq, prepareErc20Transfer as hr, prepareGaslessTransaction as hs, prepareMergeComboPosition as ht, prepareMergeMarketPosition as hu, prepareMergePositions as hv, preparePerpsDeposit as hw, prepareRedeemComboPosition as hx, prepareRedeemMarketPositions as hy, prepareRedeemPositions 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, ConnectionLostError as v, type ConnectionLostErrorOptions as w, type CreatePerpsSessionRequest as x, CreateSecureClientError as y, DepositToPerpsError as z };
|