@polymarket/client 0.1.0-beta.8 → 0.1.0-beta.9
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-FSNACMPO.js +2 -0
- package/dist/chunk-FSNACMPO.js.map +1 -0
- package/dist/ethers-v5.d.ts +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{sports-_kLx9-gD.d.ts → sports-BGrBawu_.d.ts} +11 -11
- package/dist/{types-5uGoLhNm.d.ts → types-M1U0um0G.d.ts} +253 -192
- package/dist/viem.d.ts +1 -1
- package/package.json +3 -3
- package/dist/chunk-GZWA532J.js +0 -2
- package/dist/chunk-GZWA532J.js.map +0 -1
|
@@ -11,7 +11,7 @@ import * as _polymarket_bindings_data from '@polymarket/bindings/data';
|
|
|
11
11
|
import { Value, Traded, ClosedPosition, ComboPosition, Position, MetaMarketPosition, Activity, LeaderboardEntry, BuilderVolumeEntry, TraderLeaderboardEntry, LiveVolume, OpenInterest, MetaHolder, Trade } from '@polymarket/bindings/data';
|
|
12
12
|
import { ComboMarket, RfqQuoteRequest, RfqRequestedSize, RfqSide, RfqQuoteAck, RfqConfirmationRequest, RfqConfirmationAck as RfqConfirmationAck$1, RfqExecutionUpdate, RfqTrade, RfqQuoteCancelAck, RfqErrorCode, RfqId, RfqQuoteId } from '@polymarket/bindings/rfq';
|
|
13
13
|
import * as _polymarket_bindings_perps from '@polymarket/bindings/perps';
|
|
14
|
-
import { PerpsInstrument, PerpsTicker, PerpsBook, PerpsCandle, PerpsFundingRate, PerpsPublicTrade, PerpsFeeScheduleEntry, PerpsWithdrawalId, PerpsInstrumentId, PerpsDepositStatusSchema, PerpsWithdrawalStatusSchema, PerpsPnlIntervalSchema,
|
|
14
|
+
import { PerpsInstrument, PerpsTicker, PerpsBook, PerpsCandle, PerpsFundingRate, PerpsPublicTrade, PerpsFeeScheduleEntry, PerpsWithdrawalId, PerpsInstrumentId, PerpsDepositStatusSchema, PerpsWithdrawalStatusSchema, PerpsPnlIntervalSchema, PerpsDecimalInput, PerpsTimeInForce, PerpsCredentials, PerpsBalance, PerpsPortfolio, PerpsAccountConfig, PerpsOrder, PerpsAccountFill, PerpsAccountFundingPayment, PerpsDeposit, PerpsWithdrawal, PerpsEquityPoint, PerpsPnlPoint, PerpsPostOrderAck, PerpsCancelOrderResult, PerpsKlineInterval, PerpsInstrumentIdSchema } from '@polymarket/bindings/perps';
|
|
15
15
|
import { PerpsSessionEvent, CommentsEvent, CryptoPricesTopic, EquityPricesTopic, EquityPricesEvent, MarketEvent, StandardMarketEvent, UserEvent, SportsEvent, CryptoPricesBinanceEvent, CryptoPricesChainlinkEvent, PerpsTradeEvent, PerpsBboEvent, PerpsBookEvent, PerpsCandleEvent, PerpsTickerEvent, PerpsStatisticEvent, CryptoPricesEvent, PerpsMarketDataEvent } from '@polymarket/bindings/subscriptions';
|
|
16
16
|
import { Hex } from 'ox';
|
|
17
17
|
|
|
@@ -159,7 +159,7 @@ declare const FetchExecuteParamsRequestSchema: z.ZodObject<{
|
|
|
159
159
|
type FetchExecuteParamsRequest = z.input<typeof FetchExecuteParamsRequestSchema>;
|
|
160
160
|
type FetchExecuteParamsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
161
161
|
declare const FetchExecuteParamsError: {
|
|
162
|
-
isError(error: unknown): error is
|
|
162
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
163
163
|
};
|
|
164
164
|
/**
|
|
165
165
|
* Fetches the parameters needed to prepare a low-level transaction submission.
|
|
@@ -182,7 +182,7 @@ declare const IsWalletDeployedRequestSchema: z.ZodObject<{
|
|
|
182
182
|
type IsWalletDeployedRequest = z.input<typeof IsWalletDeployedRequestSchema>;
|
|
183
183
|
type IsWalletDeployedError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
184
184
|
declare const IsWalletDeployedError: {
|
|
185
|
-
isError(error: unknown): error is
|
|
185
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
186
186
|
};
|
|
187
187
|
/**
|
|
188
188
|
* Checks whether a wallet is deployed for relayer-backed transactions.
|
|
@@ -207,7 +207,7 @@ declare function isWalletDeployed(client: BaseClient, request?: IsWalletDeployed
|
|
|
207
207
|
declare const GaslessTransactionMetadataSchema: z.ZodString;
|
|
208
208
|
type DeployDepositWalletError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
209
209
|
declare const DeployDepositWalletError: {
|
|
210
|
-
isError(error: unknown): error is
|
|
210
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
211
211
|
};
|
|
212
212
|
/**
|
|
213
213
|
* Deploys a Deposit Wallet for the authenticated signer.
|
|
@@ -250,7 +250,7 @@ type GaslessWorkflowRequest = RequestAddressRequest | SignGaslessMessageRequest
|
|
|
250
250
|
type GaslessWorkflow = AsyncGenerator<GaslessWorkflowRequest, TransactionHandle, EvmAddress | EvmSignature | TransactionHandle>;
|
|
251
251
|
type PrepareGaslessTransactionError = ExecuteGaslessError | FetchExecuteParamsError | UserInputError;
|
|
252
252
|
declare const PrepareGaslessTransactionError: {
|
|
253
|
-
isError(error: unknown): error is
|
|
253
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
254
254
|
};
|
|
255
255
|
/**
|
|
256
256
|
* Starts preparing a low-level transaction workflow from one or more calls.
|
|
@@ -265,7 +265,7 @@ declare function prepareGaslessTransaction(client: BaseSecureClient, request: Pr
|
|
|
265
265
|
type ExecuteGaslessError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
266
266
|
type WaitForGaslessTransactionError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | TimeoutError | TransactionFailedError;
|
|
267
267
|
declare const WaitForGaslessTransactionError: {
|
|
268
|
-
isError(error: unknown): error is
|
|
268
|
+
isError(error: unknown): error is TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
269
269
|
};
|
|
270
270
|
|
|
271
271
|
declare const PageSizeSchema: z.ZodNumber;
|
|
@@ -351,7 +351,7 @@ type FetchTradedMarketCountRequest = z.input<typeof FetchTradedMarketCountReques
|
|
|
351
351
|
type DownloadAccountingSnapshotRequest = z.input<typeof DownloadAccountingSnapshotRequestSchema>;
|
|
352
352
|
type ListPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
353
353
|
declare const ListPositionsError: {
|
|
354
|
-
isError(error: unknown): error is
|
|
354
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
355
355
|
};
|
|
356
356
|
/**
|
|
357
357
|
* Lists current positions for a wallet.
|
|
@@ -394,11 +394,11 @@ declare const ListPositionsError: {
|
|
|
394
394
|
declare function listPositions(client: BaseClient, request: ListPositionsRequest): Paginated<Position[]>;
|
|
395
395
|
type ListClosedPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
396
396
|
declare const ListClosedPositionsError: {
|
|
397
|
-
isError(error: unknown): error is
|
|
397
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
398
398
|
};
|
|
399
399
|
type ListComboPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
400
400
|
declare const ListComboPositionsError: {
|
|
401
|
-
isError(error: unknown): error is
|
|
401
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
402
402
|
};
|
|
403
403
|
/**
|
|
404
404
|
* Lists closed positions for a wallet.
|
|
@@ -476,7 +476,7 @@ declare function listClosedPositions(client: BaseClient, request: ListClosedPosi
|
|
|
476
476
|
declare function listComboPositions(client: BaseClient, request: ListComboPositionsRequest): Paginated<ComboPosition[]>;
|
|
477
477
|
type FetchPortfolioValueError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
478
478
|
declare const FetchPortfolioValueError: {
|
|
479
|
-
isError(error: unknown): error is
|
|
479
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
480
480
|
};
|
|
481
481
|
/**
|
|
482
482
|
* Fetches the total value for a wallet's positions.
|
|
@@ -499,7 +499,7 @@ declare const FetchPortfolioValueError: {
|
|
|
499
499
|
declare function fetchPortfolioValue(client: BaseClient, request: FetchPortfolioValueRequest): Promise<Value[]>;
|
|
500
500
|
type FetchTradedMarketCountError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
501
501
|
declare const FetchTradedMarketCountError: {
|
|
502
|
-
isError(error: unknown): error is
|
|
502
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
503
503
|
};
|
|
504
504
|
/**
|
|
505
505
|
* Fetches the total number of markets a wallet has traded.
|
|
@@ -522,7 +522,7 @@ declare const FetchTradedMarketCountError: {
|
|
|
522
522
|
declare function fetchTradedMarketCount(client: BaseClient, request: FetchTradedMarketCountRequest): Promise<Traded>;
|
|
523
523
|
type DownloadAccountingSnapshotError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
524
524
|
declare const DownloadAccountingSnapshotError: {
|
|
525
|
-
isError(error: unknown): error is
|
|
525
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
526
526
|
};
|
|
527
527
|
/**
|
|
528
528
|
* Downloads an accounting snapshot archive for a wallet.
|
|
@@ -1603,6 +1603,9 @@ type DiscoveryActions = {
|
|
|
1603
1603
|
/**
|
|
1604
1604
|
* Runs a public full-text search.
|
|
1605
1605
|
*
|
|
1606
|
+
* `keepClosedMarkets` is an hour window for including recently closed markets
|
|
1607
|
+
* when searching active events.
|
|
1608
|
+
*
|
|
1606
1609
|
* @throws {@link SearchError}
|
|
1607
1610
|
* Thrown on failure.
|
|
1608
1611
|
*
|
|
@@ -1862,13 +1865,15 @@ type SecurePerpsActions = PublicPerpsActions & {
|
|
|
1862
1865
|
* Opens a Perps account session.
|
|
1863
1866
|
*
|
|
1864
1867
|
* @remarks
|
|
1865
|
-
*
|
|
1866
|
-
*
|
|
1868
|
+
* Omit `expiresIn` to create new delegated Perps credentials that expire after
|
|
1869
|
+
* one week. Pass `expiresIn` as a duration in milliseconds to use a shorter or
|
|
1870
|
+
* longer credential lifetime, or pass existing credentials to validate and
|
|
1871
|
+
* resume a previous session.
|
|
1867
1872
|
*
|
|
1868
1873
|
* @throws {@link OpenPerpsSessionError}
|
|
1869
1874
|
* Thrown on failure.
|
|
1870
1875
|
*/
|
|
1871
|
-
openPerpsSession(request
|
|
1876
|
+
openPerpsSession(request?: OpenPerpsSessionRequest): Promise<PerpsSession>;
|
|
1872
1877
|
/**
|
|
1873
1878
|
* Revokes delegated Perps credentials by proxy address.
|
|
1874
1879
|
*
|
|
@@ -2146,7 +2151,7 @@ declare class RfqQuoteRejectedError extends PolymarketError {
|
|
|
2146
2151
|
}
|
|
2147
2152
|
type RfqQuoteError = RfqQuoteRejectedError | SigningError | TimeoutError | TransportError | UserInputError;
|
|
2148
2153
|
declare const RfqQuoteError: {
|
|
2149
|
-
isError(error: unknown): error is
|
|
2154
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | TimeoutError | RfqQuoteRejectedError;
|
|
2150
2155
|
};
|
|
2151
2156
|
type RfqCancelQuoteRejectedErrorOptions = {
|
|
2152
2157
|
/** RFQ error code for the rejected cancellation request. */
|
|
@@ -2504,7 +2509,7 @@ declare const CancelMarketOrdersRequestSchema: z.ZodObject<{
|
|
|
2504
2509
|
type CancelOrderRequest = z.input<typeof CancelOrderRequestSchema>;
|
|
2505
2510
|
type CancelOrderError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
2506
2511
|
declare const CancelOrderError: {
|
|
2507
|
-
isError(error: unknown): error is
|
|
2512
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
2508
2513
|
};
|
|
2509
2514
|
/**
|
|
2510
2515
|
* Cancels a single open order for the authenticated account.
|
|
@@ -2528,7 +2533,7 @@ declare function cancelOrder(client: BaseSecureClient, request: CancelOrderReque
|
|
|
2528
2533
|
type CancelOrdersRequest = z.input<typeof CancelOrdersRequestSchema>;
|
|
2529
2534
|
type CancelOrdersError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
2530
2535
|
declare const CancelOrdersError: {
|
|
2531
|
-
isError(error: unknown): error is
|
|
2536
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
2532
2537
|
};
|
|
2533
2538
|
/**
|
|
2534
2539
|
* Cancels multiple open orders for the authenticated account.
|
|
@@ -2551,7 +2556,7 @@ declare const CancelOrdersError: {
|
|
|
2551
2556
|
declare function cancelOrders(client: BaseSecureClient, request: CancelOrdersRequest): Promise<CancelOrdersResponse>;
|
|
2552
2557
|
type CancelAllError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError;
|
|
2553
2558
|
declare const CancelAllError: {
|
|
2554
|
-
isError(error: unknown): error is
|
|
2559
|
+
isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
2555
2560
|
};
|
|
2556
2561
|
/**
|
|
2557
2562
|
* Cancels all open orders for the authenticated account.
|
|
@@ -2573,7 +2578,7 @@ declare function cancelAll(client: BaseSecureClient): Promise<CancelOrdersRespon
|
|
|
2573
2578
|
type CancelMarketOrdersRequest = z.input<typeof CancelMarketOrdersRequestSchema>;
|
|
2574
2579
|
type CancelMarketOrdersError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
2575
2580
|
declare const CancelMarketOrdersError: {
|
|
2576
|
-
isError(error: unknown): error is
|
|
2581
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
2577
2582
|
};
|
|
2578
2583
|
/**
|
|
2579
2584
|
* Cancels all open orders for the authenticated account that match the market
|
|
@@ -2627,7 +2632,7 @@ type EstimateMarketSellPriceRequest = {
|
|
|
2627
2632
|
type EstimateMarketPriceRequest = EstimateMarketBuyPriceRequest | EstimateMarketSellPriceRequest;
|
|
2628
2633
|
type EstimateMarketPriceError = InsufficientLiquidityError | RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
2629
2634
|
declare const EstimateMarketPriceError: {
|
|
2630
|
-
isError(error: unknown): error is
|
|
2635
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | InsufficientLiquidityError;
|
|
2631
2636
|
};
|
|
2632
2637
|
/**
|
|
2633
2638
|
* Estimates the price level a market order would cross at current book depth.
|
|
@@ -2805,11 +2810,11 @@ declare const PostOrdersRequestSchema: z.ZodArray<z.ZodCustom<SignedOrder, Signe
|
|
|
2805
2810
|
type PostOrdersRequest = z.input<typeof PostOrdersRequestSchema>;
|
|
2806
2811
|
type PostOrderError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
|
|
2807
2812
|
declare const PostOrderError: {
|
|
2808
|
-
isError(error: unknown): error is
|
|
2813
|
+
isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
2809
2814
|
};
|
|
2810
2815
|
type PostOrdersError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
2811
2816
|
declare const PostOrdersError: {
|
|
2812
|
-
isError(error: unknown): error is
|
|
2817
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
2813
2818
|
};
|
|
2814
2819
|
/**
|
|
2815
2820
|
* Posts a signed order for the authenticated account.
|
|
@@ -3607,7 +3612,7 @@ type SecureClientOptions = PublicClientOptions & {
|
|
|
3607
3612
|
declare function createPublicClient(options?: PublicClientOptions): PublicClient<PublicActions, SecureActions>;
|
|
3608
3613
|
type CreateSecureClientError = CancelledSigningError | DeployDepositWalletError | IsWalletDeployedError | RateLimitError | RequestRejectedError | SigningError | TimeoutError | TransactionFailedError | TransportError | UnexpectedResponseError | UserInputError | WaitForGaslessTransactionError;
|
|
3609
3614
|
declare const CreateSecureClientError: {
|
|
3610
|
-
isError(error: unknown): error is
|
|
3615
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
3611
3616
|
};
|
|
3612
3617
|
type SetupGaslessWalletError = UserInputError;
|
|
3613
3618
|
declare const SetupGaslessWalletError: {
|
|
@@ -3630,7 +3635,7 @@ declare function createSecureClient(options: SecureClientOptions): Promise<Secur
|
|
|
3630
3635
|
|
|
3631
3636
|
type FetchClosedOnlyModeError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
|
|
3632
3637
|
declare const FetchClosedOnlyModeError: {
|
|
3633
|
-
isError(error: unknown): error is
|
|
3638
|
+
isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3634
3639
|
};
|
|
3635
3640
|
/**
|
|
3636
3641
|
* Fetches whether the account is restricted to closed-only trading.
|
|
@@ -3655,7 +3660,7 @@ declare const ListOpenOrdersRequestSchema: z.ZodDefault<z.ZodObject<{
|
|
|
3655
3660
|
type ListOpenOrdersRequest = z.input<typeof ListOpenOrdersRequestSchema>;
|
|
3656
3661
|
type ListOpenOrdersError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
3657
3662
|
declare const ListOpenOrdersError: {
|
|
3658
|
-
isError(error: unknown): error is
|
|
3663
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3659
3664
|
};
|
|
3660
3665
|
/**
|
|
3661
3666
|
* Lists open orders for the authenticated account across all pages.
|
|
@@ -3699,7 +3704,7 @@ declare const FetchOrderRequestSchema: z.ZodObject<{
|
|
|
3699
3704
|
type FetchOrderRequest = z.input<typeof FetchOrderRequestSchema>;
|
|
3700
3705
|
type FetchOrderError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
3701
3706
|
declare const FetchOrderError: {
|
|
3702
|
-
isError(error: unknown): error is
|
|
3707
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3703
3708
|
};
|
|
3704
3709
|
/**
|
|
3705
3710
|
* Fetches a single order for the authenticated account.
|
|
@@ -3729,7 +3734,7 @@ declare const ListAccountTradesRequestSchema: z.ZodDefault<z.ZodObject<{
|
|
|
3729
3734
|
type ListAccountTradesRequest = z.input<typeof ListAccountTradesRequestSchema>;
|
|
3730
3735
|
type ListAccountTradesError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
3731
3736
|
declare const ListAccountTradesError: {
|
|
3732
|
-
isError(error: unknown): error is
|
|
3737
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3733
3738
|
};
|
|
3734
3739
|
/**
|
|
3735
3740
|
* Lists trades for the authenticated account across all pages.
|
|
@@ -3769,7 +3774,7 @@ declare const ListAccountTradesError: {
|
|
|
3769
3774
|
declare function listAccountTrades(client: BaseSecureClient, request?: ListAccountTradesRequest): Paginated<ClobTrade[]>;
|
|
3770
3775
|
type FetchNotificationsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
|
|
3771
3776
|
declare const FetchNotificationsError: {
|
|
3772
|
-
isError(error: unknown): error is
|
|
3777
|
+
isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3773
3778
|
};
|
|
3774
3779
|
declare const DropNotificationsRequestSchema: z.ZodObject<{
|
|
3775
3780
|
ids: z.ZodArray<z.ZodString>;
|
|
@@ -3791,7 +3796,7 @@ type DropNotificationsRequest = z.input<typeof DropNotificationsRequestSchema>;
|
|
|
3791
3796
|
declare function fetchNotifications(client: BaseSecureClient): Promise<NotificationsResponse>;
|
|
3792
3797
|
type DropNotificationsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
3793
3798
|
declare const DropNotificationsError: {
|
|
3794
|
-
isError(error: unknown): error is
|
|
3799
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3795
3800
|
};
|
|
3796
3801
|
/**
|
|
3797
3802
|
* Drops notifications for the authenticated account.
|
|
@@ -3817,7 +3822,7 @@ declare const FetchBalanceAllowanceRequestSchema: z.ZodObject<{
|
|
|
3817
3822
|
type FetchBalanceAllowanceRequest = z.input<typeof FetchBalanceAllowanceRequestSchema>;
|
|
3818
3823
|
type FetchBalanceAllowanceError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
3819
3824
|
declare const FetchBalanceAllowanceError: {
|
|
3820
|
-
isError(error: unknown): error is
|
|
3825
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3821
3826
|
};
|
|
3822
3827
|
/**
|
|
3823
3828
|
* Fetches balance and allowance for the authenticated account.
|
|
@@ -3843,7 +3848,7 @@ declare const UpdateBalanceAllowanceRequestSchema: z.ZodObject<{
|
|
|
3843
3848
|
type UpdateBalanceAllowanceRequest = z.input<typeof UpdateBalanceAllowanceRequestSchema>;
|
|
3844
3849
|
type UpdateBalanceAllowanceError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
3845
3850
|
declare const UpdateBalanceAllowanceError: {
|
|
3846
|
-
isError(error: unknown): error is
|
|
3851
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3847
3852
|
};
|
|
3848
3853
|
/**
|
|
3849
3854
|
* Refreshes balance and allowance for the authenticated account.
|
|
@@ -3868,7 +3873,7 @@ declare const FetchOrderScoringRequestSchema: z.ZodObject<{
|
|
|
3868
3873
|
type FetchOrderScoringRequest = z.input<typeof FetchOrderScoringRequestSchema>;
|
|
3869
3874
|
type FetchOrderScoringError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
3870
3875
|
declare const FetchOrderScoringError: {
|
|
3871
|
-
isError(error: unknown): error is
|
|
3876
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3872
3877
|
};
|
|
3873
3878
|
/**
|
|
3874
3879
|
* Fetches whether a single order is currently scoring.
|
|
@@ -3892,7 +3897,7 @@ declare const FetchOrdersScoringRequestSchema: z.ZodObject<{
|
|
|
3892
3897
|
type FetchOrdersScoringRequest = z.input<typeof FetchOrdersScoringRequestSchema>;
|
|
3893
3898
|
type FetchOrdersScoringError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
3894
3899
|
declare const FetchOrdersScoringError: {
|
|
3895
|
-
isError(error: unknown): error is
|
|
3900
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3896
3901
|
};
|
|
3897
3902
|
/**
|
|
3898
3903
|
* Fetches scoring state for multiple orders.
|
|
@@ -3917,7 +3922,7 @@ declare const ListUserEarningsForDayRequestSchema: z.ZodObject<{
|
|
|
3917
3922
|
type ListUserEarningsForDayRequest = z.input<typeof ListUserEarningsForDayRequestSchema>;
|
|
3918
3923
|
type ListUserEarningsForDayError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
3919
3924
|
declare const ListUserEarningsForDayError: {
|
|
3920
|
-
isError(error: unknown): error is
|
|
3925
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3921
3926
|
};
|
|
3922
3927
|
/**
|
|
3923
3928
|
* Lists per-market earnings for the authenticated account on a given day.
|
|
@@ -3958,7 +3963,7 @@ declare function listUserEarningsForDay(client: BaseSecureClient, request: ListU
|
|
|
3958
3963
|
type FetchTotalEarningsForUserForDayRequest = z.input<typeof ListUserEarningsForDayRequestSchema>;
|
|
3959
3964
|
type FetchTotalEarningsForUserForDayError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
3960
3965
|
declare const FetchTotalEarningsForUserForDayError: {
|
|
3961
|
-
isError(error: unknown): error is
|
|
3966
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3962
3967
|
};
|
|
3963
3968
|
/**
|
|
3964
3969
|
* Fetches total earnings for the authenticated account on a given day.
|
|
@@ -3987,7 +3992,7 @@ declare const ListUserEarningsAndMarketsConfigRequestSchema: z.ZodObject<{
|
|
|
3987
3992
|
type ListUserEarningsAndMarketsConfigRequest = z.input<typeof ListUserEarningsAndMarketsConfigRequestSchema>;
|
|
3988
3993
|
type ListUserEarningsAndMarketsConfigError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
3989
3994
|
declare const ListUserEarningsAndMarketsConfigError: {
|
|
3990
|
-
isError(error: unknown): error is
|
|
3995
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
3991
3996
|
};
|
|
3992
3997
|
/**
|
|
3993
3998
|
* Lists market reward configuration and earnings for the authenticated account on a given day.
|
|
@@ -4027,7 +4032,7 @@ declare const ListUserEarningsAndMarketsConfigError: {
|
|
|
4027
4032
|
declare function listUserEarningsAndMarketsConfig(client: BaseSecureClient, request: ListUserEarningsAndMarketsConfigRequest): Paginated<UserRewardsEarning[]>;
|
|
4028
4033
|
type FetchRewardPercentagesError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
|
|
4029
4034
|
declare const FetchRewardPercentagesError: {
|
|
4030
|
-
isError(error: unknown): error is
|
|
4035
|
+
isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4031
4036
|
};
|
|
4032
4037
|
/**
|
|
4033
4038
|
* Fetches reward percentages for the authenticated account.
|
|
@@ -4088,7 +4093,7 @@ type ListTradesRequest = z.input<typeof ListTradesRequestSchema>;
|
|
|
4088
4093
|
type ListActivityRequest = z.input<typeof ListActivityRequestSchema>;
|
|
4089
4094
|
type ListTradesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4090
4095
|
declare const ListTradesError: {
|
|
4091
|
-
isError(error: unknown): error is
|
|
4096
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4092
4097
|
};
|
|
4093
4098
|
/**
|
|
4094
4099
|
* Lists trades for a wallet, market, or event.
|
|
@@ -4131,7 +4136,7 @@ declare const ListTradesError: {
|
|
|
4131
4136
|
declare function listTrades(client: BaseClient, request?: ListTradesRequest): Paginated<Trade[]>;
|
|
4132
4137
|
type ListActivityError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4133
4138
|
declare const ListActivityError: {
|
|
4134
|
-
isError(error: unknown): error is
|
|
4139
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4135
4140
|
};
|
|
4136
4141
|
/**
|
|
4137
4142
|
* Lists wallet activity.
|
|
@@ -4207,7 +4212,7 @@ declare const PrepareErc20ApprovalError: {
|
|
|
4207
4212
|
declare function prepareErc20Approval(client: BaseSecureClient, request: PrepareErc20ApprovalRequest): Promise<Erc20ApprovalWorkflow>;
|
|
4208
4213
|
type ApproveErc20Error = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
|
|
4209
4214
|
declare const ApproveErc20Error: {
|
|
4210
|
-
isError(error: unknown): error is
|
|
4215
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4211
4216
|
};
|
|
4212
4217
|
/**
|
|
4213
4218
|
* Approves ERC-20 token spending for the authenticated account.
|
|
@@ -4252,7 +4257,7 @@ declare const PrepareErc1155ApprovalForAllError: {
|
|
|
4252
4257
|
declare function prepareErc1155ApprovalForAll(client: BaseSecureClient, request: PrepareErc1155ApprovalForAllRequest): Promise<Erc1155ApprovalForAllWorkflow>;
|
|
4253
4258
|
type ApproveErc1155ForAllError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
|
|
4254
4259
|
declare const ApproveErc1155ForAllError: {
|
|
4255
|
-
isError(error: unknown): error is
|
|
4260
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4256
4261
|
};
|
|
4257
4262
|
/**
|
|
4258
4263
|
* Approves or revokes ERC-1155 operator access for the authenticated account.
|
|
@@ -4268,7 +4273,7 @@ type TradingApprovalsWorkflowRequest = GaslessWorkflowRequest | SendErc20Approva
|
|
|
4268
4273
|
type TradingApprovalsWorkflow = AsyncGenerator<TradingApprovalsWorkflowRequest, void, EvmAddress$1 | EvmSignature | TransactionHandle>;
|
|
4269
4274
|
type PrepareTradingApprovalsError = RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4270
4275
|
declare const PrepareTradingApprovalsError: {
|
|
4271
|
-
isError(error: unknown): error is
|
|
4276
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError;
|
|
4272
4277
|
};
|
|
4273
4278
|
/**
|
|
4274
4279
|
* Starts a trading-setup approval workflow.
|
|
@@ -4287,7 +4292,7 @@ declare const PrepareTradingApprovalsError: {
|
|
|
4287
4292
|
declare function prepareTradingApprovals(client: BaseSecureClient): Promise<TradingApprovalsWorkflow>;
|
|
4288
4293
|
type SetupTradingApprovalsError = PrepareTradingApprovalsError | CancelledSigningError | SigningError | WaitForGaslessTransactionError;
|
|
4289
4294
|
declare const SetupTradingApprovalsError: {
|
|
4290
|
-
isError(error: unknown): error is
|
|
4295
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
4291
4296
|
};
|
|
4292
4297
|
type DeprecatedTransactionHandle = Omit<TransactionHandle, 'wait'> & {
|
|
4293
4298
|
/**
|
|
@@ -4319,7 +4324,7 @@ declare const ListBuilderTradesRequestSchema: z.ZodObject<{
|
|
|
4319
4324
|
type ListBuilderTradesRequest = z.input<typeof ListBuilderTradesRequestSchema>;
|
|
4320
4325
|
type ListBuilderTradesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4321
4326
|
declare const ListBuilderTradesError: {
|
|
4322
|
-
isError(error: unknown): error is
|
|
4327
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4323
4328
|
};
|
|
4324
4329
|
/**
|
|
4325
4330
|
* Lists builder-attributed trades.
|
|
@@ -4361,7 +4366,7 @@ declare const FetchMidpointRequestSchema: z.ZodObject<{
|
|
|
4361
4366
|
type FetchMidpointRequest = z.input<typeof FetchMidpointRequestSchema>;
|
|
4362
4367
|
type FetchMidpointError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4363
4368
|
declare const FetchMidpointError: {
|
|
4364
|
-
isError(error: unknown): error is
|
|
4369
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4365
4370
|
};
|
|
4366
4371
|
/**
|
|
4367
4372
|
* Fetches the midpoint price for a token.
|
|
@@ -4390,7 +4395,7 @@ declare const FetchMidpointsRequestSchema: z.ZodArray<z.ZodObject<{
|
|
|
4390
4395
|
type FetchMidpointsRequest = z.input<typeof FetchMidpointsRequestSchema>;
|
|
4391
4396
|
type FetchMidpointsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4392
4397
|
declare const FetchMidpointsError: {
|
|
4393
|
-
isError(error: unknown): error is
|
|
4398
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4394
4399
|
};
|
|
4395
4400
|
/**
|
|
4396
4401
|
* Fetches midpoint prices for multiple tokens.
|
|
@@ -4421,7 +4426,7 @@ declare const FetchTickSizeRequestSchema: z.ZodObject<{
|
|
|
4421
4426
|
type FetchTickSizeRequest = z.input<typeof FetchTickSizeRequestSchema>;
|
|
4422
4427
|
type FetchTickSizeError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4423
4428
|
declare const FetchTickSizeError: {
|
|
4424
|
-
isError(error: unknown): error is
|
|
4429
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4425
4430
|
};
|
|
4426
4431
|
/**
|
|
4427
4432
|
* Fetches the minimum price tick size for a token's order book.
|
|
@@ -4449,7 +4454,7 @@ declare const FetchNegRiskRequestSchema: z.ZodObject<{
|
|
|
4449
4454
|
type FetchNegRiskRequest = z.input<typeof FetchNegRiskRequestSchema>;
|
|
4450
4455
|
type FetchNegRiskError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4451
4456
|
declare const FetchNegRiskError: {
|
|
4452
|
-
isError(error: unknown): error is
|
|
4457
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4453
4458
|
};
|
|
4454
4459
|
/**
|
|
4455
4460
|
* Fetches whether a token is in a negative-risk market.
|
|
@@ -4477,7 +4482,7 @@ declare const ResolveConditionByTokenRequestSchema: z.ZodObject<{
|
|
|
4477
4482
|
type ResolveConditionByTokenRequest = z.input<typeof ResolveConditionByTokenRequestSchema>;
|
|
4478
4483
|
type ResolveConditionByTokenError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4479
4484
|
declare const ResolveConditionByTokenError: {
|
|
4480
|
-
isError(error: unknown): error is
|
|
4485
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4481
4486
|
};
|
|
4482
4487
|
/**
|
|
4483
4488
|
* Resolves the condition ID for a token.
|
|
@@ -4495,7 +4500,7 @@ declare const FetchMarketInfoRequestSchema: z.ZodObject<{
|
|
|
4495
4500
|
type FetchMarketInfoRequest = z.input<typeof FetchMarketInfoRequestSchema>;
|
|
4496
4501
|
type FetchMarketInfoError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4497
4502
|
declare const FetchMarketInfoError: {
|
|
4498
|
-
isError(error: unknown): error is
|
|
4503
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4499
4504
|
};
|
|
4500
4505
|
/**
|
|
4501
4506
|
* Fetches market-level metadata for a condition.
|
|
@@ -4513,7 +4518,7 @@ declare const FetchBuilderFeeRatesRequestSchema: z.ZodObject<{
|
|
|
4513
4518
|
type FetchBuilderFeeRatesRequest = z.input<typeof FetchBuilderFeeRatesRequestSchema>;
|
|
4514
4519
|
type FetchBuilderFeeRatesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4515
4520
|
declare const FetchBuilderFeeRatesError: {
|
|
4516
|
-
isError(error: unknown): error is
|
|
4521
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4517
4522
|
};
|
|
4518
4523
|
/**
|
|
4519
4524
|
* Fetches builder maker and taker fee rates.
|
|
@@ -4532,7 +4537,7 @@ declare const FetchPriceRequestSchema: z.ZodObject<{
|
|
|
4532
4537
|
type FetchPriceRequest = z.input<typeof FetchPriceRequestSchema>;
|
|
4533
4538
|
type FetchPriceError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4534
4539
|
declare const FetchPriceError: {
|
|
4535
|
-
isError(error: unknown): error is
|
|
4540
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4536
4541
|
};
|
|
4537
4542
|
/**
|
|
4538
4543
|
* Fetches the current quoted price for a token and side.
|
|
@@ -4563,7 +4568,7 @@ declare const FetchPricesRequestSchema: z.ZodArray<z.ZodObject<{
|
|
|
4563
4568
|
type FetchPricesRequest = z.input<typeof FetchPricesRequestSchema>;
|
|
4564
4569
|
type FetchPricesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4565
4570
|
declare const FetchPricesError: {
|
|
4566
|
-
isError(error: unknown): error is
|
|
4571
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4567
4572
|
};
|
|
4568
4573
|
/**
|
|
4569
4574
|
* Fetches quoted prices for multiple tokens.
|
|
@@ -4595,7 +4600,7 @@ declare const FetchOrderBookRequestSchema: z.ZodObject<{
|
|
|
4595
4600
|
type FetchOrderBookRequest = z.input<typeof FetchOrderBookRequestSchema>;
|
|
4596
4601
|
type FetchOrderBookError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4597
4602
|
declare const FetchOrderBookError: {
|
|
4598
|
-
isError(error: unknown): error is
|
|
4603
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4599
4604
|
};
|
|
4600
4605
|
/**
|
|
4601
4606
|
* Fetches the current order book for a token.
|
|
@@ -4623,7 +4628,7 @@ declare const FetchOrderBooksRequestSchema: z.ZodArray<z.ZodObject<{
|
|
|
4623
4628
|
type FetchOrderBooksRequest = z.input<typeof FetchOrderBooksRequestSchema>;
|
|
4624
4629
|
type FetchOrderBooksError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4625
4630
|
declare const FetchOrderBooksError: {
|
|
4626
|
-
isError(error: unknown): error is
|
|
4631
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4627
4632
|
};
|
|
4628
4633
|
/**
|
|
4629
4634
|
* Fetches order books for multiple tokens.
|
|
@@ -4653,7 +4658,7 @@ declare const FetchSpreadRequestSchema: z.ZodObject<{
|
|
|
4653
4658
|
type FetchSpreadRequest = z.input<typeof FetchSpreadRequestSchema>;
|
|
4654
4659
|
type FetchSpreadError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4655
4660
|
declare const FetchSpreadError: {
|
|
4656
|
-
isError(error: unknown): error is
|
|
4661
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4657
4662
|
};
|
|
4658
4663
|
/**
|
|
4659
4664
|
* Fetches the spread for a token.
|
|
@@ -4682,7 +4687,7 @@ declare const FetchSpreadsRequestSchema: z.ZodArray<z.ZodObject<{
|
|
|
4682
4687
|
type FetchSpreadsRequest = z.input<typeof FetchSpreadsRequestSchema>;
|
|
4683
4688
|
type FetchSpreadsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4684
4689
|
declare const FetchSpreadsError: {
|
|
4685
|
-
isError(error: unknown): error is
|
|
4690
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4686
4691
|
};
|
|
4687
4692
|
/**
|
|
4688
4693
|
* Fetches spreads for multiple tokens.
|
|
@@ -4713,7 +4718,7 @@ declare const FetchLastTradePriceRequestSchema: z.ZodObject<{
|
|
|
4713
4718
|
type FetchLastTradePriceRequest = z.input<typeof FetchLastTradePriceRequestSchema>;
|
|
4714
4719
|
type FetchLastTradePriceError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4715
4720
|
declare const FetchLastTradePriceError: {
|
|
4716
|
-
isError(error: unknown): error is
|
|
4721
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4717
4722
|
};
|
|
4718
4723
|
/**
|
|
4719
4724
|
* Fetches the last traded price for a token.
|
|
@@ -4742,7 +4747,7 @@ declare const FetchLastTradePricesRequestSchema: z.ZodArray<z.ZodObject<{
|
|
|
4742
4747
|
type FetchLastTradePricesRequest = z.input<typeof FetchLastTradePricesRequestSchema>;
|
|
4743
4748
|
type FetchLastTradePricesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4744
4749
|
declare const FetchLastTradePricesError: {
|
|
4745
|
-
isError(error: unknown): error is
|
|
4750
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4746
4751
|
};
|
|
4747
4752
|
/**
|
|
4748
4753
|
* Fetches last traded prices for multiple tokens.
|
|
@@ -4777,7 +4782,7 @@ declare const ListPriceHistoryRequestSchema: z.ZodObject<{
|
|
|
4777
4782
|
type FetchPriceHistoryRequest = z.input<typeof ListPriceHistoryRequestSchema>;
|
|
4778
4783
|
type FetchPriceHistoryError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4779
4784
|
declare const FetchPriceHistoryError: {
|
|
4780
|
-
isError(error: unknown): error is
|
|
4785
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4781
4786
|
};
|
|
4782
4787
|
/**
|
|
4783
4788
|
* Fetches historical price points for a token.
|
|
@@ -4809,7 +4814,7 @@ declare const ListCurrentRewardsRequestSchema: z.ZodDefault<z.ZodObject<{
|
|
|
4809
4814
|
type ListCurrentRewardsRequest = z.input<typeof ListCurrentRewardsRequestSchema>;
|
|
4810
4815
|
type ListCurrentRewardsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4811
4816
|
declare const ListCurrentRewardsError: {
|
|
4812
|
-
isError(error: unknown): error is
|
|
4817
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4813
4818
|
};
|
|
4814
4819
|
/**
|
|
4815
4820
|
* Lists current active market rewards.
|
|
@@ -4852,7 +4857,7 @@ declare const ListMarketRewardsRequestSchema: z.ZodObject<{
|
|
|
4852
4857
|
type ListMarketRewardsRequest = z.input<typeof ListMarketRewardsRequestSchema>;
|
|
4853
4858
|
type ListMarketRewardsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4854
4859
|
declare const ListMarketRewardsError: {
|
|
4855
|
-
isError(error: unknown): error is
|
|
4860
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4856
4861
|
};
|
|
4857
4862
|
/**
|
|
4858
4863
|
* Lists reward configurations for a market.
|
|
@@ -4920,7 +4925,7 @@ type FetchCommentsByIdRequest = z.input<typeof FetchCommentsByIdRequestSchema>;
|
|
|
4920
4925
|
type ListCommentsByUserAddressRequest = z.input<typeof ListCommentsByUserAddressRequestSchema>;
|
|
4921
4926
|
type ListCommentsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4922
4927
|
declare const ListCommentsError: {
|
|
4923
|
-
isError(error: unknown): error is
|
|
4928
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4924
4929
|
};
|
|
4925
4930
|
/**
|
|
4926
4931
|
* Lists comments for an event or series.
|
|
@@ -4965,7 +4970,7 @@ declare const ListCommentsError: {
|
|
|
4965
4970
|
declare function listComments(client: BaseClient, request: ListCommentsRequest): Paginated<Comment[]>;
|
|
4966
4971
|
type FetchCommentsByIdError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4967
4972
|
declare const FetchCommentsByIdError: {
|
|
4968
|
-
isError(error: unknown): error is
|
|
4973
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4969
4974
|
};
|
|
4970
4975
|
/**
|
|
4971
4976
|
* Fetches a comment thread by comment id.
|
|
@@ -4989,7 +4994,7 @@ declare const FetchCommentsByIdError: {
|
|
|
4989
4994
|
declare function fetchCommentsById(client: BaseClient, request: FetchCommentsByIdRequest): Promise<Comment[]>;
|
|
4990
4995
|
type ListCommentsByUserAddressError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4991
4996
|
declare const ListCommentsByUserAddressError: {
|
|
4992
|
-
isError(error: unknown): error is
|
|
4997
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
4993
4998
|
};
|
|
4994
4999
|
/**
|
|
4995
5000
|
* Lists comments written by a wallet address.
|
|
@@ -5113,7 +5118,7 @@ declare const FetchEventLiveVolumeRequestSchema: z.ZodObject<{
|
|
|
5113
5118
|
type FetchEventLiveVolumeRequest = z.input<typeof FetchEventLiveVolumeRequestSchema>;
|
|
5114
5119
|
type ListEventsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5115
5120
|
declare const ListEventsError: {
|
|
5116
|
-
isError(error: unknown): error is
|
|
5121
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5117
5122
|
};
|
|
5118
5123
|
/**
|
|
5119
5124
|
* Lists events.
|
|
@@ -5158,7 +5163,7 @@ declare const ListEventsError: {
|
|
|
5158
5163
|
declare function listEvents(client: BaseClient, request?: ListEventsRequest): Paginated<Event[]>;
|
|
5159
5164
|
type FetchEventError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5160
5165
|
declare const FetchEventError: {
|
|
5161
|
-
isError(error: unknown): error is
|
|
5166
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5162
5167
|
};
|
|
5163
5168
|
/**
|
|
5164
5169
|
* Fetches an event.
|
|
@@ -5189,7 +5194,7 @@ declare const FetchEventError: {
|
|
|
5189
5194
|
declare function fetchEvent(client: BaseClient, request: FetchEventRequest): Promise<Event>;
|
|
5190
5195
|
type FetchEventTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5191
5196
|
declare const FetchEventTagsError: {
|
|
5192
|
-
isError(error: unknown): error is
|
|
5197
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5193
5198
|
};
|
|
5194
5199
|
/**
|
|
5195
5200
|
* Fetches an event's tags.
|
|
@@ -5212,7 +5217,7 @@ declare const FetchEventTagsError: {
|
|
|
5212
5217
|
declare function fetchEventTags(client: BaseClient, request: FetchEventTagsRequest): Promise<TagReference[]>;
|
|
5213
5218
|
type FetchEventLiveVolumeError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5214
5219
|
declare const FetchEventLiveVolumeError: {
|
|
5215
|
-
isError(error: unknown): error is
|
|
5220
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5216
5221
|
};
|
|
5217
5222
|
/**
|
|
5218
5223
|
* Fetches live volume for an event.
|
|
@@ -5285,7 +5290,7 @@ type ListBuilderVolumeRequest = z.input<typeof ListBuilderVolumeRequestSchema>;
|
|
|
5285
5290
|
type ListTraderLeaderboardRequest = z.input<typeof ListTraderLeaderboardRequestSchema>;
|
|
5286
5291
|
type ListBuilderLeaderboardError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5287
5292
|
declare const ListBuilderLeaderboardError: {
|
|
5288
|
-
isError(error: unknown): error is
|
|
5293
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5289
5294
|
};
|
|
5290
5295
|
/**
|
|
5291
5296
|
* Lists builder leaderboard rankings.
|
|
@@ -5328,7 +5333,7 @@ declare const ListBuilderLeaderboardError: {
|
|
|
5328
5333
|
declare function listBuilderLeaderboard(client: BaseClient, request?: ListBuilderLeaderboardRequest): Paginated<LeaderboardEntry[]>;
|
|
5329
5334
|
type ListBuilderVolumeError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5330
5335
|
declare const ListBuilderVolumeError: {
|
|
5331
|
-
isError(error: unknown): error is
|
|
5336
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5332
5337
|
};
|
|
5333
5338
|
/**
|
|
5334
5339
|
* Lists daily builder volume entries.
|
|
@@ -5351,7 +5356,7 @@ declare const ListBuilderVolumeError: {
|
|
|
5351
5356
|
declare function fetchBuilderVolume(client: BaseClient, request?: ListBuilderVolumeRequest): Promise<BuilderVolumeEntry[]>;
|
|
5352
5357
|
type ListTraderLeaderboardError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5353
5358
|
declare const ListTraderLeaderboardError: {
|
|
5354
|
-
isError(error: unknown): error is
|
|
5359
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5355
5360
|
};
|
|
5356
5361
|
/**
|
|
5357
5362
|
* Lists trader leaderboard rankings.
|
|
@@ -5485,7 +5490,7 @@ type ListOpenInterestRequest = z.input<typeof ListOpenInterestRequestSchema>;
|
|
|
5485
5490
|
type ListMarketPositionsRequest = z.input<typeof ListMarketPositionsRequestSchema>;
|
|
5486
5491
|
type ListMarketsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5487
5492
|
declare const ListMarketsError: {
|
|
5488
|
-
isError(error: unknown): error is
|
|
5493
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5489
5494
|
};
|
|
5490
5495
|
/**
|
|
5491
5496
|
* Lists markets.
|
|
@@ -5537,7 +5542,7 @@ declare const ListComboMarketsRequestSchema: z.ZodObject<{
|
|
|
5537
5542
|
type ListComboMarketsRequest = z.input<typeof ListComboMarketsRequestSchema>;
|
|
5538
5543
|
type ListComboMarketsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5539
5544
|
declare const ListComboMarketsError: {
|
|
5540
|
-
isError(error: unknown): error is
|
|
5545
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5541
5546
|
};
|
|
5542
5547
|
/**
|
|
5543
5548
|
* Lists markets available for Combos.
|
|
@@ -5575,7 +5580,7 @@ declare const ListComboMarketsError: {
|
|
|
5575
5580
|
declare function listComboMarkets(client: BaseClient, request?: ListComboMarketsRequest): Paginated<ComboMarket[]>;
|
|
5576
5581
|
type FetchMarketError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5577
5582
|
declare const FetchMarketError: {
|
|
5578
|
-
isError(error: unknown): error is
|
|
5583
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5579
5584
|
};
|
|
5580
5585
|
/**
|
|
5581
5586
|
* Fetches a market.
|
|
@@ -5610,7 +5615,7 @@ declare const FetchMarketError: {
|
|
|
5610
5615
|
declare function fetchMarket(client: BaseClient, request: FetchMarketRequest): Promise<Market>;
|
|
5611
5616
|
type FetchMarketTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5612
5617
|
declare const FetchMarketTagsError: {
|
|
5613
|
-
isError(error: unknown): error is
|
|
5618
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5614
5619
|
};
|
|
5615
5620
|
/**
|
|
5616
5621
|
* Fetches a market's tags.
|
|
@@ -5633,7 +5638,7 @@ declare const FetchMarketTagsError: {
|
|
|
5633
5638
|
declare function fetchMarketTags(client: BaseClient, request: FetchMarketTagsRequest): Promise<TagReference[]>;
|
|
5634
5639
|
type ListMarketHoldersError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5635
5640
|
declare const ListMarketHoldersError: {
|
|
5636
|
-
isError(error: unknown): error is
|
|
5641
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5637
5642
|
};
|
|
5638
5643
|
/**
|
|
5639
5644
|
* Lists the top holders for one or more markets.
|
|
@@ -5657,7 +5662,7 @@ declare const ListMarketHoldersError: {
|
|
|
5657
5662
|
declare function listMarketHolders(client: BaseClient, request: ListMarketHoldersRequest): Promise<MetaHolder[]>;
|
|
5658
5663
|
type ListOpenInterestError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5659
5664
|
declare const ListOpenInterestError: {
|
|
5660
|
-
isError(error: unknown): error is
|
|
5665
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5661
5666
|
};
|
|
5662
5667
|
/**
|
|
5663
5668
|
* Lists open interest for one or more markets.
|
|
@@ -5680,7 +5685,7 @@ declare const ListOpenInterestError: {
|
|
|
5680
5685
|
declare function listOpenInterest(client: BaseClient, request?: ListOpenInterestRequest): Promise<OpenInterest[]>;
|
|
5681
5686
|
type ListMarketPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5682
5687
|
declare const ListMarketPositionsError: {
|
|
5683
|
-
isError(error: unknown): error is
|
|
5688
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
5684
5689
|
};
|
|
5685
5690
|
/**
|
|
5686
5691
|
* Lists positions for a market.
|
|
@@ -5910,61 +5915,74 @@ declare const ListPerpsPnlHistoryRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z
|
|
|
5910
5915
|
}>>]>;
|
|
5911
5916
|
type ListPerpsPnlHistoryRequest = z.input<typeof ListPerpsPnlHistoryRequestSchema>;
|
|
5912
5917
|
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
type
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5918
|
+
/**
|
|
5919
|
+
* Good-til-cancelled Perps order.
|
|
5920
|
+
*/
|
|
5921
|
+
type PerpsPlaceGtcOrderRequest = {
|
|
5922
|
+
/** Perps instrument identifier to trade. */
|
|
5923
|
+
instrumentId: number;
|
|
5924
|
+
/** Trade direction. */
|
|
5925
|
+
side: OrderSide;
|
|
5926
|
+
/** Limit price. */
|
|
5927
|
+
price: PerpsDecimalInput;
|
|
5928
|
+
/** Order quantity. */
|
|
5929
|
+
quantity: PerpsDecimalInput;
|
|
5930
|
+
/** Good-til-cancelled execution. */
|
|
5931
|
+
timeInForce: PerpsTimeInForce.GTC;
|
|
5932
|
+
/** Whether the order must rest instead of taking liquidity. */
|
|
5933
|
+
postOnly?: boolean;
|
|
5934
|
+
/** Optional caller-supplied idempotency identifier. */
|
|
5935
|
+
clientOrderId?: string;
|
|
5936
|
+
};
|
|
5937
|
+
/**
|
|
5938
|
+
* Immediate-or-cancel Perps order.
|
|
5939
|
+
*/
|
|
5940
|
+
type PerpsPlaceIocOrderRequest = {
|
|
5941
|
+
/** Perps instrument identifier to trade. */
|
|
5942
|
+
instrumentId: number;
|
|
5943
|
+
/** Trade direction. */
|
|
5944
|
+
side: OrderSide;
|
|
5945
|
+
/** Optional limit price. Omit for market-style execution. */
|
|
5946
|
+
price?: PerpsDecimalInput;
|
|
5947
|
+
/** Order quantity. */
|
|
5948
|
+
quantity: PerpsDecimalInput;
|
|
5949
|
+
/** Immediate-or-cancel execution. */
|
|
5950
|
+
timeInForce: PerpsTimeInForce.IOC;
|
|
5951
|
+
postOnly?: undefined;
|
|
5952
|
+
/** Optional caller-supplied idempotency identifier. */
|
|
5953
|
+
clientOrderId?: string;
|
|
5954
|
+
};
|
|
5955
|
+
/**
|
|
5956
|
+
* Fill-or-kill Perps order.
|
|
5957
|
+
*/
|
|
5958
|
+
type PerpsPlaceFokOrderRequest = {
|
|
5959
|
+
/** Perps instrument identifier to trade. */
|
|
5960
|
+
instrumentId: number;
|
|
5961
|
+
/** Trade direction. */
|
|
5962
|
+
side: OrderSide;
|
|
5963
|
+
/** Optional limit price. Omit for market-style execution. */
|
|
5964
|
+
price?: PerpsDecimalInput;
|
|
5965
|
+
/** Order quantity. */
|
|
5966
|
+
quantity: PerpsDecimalInput;
|
|
5967
|
+
/** Fill-or-kill execution. */
|
|
5968
|
+
timeInForce: PerpsTimeInForce.FOK;
|
|
5969
|
+
postOnly?: undefined;
|
|
5970
|
+
/** Optional caller-supplied idempotency identifier. */
|
|
5971
|
+
clientOrderId?: string;
|
|
5972
|
+
};
|
|
5973
|
+
/**
|
|
5974
|
+
* Request parameters for placing one Perps order.
|
|
5975
|
+
*/
|
|
5976
|
+
type PlacePerpsOrderRequest = PerpsPlaceGtcOrderRequest | PerpsPlaceIocOrderRequest | PerpsPlaceFokOrderRequest;
|
|
5977
|
+
/** Request parameters for posting one or more Perps orders. */
|
|
5978
|
+
type PostPerpsOrdersRequest = {
|
|
5979
|
+
/** Orders to post as one command. */
|
|
5980
|
+
orders: PlacePerpsOrderRequest[];
|
|
5981
|
+
/** Optional command expiration timestamp in milliseconds. */
|
|
5982
|
+
expiresAt?: number;
|
|
5983
|
+
};
|
|
5966
5984
|
declare const CancelPerpsOrderRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
5967
|
-
orderId: z.ZodPipe<z.ZodNumber, z.ZodTransform<PerpsOrderId, number>>;
|
|
5985
|
+
orderId: z.ZodPipe<z.ZodNumber, z.ZodTransform<_polymarket_bindings_perps.PerpsOrderId, number>>;
|
|
5968
5986
|
clientOrderId: z.ZodOptional<z.ZodUndefined>;
|
|
5969
5987
|
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
5970
5988
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -5974,7 +5992,7 @@ declare const CancelPerpsOrderRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
5974
5992
|
}, z.core.$strip>]>;
|
|
5975
5993
|
type CancelPerpsOrderRequest = z.input<typeof CancelPerpsOrderRequestSchema>;
|
|
5976
5994
|
declare const CancelPerpsOrdersRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
5977
|
-
orderIds: z.ZodArray<z.ZodPipe<z.ZodNumber, z.ZodTransform<PerpsOrderId, number>>>;
|
|
5995
|
+
orderIds: z.ZodArray<z.ZodPipe<z.ZodNumber, z.ZodTransform<_polymarket_bindings_perps.PerpsOrderId, number>>>;
|
|
5978
5996
|
clientOrderIds: z.ZodOptional<z.ZodUndefined>;
|
|
5979
5997
|
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
5980
5998
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -5989,11 +6007,19 @@ declare const UpdatePerpsLeverageRequestSchema: z.ZodObject<{
|
|
|
5989
6007
|
crossMargin: z.ZodBoolean;
|
|
5990
6008
|
}, z.core.$strip>;
|
|
5991
6009
|
type UpdatePerpsLeverageRequest = z.input<typeof UpdatePerpsLeverageRequestSchema>;
|
|
6010
|
+
type UpdatePerpsLeverageError = RequestRejectedError | SigningError | TransportError | UserInputError;
|
|
6011
|
+
declare const UpdatePerpsLeverageError: {
|
|
6012
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | RequestRejectedError;
|
|
6013
|
+
};
|
|
5992
6014
|
declare const UpdatePerpsMarginRequestSchema: z.ZodObject<{
|
|
5993
6015
|
instrumentId: z.ZodPipe<z.ZodNumber, z.ZodTransform<PerpsInstrumentId, number>>;
|
|
5994
6016
|
amount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<_polymarket_bindings.DecimalString, number>>]>;
|
|
5995
6017
|
}, z.core.$strip>;
|
|
5996
6018
|
type UpdatePerpsMarginRequest = z.input<typeof UpdatePerpsMarginRequestSchema>;
|
|
6019
|
+
type UpdatePerpsMarginError = RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6020
|
+
declare const UpdatePerpsMarginError: {
|
|
6021
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError;
|
|
6022
|
+
};
|
|
5997
6023
|
|
|
5998
6024
|
type PerpsSessionOptions = {
|
|
5999
6025
|
chainId: number;
|
|
@@ -6022,19 +6048,40 @@ declare class PerpsSession implements AsyncIterable<PerpsSessionEvent> {
|
|
|
6022
6048
|
listWithdrawals(request?: ListPerpsWithdrawalsRequest): Paginated<PerpsWithdrawal[]>;
|
|
6023
6049
|
listEquityHistory(request: ListPerpsEquityHistoryRequest): Paginated<PerpsEquityPoint[]>;
|
|
6024
6050
|
listPnlHistory(request: ListPerpsPnlHistoryRequest): Paginated<PerpsPnlPoint[]>;
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6051
|
+
/**
|
|
6052
|
+
* Places one Perps order and resolves with the first matching orders update.
|
|
6053
|
+
*
|
|
6054
|
+
* @throws Thrown on failure.
|
|
6055
|
+
*/
|
|
6056
|
+
placeOrder(request: PlacePerpsOrderRequest): Promise<PerpsOrder>;
|
|
6057
|
+
/**
|
|
6058
|
+
* Posts one or more Perps orders and returns queue-entry acknowledgements.
|
|
6059
|
+
*
|
|
6060
|
+
* @remarks
|
|
6061
|
+
* This is a low-level method. Most SDK consumers should prefer `placeOrder`.
|
|
6062
|
+
*/
|
|
6063
|
+
postOrders(request: PostPerpsOrdersRequest): Promise<PerpsPostOrderAck[]>;
|
|
6064
|
+
/**
|
|
6065
|
+
* Cancels one Perps order and returns the cancel result.
|
|
6066
|
+
*
|
|
6067
|
+
* @remarks
|
|
6068
|
+
* The returned status reflects whether the cancel happened.
|
|
6069
|
+
*/
|
|
6070
|
+
cancelOrder(request: CancelPerpsOrderRequest): Promise<PerpsCancelOrderResult>;
|
|
6071
|
+
/**
|
|
6072
|
+
* Cancels one or more Perps orders and returns one result per requested order.
|
|
6073
|
+
*
|
|
6074
|
+
* @remarks
|
|
6075
|
+
* Each returned status reflects whether that cancel happened.
|
|
6076
|
+
*/
|
|
6077
|
+
cancelOrders(request: CancelPerpsOrdersRequest): Promise<PerpsCancelOrderResult[]>;
|
|
6078
|
+
updateLeverage(request: UpdatePerpsLeverageRequest): Promise<void>;
|
|
6079
|
+
updateMargin(request: UpdatePerpsMarginRequest): Promise<void>;
|
|
6033
6080
|
}
|
|
6034
6081
|
|
|
6035
6082
|
type PerpsPublicReadError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6036
6083
|
declare const PerpsPublicReadError: {
|
|
6037
|
-
isError(error: unknown): error is
|
|
6084
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6038
6085
|
};
|
|
6039
6086
|
type PerpsCandlesParams = {
|
|
6040
6087
|
instrumentId: z.output<typeof PerpsInstrumentIdSchema>;
|
|
@@ -6055,7 +6102,7 @@ declare const FetchPerpsInstrumentsRequestSchema: z.ZodDefault<z.ZodObject<{
|
|
|
6055
6102
|
type FetchPerpsInstrumentsRequest = z.input<typeof FetchPerpsInstrumentsRequestSchema>;
|
|
6056
6103
|
type FetchPerpsInstrumentsError = PerpsPublicReadError;
|
|
6057
6104
|
declare const FetchPerpsInstrumentsError: {
|
|
6058
|
-
isError(error: unknown): error is
|
|
6105
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6059
6106
|
};
|
|
6060
6107
|
/**
|
|
6061
6108
|
* Fetches Perps instruments.
|
|
@@ -6073,7 +6120,7 @@ declare const FetchPerpsTickerRequestSchema: z.ZodObject<{
|
|
|
6073
6120
|
type FetchPerpsTickerRequest = z.input<typeof FetchPerpsTickerRequestSchema>;
|
|
6074
6121
|
type FetchPerpsTickerError = PerpsPublicReadError;
|
|
6075
6122
|
declare const FetchPerpsTickerError: {
|
|
6076
|
-
isError(error: unknown): error is
|
|
6123
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6077
6124
|
};
|
|
6078
6125
|
/**
|
|
6079
6126
|
* Fetches the current Perps ticker for an instrument.
|
|
@@ -6091,7 +6138,7 @@ declare const FetchPerpsTickersRequestSchema: z.ZodDefault<z.ZodObject<{
|
|
|
6091
6138
|
type FetchPerpsTickersRequest = z.input<typeof FetchPerpsTickersRequestSchema>;
|
|
6092
6139
|
type FetchPerpsTickersError = PerpsPublicReadError;
|
|
6093
6140
|
declare const FetchPerpsTickersError: {
|
|
6094
|
-
isError(error: unknown): error is
|
|
6141
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6095
6142
|
};
|
|
6096
6143
|
/**
|
|
6097
6144
|
* Fetches current Perps tickers.
|
|
@@ -6103,14 +6150,15 @@ declare const FetchPerpsTickersError: {
|
|
|
6103
6150
|
* Thrown on failure.
|
|
6104
6151
|
*/
|
|
6105
6152
|
declare function fetchPerpsTickers(client: BaseClient, request?: FetchPerpsTickersRequest): Promise<PerpsTicker[]>;
|
|
6153
|
+
type PerpsBookDepth = 10 | 100 | 500 | 1000;
|
|
6106
6154
|
declare const FetchPerpsBookRequestSchema: z.ZodObject<{
|
|
6107
6155
|
instrumentId: z.ZodPipe<z.ZodNumber, z.ZodTransform<_polymarket_bindings_perps.PerpsInstrumentId, number>>;
|
|
6108
|
-
depth: z.
|
|
6156
|
+
depth: z.ZodDefault<z.ZodType<PerpsBookDepth, unknown, z.core.$ZodTypeInternals<PerpsBookDepth, unknown>>>;
|
|
6109
6157
|
}, z.core.$strip>;
|
|
6110
6158
|
type FetchPerpsBookRequest = z.input<typeof FetchPerpsBookRequestSchema>;
|
|
6111
6159
|
type FetchPerpsBookError = PerpsPublicReadError;
|
|
6112
6160
|
declare const FetchPerpsBookError: {
|
|
6113
|
-
isError(error: unknown): error is
|
|
6161
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6114
6162
|
};
|
|
6115
6163
|
/**
|
|
6116
6164
|
* Fetches a Perps order book.
|
|
@@ -6148,7 +6196,7 @@ declare const ListPerpsCandlesRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
|
|
|
6148
6196
|
type ListPerpsCandlesRequest = z.input<typeof ListPerpsCandlesRequestSchema>;
|
|
6149
6197
|
type ListPerpsCandlesError = PerpsPublicReadError;
|
|
6150
6198
|
declare const ListPerpsCandlesError: {
|
|
6151
|
-
isError(error: unknown): error is
|
|
6199
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6152
6200
|
};
|
|
6153
6201
|
/**
|
|
6154
6202
|
* Lists Perps candles for an instrument with SDK-owned pagination.
|
|
@@ -6184,7 +6232,7 @@ declare const ListPerpsFundingHistoryRequestSchema: z.ZodUnion<readonly [z.ZodPi
|
|
|
6184
6232
|
type ListPerpsFundingHistoryRequest = z.input<typeof ListPerpsFundingHistoryRequestSchema>;
|
|
6185
6233
|
type ListPerpsFundingHistoryError = PerpsPublicReadError;
|
|
6186
6234
|
declare const ListPerpsFundingHistoryError: {
|
|
6187
|
-
isError(error: unknown): error is
|
|
6235
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6188
6236
|
};
|
|
6189
6237
|
/**
|
|
6190
6238
|
* Lists Perps funding-rate history for an instrument with SDK-owned pagination.
|
|
@@ -6220,7 +6268,7 @@ declare const ListPerpsTradesRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zod
|
|
|
6220
6268
|
type ListPerpsTradesRequest = z.input<typeof ListPerpsTradesRequestSchema>;
|
|
6221
6269
|
type ListPerpsTradesError = PerpsPublicReadError;
|
|
6222
6270
|
declare const ListPerpsTradesError: {
|
|
6223
|
-
isError(error: unknown): error is
|
|
6271
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6224
6272
|
};
|
|
6225
6273
|
/**
|
|
6226
6274
|
* Lists recent Perps trades for an instrument with SDK-owned pagination.
|
|
@@ -6234,7 +6282,7 @@ declare const ListPerpsTradesError: {
|
|
|
6234
6282
|
declare function listPerpsTrades(client: BaseClient, request: ListPerpsTradesRequest): Paginated<PerpsPublicTrade[]>;
|
|
6235
6283
|
type FetchPerpsFeesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError;
|
|
6236
6284
|
declare const FetchPerpsFeesError: {
|
|
6237
|
-
isError(error: unknown): error is
|
|
6285
|
+
isError(error: unknown): error is TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6238
6286
|
};
|
|
6239
6287
|
/**
|
|
6240
6288
|
* Fetches the Perps fee schedule.
|
|
@@ -6247,9 +6295,9 @@ declare const FetchPerpsFeesError: {
|
|
|
6247
6295
|
*/
|
|
6248
6296
|
declare function fetchPerpsFees(client: BaseClient): Promise<PerpsFeeScheduleEntry[]>;
|
|
6249
6297
|
declare const CreatePerpsSessionRequestSchema: z.ZodObject<{
|
|
6250
|
-
expiresIn: z.ZodNumber
|
|
6298
|
+
expiresIn: z.ZodDefault<z.ZodNumber>;
|
|
6251
6299
|
label: z.ZodOptional<z.ZodString>;
|
|
6252
|
-
}, z.core.$
|
|
6300
|
+
}, z.core.$strict>;
|
|
6253
6301
|
declare const ResumePerpsSessionRequestSchema: z.ZodObject<{
|
|
6254
6302
|
credentials: z.ZodObject<{
|
|
6255
6303
|
proxy: z.ZodPipe<z.ZodString, z.ZodTransform<EvmAddress, string>>;
|
|
@@ -6257,7 +6305,7 @@ declare const ResumePerpsSessionRequestSchema: z.ZodObject<{
|
|
|
6257
6305
|
secret: z.ZodString;
|
|
6258
6306
|
expiresAt: z.ZodNumber;
|
|
6259
6307
|
}, z.core.$strip>;
|
|
6260
|
-
}, z.core.$
|
|
6308
|
+
}, z.core.$strict>;
|
|
6261
6309
|
declare const RevokePerpsCredentialsRequestSchema: z.ZodObject<{
|
|
6262
6310
|
proxy: z.ZodPipe<z.ZodString, z.ZodTransform<EvmAddress, string>>;
|
|
6263
6311
|
}, z.core.$strip>;
|
|
@@ -6278,11 +6326,11 @@ type DepositToPerpsRequest = z.input<typeof DepositToPerpsRequestSchema>;
|
|
|
6278
6326
|
type WithdrawFromPerpsRequest = z.input<typeof WithdrawFromPerpsRequestSchema>;
|
|
6279
6327
|
type OpenPerpsSessionError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6280
6328
|
declare const OpenPerpsSessionError: {
|
|
6281
|
-
isError(error: unknown): error is
|
|
6329
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6282
6330
|
};
|
|
6283
6331
|
type RevokePerpsCredentialsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6284
6332
|
declare const RevokePerpsCredentialsError: {
|
|
6285
|
-
isError(error: unknown): error is
|
|
6333
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6286
6334
|
};
|
|
6287
6335
|
type PreparePerpsDepositError = UserInputError;
|
|
6288
6336
|
declare const PreparePerpsDepositError: {
|
|
@@ -6290,23 +6338,25 @@ declare const PreparePerpsDepositError: {
|
|
|
6290
6338
|
};
|
|
6291
6339
|
type DepositToPerpsError = RateLimitError | RequestRejectedError | CancelledSigningError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6292
6340
|
declare const DepositToPerpsError: {
|
|
6293
|
-
isError(error: unknown): error is
|
|
6341
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6294
6342
|
};
|
|
6295
6343
|
type WithdrawFromPerpsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6296
6344
|
declare const WithdrawFromPerpsError: {
|
|
6297
|
-
isError(error: unknown): error is
|
|
6345
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6298
6346
|
};
|
|
6299
6347
|
/**
|
|
6300
6348
|
* Opens a Perps account session.
|
|
6301
6349
|
*
|
|
6302
6350
|
* @remarks
|
|
6303
|
-
*
|
|
6304
|
-
*
|
|
6351
|
+
* Omit `expiresIn` to create new delegated Perps credentials that expire after
|
|
6352
|
+
* one week. Pass `expiresIn` as a duration in milliseconds to use a shorter or
|
|
6353
|
+
* longer credential lifetime, or pass existing credentials to validate and
|
|
6354
|
+
* resume a previous session.
|
|
6305
6355
|
*
|
|
6306
6356
|
* @throws {@link OpenPerpsSessionError}
|
|
6307
6357
|
* Thrown on failure.
|
|
6308
6358
|
*/
|
|
6309
|
-
declare function openPerpsSession(client: BaseSecureClient, request
|
|
6359
|
+
declare function openPerpsSession(client: BaseSecureClient, request?: OpenPerpsSessionRequest): Promise<PerpsSession>;
|
|
6310
6360
|
/**
|
|
6311
6361
|
* Revokes delegated Perps credentials by proxy address.
|
|
6312
6362
|
*
|
|
@@ -6386,39 +6436,39 @@ type MergePositionsWorkflow = AsyncGenerator<MergePositionsWorkflowRequest, Tran
|
|
|
6386
6436
|
type RedeemPositionsWorkflow = AsyncGenerator<RedeemPositionsWorkflowRequest, TransactionHandle, EvmAddress | EvmSignature | TransactionHandle>;
|
|
6387
6437
|
type PrepareSplitPositionError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6388
6438
|
declare const PrepareSplitPositionError: {
|
|
6389
|
-
isError(error: unknown): error is
|
|
6439
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6390
6440
|
};
|
|
6391
6441
|
type PrepareSplitMarketPositionError = PrepareSplitPositionError;
|
|
6392
6442
|
declare const PrepareSplitMarketPositionError: {
|
|
6393
|
-
isError(error: unknown): error is
|
|
6443
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6394
6444
|
};
|
|
6395
6445
|
type PrepareSplitComboPositionError = PrepareSplitPositionError;
|
|
6396
6446
|
declare const PrepareSplitComboPositionError: {
|
|
6397
|
-
isError(error: unknown): error is
|
|
6447
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6398
6448
|
};
|
|
6399
6449
|
type PrepareMergePositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6400
6450
|
declare const PrepareMergePositionsError: {
|
|
6401
|
-
isError(error: unknown): error is
|
|
6451
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6402
6452
|
};
|
|
6403
6453
|
type PrepareMergeMarketPositionError = PrepareMergePositionsError;
|
|
6404
6454
|
declare const PrepareMergeMarketPositionError: {
|
|
6405
|
-
isError(error: unknown): error is
|
|
6455
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6406
6456
|
};
|
|
6407
6457
|
type PrepareMergeComboPositionError = PrepareMergePositionsError;
|
|
6408
6458
|
declare const PrepareMergeComboPositionError: {
|
|
6409
|
-
isError(error: unknown): error is
|
|
6459
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6410
6460
|
};
|
|
6411
6461
|
type PrepareRedeemPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6412
6462
|
declare const PrepareRedeemPositionsError: {
|
|
6413
|
-
isError(error: unknown): error is
|
|
6463
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6414
6464
|
};
|
|
6415
6465
|
type PrepareRedeemMarketPositionsError = PrepareRedeemPositionsError;
|
|
6416
6466
|
declare const PrepareRedeemMarketPositionsError: {
|
|
6417
|
-
isError(error: unknown): error is
|
|
6467
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6418
6468
|
};
|
|
6419
6469
|
type PrepareRedeemComboPositionError = PrepareRedeemPositionsError;
|
|
6420
6470
|
declare const PrepareRedeemComboPositionError: {
|
|
6421
|
-
isError(error: unknown): error is
|
|
6471
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6422
6472
|
};
|
|
6423
6473
|
/**
|
|
6424
6474
|
* Starts a split workflow for a market condition.
|
|
@@ -6466,15 +6516,15 @@ declare function prepareSplitComboPosition(client: BaseSecureClient, request: Pr
|
|
|
6466
6516
|
declare function prepareSplitPosition(client: BaseSecureClient, request: PrepareSplitPositionRequest): Promise<SplitPositionWorkflow>;
|
|
6467
6517
|
type SplitPositionError = CancelledSigningError | RateLimitError | RequestRejectedError | SigningError | TimeoutError | TransactionFailedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6468
6518
|
declare const SplitPositionError: {
|
|
6469
|
-
isError(error: unknown): error is
|
|
6519
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
6470
6520
|
};
|
|
6471
6521
|
type SplitMarketPositionError = SplitPositionError;
|
|
6472
6522
|
declare const SplitMarketPositionError: {
|
|
6473
|
-
isError(error: unknown): error is
|
|
6523
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
6474
6524
|
};
|
|
6475
6525
|
type SplitComboPositionError = SplitPositionError;
|
|
6476
6526
|
declare const SplitComboPositionError: {
|
|
6477
|
-
isError(error: unknown): error is
|
|
6527
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
6478
6528
|
};
|
|
6479
6529
|
/**
|
|
6480
6530
|
* Splits collateral into market positions.
|
|
@@ -6578,15 +6628,15 @@ declare function prepareMergeComboPosition(client: BaseSecureClient, request: Pr
|
|
|
6578
6628
|
declare function prepareMergePositions(client: BaseSecureClient, request: PrepareMergePositionsRequest): Promise<MergePositionsWorkflow>;
|
|
6579
6629
|
type MergePositionsError = CancelledSigningError | RateLimitError | RequestRejectedError | SigningError | TimeoutError | TransactionFailedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6580
6630
|
declare const MergePositionsError: {
|
|
6581
|
-
isError(error: unknown): error is
|
|
6631
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
6582
6632
|
};
|
|
6583
6633
|
type MergeMarketPositionError = MergePositionsError;
|
|
6584
6634
|
declare const MergeMarketPositionError: {
|
|
6585
|
-
isError(error: unknown): error is
|
|
6635
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
6586
6636
|
};
|
|
6587
6637
|
type MergeComboPositionError = MergePositionsError;
|
|
6588
6638
|
declare const MergeComboPositionError: {
|
|
6589
|
-
isError(error: unknown): error is
|
|
6639
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
6590
6640
|
};
|
|
6591
6641
|
/**
|
|
6592
6642
|
* Merges complementary market positions back into collateral.
|
|
@@ -6712,7 +6762,7 @@ declare function prepareRedeemComboPosition(client: BaseSecureClient, request: P
|
|
|
6712
6762
|
declare function prepareRedeemPositions(client: BaseSecureClient, request: PrepareRedeemPositionsRequest): Promise<RedeemPositionsWorkflow>;
|
|
6713
6763
|
type RedeemPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
|
|
6714
6764
|
declare const RedeemPositionsError: {
|
|
6715
|
-
isError(error: unknown): error is
|
|
6765
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6716
6766
|
};
|
|
6717
6767
|
/**
|
|
6718
6768
|
* Redeems resolved market or combo positions.
|
|
@@ -6731,7 +6781,7 @@ declare const FetchPublicProfileRequestSchema: z.ZodObject<{
|
|
|
6731
6781
|
type FetchPublicProfileRequest = z.input<typeof FetchPublicProfileRequestSchema>;
|
|
6732
6782
|
type FetchPublicProfileError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6733
6783
|
declare const FetchPublicProfileError: {
|
|
6734
|
-
isError(error: unknown): error is
|
|
6784
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6735
6785
|
};
|
|
6736
6786
|
/**
|
|
6737
6787
|
* Fetches a public profile by wallet address.
|
|
@@ -6753,6 +6803,15 @@ declare const FetchPublicProfileError: {
|
|
|
6753
6803
|
*/
|
|
6754
6804
|
declare function fetchPublicProfile(client: BaseClient, request: FetchPublicProfileRequest): Promise<PublicProfile | null>;
|
|
6755
6805
|
|
|
6806
|
+
declare enum SearchSort {
|
|
6807
|
+
Volume = "volume",
|
|
6808
|
+
Volume24Hr = "volume_24hr",
|
|
6809
|
+
Liquidity = "liquidity",
|
|
6810
|
+
Competitive = "competitive",
|
|
6811
|
+
ClosedTime = "closed_time",
|
|
6812
|
+
StartDate = "start_date",
|
|
6813
|
+
EndDate = "end_date"
|
|
6814
|
+
}
|
|
6756
6815
|
declare const SearchRequestSchema: z.ZodObject<{
|
|
6757
6816
|
q: z.ZodString;
|
|
6758
6817
|
ascending: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6772,7 +6831,7 @@ declare const SearchRequestSchema: z.ZodObject<{
|
|
|
6772
6831
|
}>>;
|
|
6773
6832
|
searchProfiles: z.ZodOptional<z.ZodBoolean>;
|
|
6774
6833
|
searchTags: z.ZodOptional<z.ZodBoolean>;
|
|
6775
|
-
sort: z.ZodOptional<z.
|
|
6834
|
+
sort: z.ZodOptional<z.ZodEnum<typeof SearchSort>>;
|
|
6776
6835
|
}, z.core.$strip>;
|
|
6777
6836
|
type SearchRequest = z.input<typeof SearchRequestSchema>;
|
|
6778
6837
|
type SearchResults = {
|
|
@@ -6782,13 +6841,15 @@ type SearchResults = {
|
|
|
6782
6841
|
};
|
|
6783
6842
|
type SearchError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6784
6843
|
declare const SearchError: {
|
|
6785
|
-
isError(error: unknown): error is
|
|
6844
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6786
6845
|
};
|
|
6787
6846
|
/**
|
|
6788
6847
|
* Runs a public full-text search.
|
|
6789
6848
|
*
|
|
6790
6849
|
* @remarks
|
|
6791
6850
|
* This is a low-level function. Most SDK consumers should prefer the client instance API.
|
|
6851
|
+
* `keepClosedMarkets` is an hour window for including recently closed markets
|
|
6852
|
+
* when searching active events.
|
|
6792
6853
|
*
|
|
6793
6854
|
* @throws {@link SearchError}
|
|
6794
6855
|
* Thrown on failure.
|
|
@@ -6836,7 +6897,7 @@ type ListSeriesRequest = z.input<typeof ListSeriesRequestSchema>;
|
|
|
6836
6897
|
type FetchSeriesRequest = z.input<typeof FetchSeriesRequestSchema>;
|
|
6837
6898
|
type ListSeriesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6838
6899
|
declare const ListSeriesError: {
|
|
6839
|
-
isError(error: unknown): error is
|
|
6900
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6840
6901
|
};
|
|
6841
6902
|
/**
|
|
6842
6903
|
* Lists series.
|
|
@@ -6879,7 +6940,7 @@ declare const ListSeriesError: {
|
|
|
6879
6940
|
declare function listSeries(client: BaseClient, request?: ListSeriesRequest): Paginated<Series[]>;
|
|
6880
6941
|
type FetchSeriesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6881
6942
|
declare const FetchSeriesError: {
|
|
6882
|
-
isError(error: unknown): error is
|
|
6943
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
6883
6944
|
};
|
|
6884
6945
|
/**
|
|
6885
6946
|
* Fetches a series.
|
|
@@ -7081,7 +7142,7 @@ type FetchRelatedTagsRequest = z.input<typeof RelatedTagsByIdRequestSchema> | z.
|
|
|
7081
7142
|
type FetchRelatedTagResourcesRequest = z.input<typeof RelatedTagResourcesByIdRequestSchema> | z.input<typeof RelatedTagResourcesBySlugRequestSchema>;
|
|
7082
7143
|
type ListTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7083
7144
|
declare const ListTagsError: {
|
|
7084
|
-
isError(error: unknown): error is
|
|
7145
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7085
7146
|
};
|
|
7086
7147
|
/**
|
|
7087
7148
|
* Lists tags.
|
|
@@ -7124,7 +7185,7 @@ declare const ListTagsError: {
|
|
|
7124
7185
|
declare function listTags(client: BaseClient, request?: ListTagsRequest): Paginated<Tag[]>;
|
|
7125
7186
|
type FetchTagError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7126
7187
|
declare const FetchTagError: {
|
|
7127
|
-
isError(error: unknown): error is
|
|
7188
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7128
7189
|
};
|
|
7129
7190
|
/**
|
|
7130
7191
|
* Fetches a tag by id or slug.
|
|
@@ -7148,7 +7209,7 @@ declare const FetchTagError: {
|
|
|
7148
7209
|
declare function fetchTag(client: BaseClient, request: FetchTagRequest): Promise<Tag>;
|
|
7149
7210
|
type FetchRelatedTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7150
7211
|
declare const FetchRelatedTagsError: {
|
|
7151
|
-
isError(error: unknown): error is
|
|
7212
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7152
7213
|
};
|
|
7153
7214
|
/**
|
|
7154
7215
|
* Fetches related tag relationships by id or slug.
|
|
@@ -7173,7 +7234,7 @@ declare const FetchRelatedTagsError: {
|
|
|
7173
7234
|
declare function fetchRelatedTags(client: BaseClient, request: FetchRelatedTagsRequest): Promise<RelatedTag[]>;
|
|
7174
7235
|
type FetchRelatedTagResourcesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7175
7236
|
declare const FetchRelatedTagResourcesError: {
|
|
7176
|
-
isError(error: unknown): error is
|
|
7237
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7177
7238
|
};
|
|
7178
7239
|
/**
|
|
7179
7240
|
* Fetches resources linked from related tag relationships by id or slug.
|
|
@@ -7210,7 +7271,7 @@ declare const ListTeamsRequestSchema: z.ZodObject<{
|
|
|
7210
7271
|
type ListTeamsRequest = z.input<typeof ListTeamsRequestSchema>;
|
|
7211
7272
|
type ListTeamsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7212
7273
|
declare const ListTeamsError: {
|
|
7213
|
-
isError(error: unknown): error is
|
|
7274
|
+
isError(error: unknown): error is TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7214
7275
|
};
|
|
7215
7276
|
/**
|
|
7216
7277
|
* Lists teams.
|
|
@@ -7286,7 +7347,7 @@ declare const PrepareErc20TransferError: {
|
|
|
7286
7347
|
declare function prepareErc20Transfer(client: BaseSecureClient, request: PrepareErc20TransferRequest): Promise<Erc20TransferWorkflow>;
|
|
7287
7348
|
type TransferErc20Error = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
|
|
7288
7349
|
declare const TransferErc20Error: {
|
|
7289
|
-
isError(error: unknown): error is
|
|
7350
|
+
isError(error: unknown): error is SigningError | CancelledSigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
|
|
7290
7351
|
};
|
|
7291
7352
|
/**
|
|
7292
7353
|
* Transfers ERC-20 tokens from the authenticated account.
|
|
@@ -7343,7 +7404,7 @@ type TransactionOutcome = {
|
|
|
7343
7404
|
};
|
|
7344
7405
|
type WaitForTransactionError = WaitForGaslessTransactionError;
|
|
7345
7406
|
declare const WaitForTransactionError: {
|
|
7346
|
-
isError(error: unknown): error is
|
|
7407
|
+
isError(error: unknown): error is TransportError | TransactionFailedError | UserInputError | UnexpectedResponseError | RequestRejectedError | RateLimitError | TimeoutError;
|
|
7347
7408
|
};
|
|
7348
7409
|
interface TransactionHandle {
|
|
7349
7410
|
/**
|
|
@@ -7370,4 +7431,4 @@ type Signer = {
|
|
|
7370
7431
|
sendTransaction(request: SignerTransactionRequest): Promise<TransactionHandle>;
|
|
7371
7432
|
};
|
|
7372
7433
|
|
|
7373
|
-
export { FetchPublicProfileError as $, type ApiKeyAuthorization as A, type BaseClient as B, CancelAllError as C, type DataActions as D, type EnvironmentConfig as E, FetchClosedOnlyModeError as F, FetchEventLiveVolumeError as G, FetchEventTagsError as H, FetchLastTradePriceError as I, FetchLastTradePricesError as J, FetchMarketError as K, FetchMarketTagsError as L, FetchMidpointError as M, FetchMidpointsError as N, FetchNotificationsError as O, FetchOrderBookError as P, FetchOrderBooksError as Q, FetchOrderError as R, type Signer as S, type TypedDataPayload as T, UserInputError as U, FetchOrderScoringError as V, FetchOrdersScoringError as W, FetchPortfolioValueError as X, FetchPriceError as Y, FetchPriceHistoryError as Z, FetchPricesError as _, type TypedData as a, RfqConfirmationError as a$, FetchRelatedTagResourcesError as a0, FetchRelatedTagsError as a1, FetchRewardPercentagesError as a2, FetchSeriesError as a3, FetchSpreadError as a4, FetchSpreadsError as a5, FetchTagError as a6, FetchTotalEarningsForUserForDayError as a7, FetchTradedMarketCountError as a8, InsufficientLiquidityError as a9, MergePositionsError as aA, OpenRfqSessionError as aB, type Page as aC, PageSizeSchema as aD, type Paginated as aE, type PerpsActions as aF, type PerpsEndpoints as aG, PerpsSession as aH, PostOrderError as aI, PostOrdersError as aJ, type PublicAccountActions as aK, type PublicActions as aL, type PublicClient as aM, type PublicClientOptions as aN, type PublicPerpsActions as aO, type PublicRewardsActions as aP, type PublicSubscriptionsActions as aQ, RateLimitError as aR, RedeemPositionsError as aS, RequestRejectedError as aT, type RequestRejectedErrorOptions as aU, type RestEndpoint as aV, type RfqCancelQuoteAck as aW, RfqCancelQuoteError as aX, RfqCancelQuoteRejectedError as aY, type RfqCancelQuoteRejectedErrorOptions as aZ, type RfqConfirmationAck as a_, ListAccountTradesError as aa, ListActivityError as ab, ListBuilderLeaderboardError as ac, ListBuilderTradesError as ad, ListBuilderVolumeError as ae, ListClosedPositionsError as af, ListComboMarketsError as ag, ListComboPositionsError as ah, ListCommentsByUserAddressError as ai, ListCommentsError as aj, ListCurrentRewardsError as ak, ListEventsError as al, ListMarketHoldersError as am, ListMarketPositionsError as an, ListMarketRewardsError as ao, ListMarketsError as ap, ListOpenInterestError as aq, ListOpenOrdersError as ar, ListPositionsError as as, ListSeriesError as at, ListTagsError as au, ListTeamsError as av, ListTraderLeaderboardError as aw, ListTradesError as ax, ListUserEarningsAndMarketsConfigError as ay, ListUserEarningsForDayError as az, type TransactionCall as b, walletActions as b$, RfqConfirmationRejectedError as b0, type RfqConfirmationRequestEvent as b1, type RfqEndpoints as b2, type RfqEvent as b3, RfqQuoteError as b4, type RfqQuoteReference as b5, RfqQuoteRejectedError as b6, type RfqQuoteRejectedErrorOptions as b7, type RfqQuoteRequestEvent as b8, type RfqQuoteResponse as b9, TimeoutError as bA, TransactionFailedError as bB, type TransactionHandle as bC, type TransactionOutcome as bD, TransferErc20Error as bE, TransportError as bF, type TypedDataDomain as bG, type TypedDataField as bH, UnexpectedResponseError as bI, WaitForTransactionError as bJ, type WalletDerivationConfig as bK, type WebSocketEndpoint as bL, accountActions as bM, allActions as bN, analyticsActions as bO, createPublicClient as bP, createSecureClient as bQ, dataActions as bR, discoveryActions as bS, forkEnvironmentConfig as bT, makeErrorGuard as bU, perpsActions as bV, production as bW, rewardsActions as bX, rfqActions as bY, subscriptionsActions as bZ, tradingActions as b_, type RfqQuoteSource as ba, type RfqSession as bb, type RfqTradeEvent as bc, SearchError as bd, type SecureAccountActions as be, type SecureActions as bf, type SecureClient as bg, type SecureClientOptions as bh, type SecureDownloadAccountingSnapshotRequest as bi, type SecureFetchPortfolioValueRequest as bj, type SecureFetchTradedMarketCountRequest as bk, type SecureListActivityRequest as bl, type SecureListClosedPositionsRequest as bm, type SecureListComboPositionsRequest as bn, type SecureListPositionsRequest as bo, type SecurePerpsActions as bp, type SecureRewardsActions as bq, type SecureRfqActions as br, type SecureSubscriptionsActions as bs, type SecureTradingActions as bt, type SecureWalletActions as bu, SetupGaslessWalletError as bv, SetupTradingApprovalsError as bw, type SignerTransactionRequest as bx, SigningError as by, SplitPositionError as bz, type AccountIdentity as c, FetchPerpsTickerError as c$, type CancelMarketOrdersRequest as c0, type CancelOrderRequest as c1, type CancelOrdersRequest as c2, type CancelPerpsOrderRequest as c3, type CancelPerpsOrdersRequest as c4, type CommentsEventType as c5, type CommentsSubscription as c6, type CreatePerpsSessionRequest as c7, type CryptoPricesEventType as c8, type CryptoPricesSubscription as c9, type FetchEventTagsRequest as cA, FetchExecuteParamsError as cB, type FetchExecuteParamsRequest as cC, type FetchGaslessTransactionRequest as cD, type FetchLastTradePriceRequest as cE, type FetchLastTradePricesRequest as cF, FetchMarketInfoError as cG, type FetchMarketInfoRequest as cH, type FetchMarketRequest as cI, type FetchMarketTagsRequest as cJ, type FetchMidpointRequest as cK, type FetchMidpointsRequest as cL, FetchNegRiskError as cM, type FetchNegRiskRequest as cN, type FetchOrderBookRequest as cO, type FetchOrderBooksRequest as cP, type FetchOrderRequest as cQ, type FetchOrderScoringRequest as cR, type FetchOrdersScoringRequest as cS, type FetchPerpsAccountConfigRequest as cT, FetchPerpsBookError as cU, type FetchPerpsBookRequest as cV, FetchPerpsFeesError as cW, FetchPerpsInstrumentsError as cX, type FetchPerpsInstrumentsRequest as cY, type FetchPerpsOpenOrdersRequest as cZ, type FetchPerpsOrdersRequest as c_, DeployDepositWalletError as ca, DepositToPerpsError as cb, type DepositToPerpsRequest as cc, type DeprecatedTransactionHandle as cd, type DownloadAccountingSnapshotRequest as ce, type DropNotificationsRequest as cf, type EquityPricesEventType as cg, type EquityPricesSubscription as ch, type Erc1155ApprovalForAllWorkflow as ci, type Erc1155ApprovalForAllWorkflowRequest as cj, type Erc20ApprovalWorkflow as ck, type Erc20ApprovalWorkflowRequest as cl, type Erc20TransferWorkflow as cm, type Erc20TransferWorkflowRequest as cn, type EstimateMarketBuyPriceRequest as co, type EstimateMarketPriceRequest as cp, type EstimateMarketSellPriceRequest as cq, type EventForSubscriptionSpec as cr, type EventForSubscriptionSpecs as cs, FetchBalanceAllowanceError as ct, type FetchBalanceAllowanceRequest as cu, FetchBuilderFeeRatesError as cv, type FetchBuilderFeeRatesRequest as cw, type FetchCommentsByIdRequest as cx, type FetchEventLiveVolumeRequest as cy, type FetchEventRequest as cz, type AnalyticsActions as d, type MarketSubscription as d$, type FetchPerpsTickerRequest as d0, FetchPerpsTickersError as d1, type FetchPerpsTickersRequest as d2, type FetchPortfolioValueRequest as d3, type FetchPriceHistoryRequest as d4, type FetchPriceRequest as d5, type FetchPricesRequest as d6, type FetchPublicProfileRequest as d7, type FetchRelatedTagResourcesRequest as d8, type FetchRelatedTagsRequest as d9, type ListMarketHoldersRequest as dA, type ListMarketPositionsRequest as dB, type ListMarketRewardsRequest as dC, type ListMarketsRequest as dD, type ListOpenInterestRequest as dE, type ListOpenOrdersRequest as dF, ListPerpsCandlesError as dG, type ListPerpsCandlesRequest as dH, type ListPerpsDepositsRequest as dI, type ListPerpsEquityHistoryRequest as dJ, type ListPerpsFillsRequest as dK, ListPerpsFundingHistoryError as dL, type ListPerpsFundingHistoryRequest as dM, type ListPerpsFundingPaymentsRequest as dN, type ListPerpsPnlHistoryRequest as dO, ListPerpsTradesError as dP, type ListPerpsTradesRequest as dQ, type ListPerpsWithdrawalsRequest as dR, type ListPositionsRequest as dS, type ListSeriesRequest as dT, type ListTagsRequest as dU, type ListTeamsRequest as dV, type ListTraderLeaderboardRequest as dW, type ListTradesRequest as dX, type ListUserEarningsAndMarketsConfigRequest as dY, type ListUserEarningsForDayRequest as dZ, type MarketEventType as d_, type FetchSeriesRequest as da, type FetchSpreadRequest as db, type FetchSpreadsRequest as dc, type FetchTagRequest as dd, FetchTickSizeError as de, type FetchTickSizeRequest as df, type FetchTotalEarningsForUserForDayRequest as dg, type FetchTradedMarketCountRequest as dh, GaslessTransactionMetadataSchema as di, type GaslessWorkflow as dj, type GaslessWorkflowRequest as dk, IsWalletDeployedError as dl, type IsWalletDeployedRequest as dm, type ListAccountTradesRequest as dn, type ListActivityRequest as dp, type ListBuilderLeaderboardRequest as dq, type ListBuilderTradesRequest as dr, type ListBuilderVolumeRequest as ds, type ListClosedPositionsRequest as dt, type ListComboMarketsRequest as du, type ListComboPositionsRequest as dv, type ListCommentsByUserAddressRequest as dw, type ListCommentsRequest as dx, type ListCurrentRewardsRequest as dy, type ListEventsRequest as dz, ApproveErc1155ForAllError as e, type RedeemPositionsWorkflow as e$, MergeComboPositionError as e0, MergeMarketPositionError as e1, type MergePositionsWorkflow as e2, type MergePositionsWorkflowRequest as e3, type ModifyPerpsOrderRequest as e4, type ModifyPerpsOrdersRequest as e5, OpenPerpsSessionError as e6, type OpenPerpsSessionRequest as e7, type OrderDraft as e8, type OrderPostingWorkflow as e9, type PrepareMarketOrderRequest as eA, type PrepareMarketSellOrderRequest as eB, PrepareMergeComboPositionError as eC, type PrepareMergeComboPositionRequest as eD, PrepareMergeMarketPositionError as eE, type PrepareMergeMarketPositionRequest as eF, PrepareMergePositionsError as eG, type PrepareMergePositionsRequest as eH, PreparePerpsDepositError as eI, PrepareRedeemComboPositionError as eJ, type PrepareRedeemComboPositionRequest as eK, type PrepareRedeemMarketPositionsByConditionIdRequest as eL, type PrepareRedeemMarketPositionsByMarketIdRequest as eM, PrepareRedeemMarketPositionsError as eN, type PrepareRedeemMarketPositionsRequest as eO, PrepareRedeemPositionsError as eP, type PrepareRedeemPositionsRequest as eQ, PrepareSplitComboPositionError as eR, type PrepareSplitComboPositionRequest as eS, PrepareSplitMarketPositionError as eT, type PrepareSplitMarketPositionRequest as eU, PrepareSplitPositionError as eV, type PrepareSplitPositionRequest as eW, PrepareTradingApprovalsError as eX, type PublicRealtimeEvent as eY, type PublicRealtimeTopic as eZ, type PublicSubscriptionSpec as e_, type OrderWorkflow as ea, type OrderWorkflowRequest as eb, type PerpsBboSubscription as ec, type PerpsBookSubscription as ed, type PerpsCandlesSubscription as ee, type PerpsDepositWorkflow as ef, type PerpsDepositWorkflowRequest as eg, type PerpsMarketDataEventType as eh, type PerpsMarketDataSubscription as ei, type PerpsStatisticsSubscription as ej, type PerpsStreamingCandleInterval as ek, type PerpsTickersSubscription as el, type PerpsTradesSubscription as em, type PlacePerpsOrderRequest as en, type PlacePerpsOrdersRequest as eo, type PostOrdersRequest as ep, PrepareErc1155ApprovalForAllError as eq, type PrepareErc1155ApprovalForAllRequest as er, PrepareErc20ApprovalError as es, type PrepareErc20ApprovalRequest as et, PrepareErc20TransferError as eu, type PrepareErc20TransferRequest as ev, PrepareGaslessTransactionError as ew, type PrepareGaslessTransactionRequest as ex, type PrepareLimitOrderRequest as ey, type PrepareMarketBuyOrderRequest as ez, ApproveErc20Error as f, fetchOrderBook as f$, type RedeemPositionsWorkflowRequest as f0, ResolveConditionByTokenError as f1, type ResolveConditionByTokenRequest as f2, type ResumePerpsSessionRequest as f3, RevokePerpsCredentialsError as f4, type RevokePerpsCredentialsRequest as f5, type RfqConfirmationRejectedErrorOptions as f6, type RfqExecutionUpdateEvent as f7, type SearchRequest as f8, type SearchResults as f9, cancelMarketOrders as fA, cancelOrder as fB, cancelOrders as fC, deployDepositWallet as fD, depositToPerps as fE, downloadAccountingSnapshot as fF, dropNotifications as fG, estimateMarketPrice as fH, fetchBalanceAllowance as fI, fetchBuilderFeeRates as fJ, fetchBuilderVolume as fK, fetchClosedOnlyMode as fL, fetchCommentsById as fM, fetchEvent as fN, fetchEventLiveVolume as fO, fetchEventTags as fP, fetchExecuteParams as fQ, fetchLastTradePrice as fR, fetchLastTradePrices as fS, fetchMarket as fT, fetchMarketInfo as fU, fetchMarketTags as fV, fetchMidpoint as fW, fetchMidpoints as fX, fetchNegRisk as fY, fetchNotifications as fZ, fetchOrder as f_, type SecureRealtimeEvent as fa, type SecureRealtimeTopic as fb, type SecureSubscriptionSpec as fc, type SignedOrder as fd, SplitComboPositionError as fe, SplitMarketPositionError as ff, type SplitPositionWorkflow as fg, type SplitPositionWorkflowRequest as fh, type SportsEventType as fi, type SportsSubscription as fj, type SubscribeError as fk, type SubscriptionHandle as fl, type TradingApprovalsWorkflow as fm, type TradingApprovalsWorkflowRequest as fn, UpdateBalanceAllowanceError as fo, type UpdateBalanceAllowanceRequest as fp, type UpdatePerpsLeverageRequest as fq, type UpdatePerpsMarginRequest as fr, type UserEventType as fs, type UserSubscription as ft, WaitForGaslessTransactionError as fu, WithdrawFromPerpsError as fv, type WithdrawFromPerpsRequest as fw, approveErc1155ForAll as fx, approveErc20 as fy, cancelAll as fz, BasePublicClient as g, prepareGaslessTransaction as g$, fetchOrderBooks as g0, fetchOrderScoring as g1, fetchOrdersScoring as g2, fetchPerpsBook as g3, fetchPerpsFees as g4, fetchPerpsInstruments as g5, fetchPerpsTicker as g6, fetchPerpsTickers as g7, fetchPortfolioValue as g8, fetchPrice as g9, listMarketHolders as gA, listMarketPositions as gB, listMarketRewards as gC, listMarkets as gD, listOpenInterest as gE, listOpenOrders as gF, listPerpsCandles as gG, listPerpsFundingHistory as gH, listPerpsTrades as gI, listPositions as gJ, listSeries as gK, listTags as gL, listTeams as gM, listTraderLeaderboard as gN, listTrades as gO, listUserEarningsAndMarketsConfig as gP, listUserEarningsForDay as gQ, mergeComboPosition as gR, mergeMarketPosition as gS, mergePositions as gT, openPerpsSession as gU, openRfqSession as gV, postOrder as gW, postOrders as gX, prepareErc1155ApprovalForAll as gY, prepareErc20Approval as gZ, prepareErc20Transfer as g_, fetchPriceHistory as ga, fetchPrices as gb, fetchPublicProfile as gc, fetchRelatedTagResources as gd, fetchRelatedTags as ge, fetchRewardPercentages as gf, fetchSeries as gg, fetchSpread as gh, fetchSpreads as gi, fetchTag as gj, fetchTickSize as gk, fetchTotalEarningsForUserForDay as gl, fetchTradedMarketCount as gm, fetchTransaction as gn, isWalletDeployed as go, listAccountTrades as gp, listActivity as gq, listBuilderLeaderboard as gr, listBuilderTrades as gs, listClosedPositions as gt, listComboMarkets as gu, listComboPositions as gv, listComments as gw, listCommentsByUserAddress as gx, listCurrentRewards as gy, listEvents as gz, BaseSecureClient as h, prepareMergeComboPosition as h0, prepareMergeMarketPosition as h1, prepareMergePositions as h2, preparePerpsDeposit as h3, prepareRedeemComboPosition as h4, prepareRedeemMarketPositions as h5, prepareRedeemPositions as h6, prepareSplitComboPosition as h7, prepareSplitMarketPosition as h8, prepareSplitPosition as h9, prepareTradingApprovals as ha, redeemPositions as hb, resolveConditionByToken as hc, revokePerpsCredentials as hd, search as he, setupTradingApprovals as hf, splitComboPosition as hg, splitMarketPosition as hh, splitPosition as hi, subscribe as hj, transferErc20 as hk, updateBalanceAllowance as hl, withdrawFromPerps as hm, type BeginAuthenticationRequest as i, CancelMarketOrdersError as j, CancelOrderError as k, CancelOrdersError as l, CancelledSigningError as m, type Client as n, type ClientActions as o, type ClientDecorator as p, type ClobEndpoints as q, CreateSecureClientError as r, type DiscoveryActions as s, DownloadAccountingSnapshotError as t, DropNotificationsError as u, type EnvironmentConfigFork as v, type EnvironmentContracts as w, EstimateMarketPriceError as x, FetchCommentsByIdError as y, FetchEventError as z };
|
|
7434
|
+
export { FetchPublicProfileError as $, type ApiKeyAuthorization as A, type BaseClient as B, CancelAllError as C, type DataActions as D, type EnvironmentConfig as E, FetchClosedOnlyModeError as F, FetchEventLiveVolumeError as G, FetchEventTagsError as H, FetchLastTradePriceError as I, FetchLastTradePricesError as J, FetchMarketError as K, FetchMarketTagsError as L, FetchMidpointError as M, FetchMidpointsError as N, FetchNotificationsError as O, FetchOrderBookError as P, FetchOrderBooksError as Q, FetchOrderError as R, type Signer as S, type TypedDataPayload as T, UserInputError as U, FetchOrderScoringError as V, FetchOrdersScoringError as W, FetchPortfolioValueError as X, FetchPriceError as Y, FetchPriceHistoryError as Z, FetchPricesError as _, type TypedData as a, RfqConfirmationError as a$, FetchRelatedTagResourcesError as a0, FetchRelatedTagsError as a1, FetchRewardPercentagesError as a2, FetchSeriesError as a3, FetchSpreadError as a4, FetchSpreadsError as a5, FetchTagError as a6, FetchTotalEarningsForUserForDayError as a7, FetchTradedMarketCountError as a8, InsufficientLiquidityError as a9, MergePositionsError as aA, OpenRfqSessionError as aB, type Page as aC, PageSizeSchema as aD, type Paginated as aE, type PerpsActions as aF, type PerpsEndpoints as aG, PerpsSession as aH, PostOrderError as aI, PostOrdersError as aJ, type PublicAccountActions as aK, type PublicActions as aL, type PublicClient as aM, type PublicClientOptions as aN, type PublicPerpsActions as aO, type PublicRewardsActions as aP, type PublicSubscriptionsActions as aQ, RateLimitError as aR, RedeemPositionsError as aS, RequestRejectedError as aT, type RequestRejectedErrorOptions as aU, type RestEndpoint as aV, type RfqCancelQuoteAck as aW, RfqCancelQuoteError as aX, RfqCancelQuoteRejectedError as aY, type RfqCancelQuoteRejectedErrorOptions as aZ, type RfqConfirmationAck as a_, ListAccountTradesError as aa, ListActivityError as ab, ListBuilderLeaderboardError as ac, ListBuilderTradesError as ad, ListBuilderVolumeError as ae, ListClosedPositionsError as af, ListComboMarketsError as ag, ListComboPositionsError as ah, ListCommentsByUserAddressError as ai, ListCommentsError as aj, ListCurrentRewardsError as ak, ListEventsError as al, ListMarketHoldersError as am, ListMarketPositionsError as an, ListMarketRewardsError as ao, ListMarketsError as ap, ListOpenInterestError as aq, ListOpenOrdersError as ar, ListPositionsError as as, ListSeriesError as at, ListTagsError as au, ListTeamsError as av, ListTraderLeaderboardError as aw, ListTradesError as ax, ListUserEarningsAndMarketsConfigError as ay, ListUserEarningsForDayError as az, type TransactionCall as b, rfqActions as b$, RfqConfirmationRejectedError as b0, type RfqConfirmationRequestEvent as b1, type RfqEndpoints as b2, type RfqEvent as b3, RfqQuoteError as b4, type RfqQuoteReference as b5, RfqQuoteRejectedError as b6, type RfqQuoteRejectedErrorOptions as b7, type RfqQuoteRequestEvent as b8, type RfqQuoteResponse as b9, SplitPositionError as bA, TimeoutError as bB, TransactionFailedError as bC, type TransactionHandle as bD, type TransactionOutcome as bE, TransferErc20Error as bF, TransportError as bG, type TypedDataDomain as bH, type TypedDataField as bI, UnexpectedResponseError as bJ, UpdatePerpsLeverageError as bK, UpdatePerpsMarginError as bL, WaitForTransactionError as bM, type WalletDerivationConfig as bN, type WebSocketEndpoint as bO, accountActions as bP, allActions as bQ, analyticsActions as bR, createPublicClient as bS, createSecureClient as bT, dataActions as bU, discoveryActions as bV, forkEnvironmentConfig as bW, makeErrorGuard as bX, perpsActions as bY, production as bZ, rewardsActions as b_, type RfqQuoteSource as ba, type RfqSession as bb, type RfqTradeEvent as bc, SearchError as bd, SearchSort as be, type SecureAccountActions as bf, type SecureActions as bg, type SecureClient as bh, type SecureClientOptions as bi, type SecureDownloadAccountingSnapshotRequest as bj, type SecureFetchPortfolioValueRequest as bk, type SecureFetchTradedMarketCountRequest as bl, type SecureListActivityRequest as bm, type SecureListClosedPositionsRequest as bn, type SecureListComboPositionsRequest as bo, type SecureListPositionsRequest as bp, type SecurePerpsActions as bq, type SecureRewardsActions as br, type SecureRfqActions as bs, type SecureSubscriptionsActions as bt, type SecureTradingActions as bu, type SecureWalletActions as bv, SetupGaslessWalletError as bw, SetupTradingApprovalsError as bx, type SignerTransactionRequest as by, SigningError as bz, type AccountIdentity as c, type FetchPerpsInstrumentsRequest as c$, subscriptionsActions as c0, tradingActions as c1, walletActions as c2, type CancelMarketOrdersRequest as c3, type CancelOrderRequest as c4, type CancelOrdersRequest as c5, type CancelPerpsOrderRequest as c6, type CancelPerpsOrdersRequest as c7, type CommentsEventType as c8, type CommentsSubscription as c9, type FetchCommentsByIdRequest as cA, type FetchEventLiveVolumeRequest as cB, type FetchEventRequest as cC, type FetchEventTagsRequest as cD, FetchExecuteParamsError as cE, type FetchExecuteParamsRequest as cF, type FetchGaslessTransactionRequest as cG, type FetchLastTradePriceRequest as cH, type FetchLastTradePricesRequest as cI, FetchMarketInfoError as cJ, type FetchMarketInfoRequest as cK, type FetchMarketRequest as cL, type FetchMarketTagsRequest as cM, type FetchMidpointRequest as cN, type FetchMidpointsRequest as cO, FetchNegRiskError as cP, type FetchNegRiskRequest as cQ, type FetchOrderBookRequest as cR, type FetchOrderBooksRequest as cS, type FetchOrderRequest as cT, type FetchOrderScoringRequest as cU, type FetchOrdersScoringRequest as cV, type FetchPerpsAccountConfigRequest as cW, FetchPerpsBookError as cX, type FetchPerpsBookRequest as cY, FetchPerpsFeesError as cZ, FetchPerpsInstrumentsError as c_, type CreatePerpsSessionRequest as ca, type CryptoPricesEventType as cb, type CryptoPricesSubscription as cc, DeployDepositWalletError as cd, DepositToPerpsError as ce, type DepositToPerpsRequest as cf, type DeprecatedTransactionHandle as cg, type DownloadAccountingSnapshotRequest as ch, type DropNotificationsRequest as ci, type EquityPricesEventType as cj, type EquityPricesSubscription as ck, type Erc1155ApprovalForAllWorkflow as cl, type Erc1155ApprovalForAllWorkflowRequest as cm, type Erc20ApprovalWorkflow as cn, type Erc20ApprovalWorkflowRequest as co, type Erc20TransferWorkflow as cp, type Erc20TransferWorkflowRequest as cq, type EstimateMarketBuyPriceRequest as cr, type EstimateMarketPriceRequest as cs, type EstimateMarketSellPriceRequest as ct, type EventForSubscriptionSpec as cu, type EventForSubscriptionSpecs as cv, FetchBalanceAllowanceError as cw, type FetchBalanceAllowanceRequest as cx, FetchBuilderFeeRatesError as cy, type FetchBuilderFeeRatesRequest as cz, type AnalyticsActions as d, type ListUserEarningsAndMarketsConfigRequest as d$, type FetchPerpsOpenOrdersRequest as d0, type FetchPerpsOrdersRequest as d1, FetchPerpsTickerError as d2, type FetchPerpsTickerRequest as d3, FetchPerpsTickersError as d4, type FetchPerpsTickersRequest as d5, type FetchPortfolioValueRequest as d6, type FetchPriceHistoryRequest as d7, type FetchPriceRequest as d8, type FetchPricesRequest as d9, type ListCommentsRequest as dA, type ListCurrentRewardsRequest as dB, type ListEventsRequest as dC, type ListMarketHoldersRequest as dD, type ListMarketPositionsRequest as dE, type ListMarketRewardsRequest as dF, type ListMarketsRequest as dG, type ListOpenInterestRequest as dH, type ListOpenOrdersRequest as dI, ListPerpsCandlesError as dJ, type ListPerpsCandlesRequest as dK, type ListPerpsDepositsRequest as dL, type ListPerpsEquityHistoryRequest as dM, type ListPerpsFillsRequest as dN, ListPerpsFundingHistoryError as dO, type ListPerpsFundingHistoryRequest as dP, type ListPerpsFundingPaymentsRequest as dQ, type ListPerpsPnlHistoryRequest as dR, ListPerpsTradesError as dS, type ListPerpsTradesRequest as dT, type ListPerpsWithdrawalsRequest as dU, type ListPositionsRequest as dV, type ListSeriesRequest as dW, type ListTagsRequest as dX, type ListTeamsRequest as dY, type ListTraderLeaderboardRequest as dZ, type ListTradesRequest as d_, type FetchPublicProfileRequest as da, type FetchRelatedTagResourcesRequest as db, type FetchRelatedTagsRequest as dc, type FetchSeriesRequest as dd, type FetchSpreadRequest as de, type FetchSpreadsRequest as df, type FetchTagRequest as dg, FetchTickSizeError as dh, type FetchTickSizeRequest as di, type FetchTotalEarningsForUserForDayRequest as dj, type FetchTradedMarketCountRequest as dk, GaslessTransactionMetadataSchema as dl, type GaslessWorkflow as dm, type GaslessWorkflowRequest as dn, IsWalletDeployedError as dp, type IsWalletDeployedRequest as dq, type ListAccountTradesRequest as dr, type ListActivityRequest as ds, type ListBuilderLeaderboardRequest as dt, type ListBuilderTradesRequest as du, type ListBuilderVolumeRequest as dv, type ListClosedPositionsRequest as dw, type ListComboMarketsRequest as dx, type ListComboPositionsRequest as dy, type ListCommentsByUserAddressRequest as dz, ApproveErc1155ForAllError as e, type PrepareSplitPositionRequest as e$, type ListUserEarningsForDayRequest as e0, type MarketEventType as e1, type MarketSubscription as e2, MergeComboPositionError as e3, MergeMarketPositionError as e4, type MergePositionsWorkflow as e5, type MergePositionsWorkflowRequest as e6, OpenPerpsSessionError as e7, type OpenPerpsSessionRequest as e8, type OrderDraft as e9, type PrepareErc20TransferRequest as eA, PrepareGaslessTransactionError as eB, type PrepareGaslessTransactionRequest as eC, type PrepareLimitOrderRequest as eD, type PrepareMarketBuyOrderRequest as eE, type PrepareMarketOrderRequest as eF, type PrepareMarketSellOrderRequest as eG, PrepareMergeComboPositionError as eH, type PrepareMergeComboPositionRequest as eI, PrepareMergeMarketPositionError as eJ, type PrepareMergeMarketPositionRequest as eK, PrepareMergePositionsError as eL, type PrepareMergePositionsRequest as eM, PreparePerpsDepositError as eN, PrepareRedeemComboPositionError as eO, type PrepareRedeemComboPositionRequest as eP, type PrepareRedeemMarketPositionsByConditionIdRequest as eQ, type PrepareRedeemMarketPositionsByMarketIdRequest as eR, PrepareRedeemMarketPositionsError as eS, type PrepareRedeemMarketPositionsRequest as eT, PrepareRedeemPositionsError as eU, type PrepareRedeemPositionsRequest as eV, PrepareSplitComboPositionError as eW, type PrepareSplitComboPositionRequest as eX, PrepareSplitMarketPositionError as eY, type PrepareSplitMarketPositionRequest as eZ, PrepareSplitPositionError as e_, type OrderPostingWorkflow as ea, type OrderWorkflow as eb, type OrderWorkflowRequest as ec, type PerpsBboSubscription as ed, type PerpsBookDepth as ee, type PerpsBookSubscription as ef, type PerpsCandlesSubscription as eg, type PerpsDepositWorkflow as eh, type PerpsDepositWorkflowRequest as ei, type PerpsMarketDataEventType as ej, type PerpsMarketDataSubscription as ek, type PerpsPlaceFokOrderRequest as el, type PerpsPlaceGtcOrderRequest as em, type PerpsPlaceIocOrderRequest as en, type PerpsStatisticsSubscription as eo, type PerpsStreamingCandleInterval as ep, type PerpsTickersSubscription as eq, type PerpsTradesSubscription as er, type PlacePerpsOrderRequest as es, type PostOrdersRequest as et, type PostPerpsOrdersRequest as eu, PrepareErc1155ApprovalForAllError as ev, type PrepareErc1155ApprovalForAllRequest as ew, PrepareErc20ApprovalError as ex, type PrepareErc20ApprovalRequest as ey, PrepareErc20TransferError as ez, ApproveErc20Error as f, fetchMidpoint as f$, PrepareTradingApprovalsError as f0, type PublicRealtimeEvent as f1, type PublicRealtimeTopic as f2, type PublicSubscriptionSpec as f3, type RedeemPositionsWorkflow as f4, type RedeemPositionsWorkflowRequest as f5, ResolveConditionByTokenError as f6, type ResolveConditionByTokenRequest as f7, type ResumePerpsSessionRequest as f8, RevokePerpsCredentialsError as f9, WithdrawFromPerpsError as fA, type WithdrawFromPerpsRequest as fB, approveErc1155ForAll as fC, approveErc20 as fD, cancelAll as fE, cancelMarketOrders as fF, cancelOrder as fG, cancelOrders as fH, deployDepositWallet as fI, depositToPerps as fJ, downloadAccountingSnapshot as fK, dropNotifications as fL, estimateMarketPrice as fM, fetchBalanceAllowance as fN, fetchBuilderFeeRates as fO, fetchBuilderVolume as fP, fetchClosedOnlyMode as fQ, fetchCommentsById as fR, fetchEvent as fS, fetchEventLiveVolume as fT, fetchEventTags as fU, fetchExecuteParams as fV, fetchLastTradePrice as fW, fetchLastTradePrices as fX, fetchMarket as fY, fetchMarketInfo as fZ, fetchMarketTags as f_, type RevokePerpsCredentialsRequest 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 UpdatePerpsLeverageRequest as fv, type UpdatePerpsMarginRequest as fw, type UserEventType as fx, type UserSubscription as fy, WaitForGaslessTransactionError as fz, BasePublicClient as g, postOrder as g$, fetchMidpoints as g0, fetchNegRisk as g1, fetchNotifications as g2, fetchOrder as g3, fetchOrderBook as g4, fetchOrderBooks as g5, fetchOrderScoring as g6, fetchOrdersScoring as g7, fetchPerpsBook as g8, fetchPerpsFees as g9, listComboPositions as gA, listComments as gB, listCommentsByUserAddress as gC, listCurrentRewards as gD, listEvents as gE, listMarketHolders as gF, listMarketPositions as gG, listMarketRewards as gH, listMarkets as gI, listOpenInterest as gJ, listOpenOrders as gK, listPerpsCandles as gL, listPerpsFundingHistory as gM, listPerpsTrades as gN, listPositions as gO, listSeries as gP, listTags as gQ, listTeams as gR, listTraderLeaderboard as gS, listTrades as gT, listUserEarningsAndMarketsConfig as gU, listUserEarningsForDay as gV, mergeComboPosition as gW, mergeMarketPosition as gX, mergePositions as gY, openPerpsSession as gZ, openRfqSession as g_, fetchPerpsInstruments as ga, fetchPerpsTicker as gb, fetchPerpsTickers as gc, fetchPortfolioValue as gd, fetchPrice as ge, fetchPriceHistory as gf, fetchPrices as gg, fetchPublicProfile as gh, fetchRelatedTagResources as gi, fetchRelatedTags as gj, fetchRewardPercentages as gk, fetchSeries as gl, fetchSpread as gm, fetchSpreads as gn, fetchTag as go, fetchTickSize as gp, fetchTotalEarningsForUserForDay as gq, fetchTradedMarketCount as gr, fetchTransaction as gs, isWalletDeployed as gt, listAccountTrades as gu, listActivity as gv, listBuilderLeaderboard as gw, listBuilderTrades as gx, listClosedPositions as gy, listComboMarkets as gz, BaseSecureClient as h, postOrders as h0, prepareErc1155ApprovalForAll as h1, prepareErc20Approval as h2, prepareErc20Transfer as h3, prepareGaslessTransaction as h4, prepareMergeComboPosition as h5, prepareMergeMarketPosition as h6, prepareMergePositions as h7, preparePerpsDeposit as h8, prepareRedeemComboPosition as h9, prepareRedeemMarketPositions as ha, prepareRedeemPositions as hb, prepareSplitComboPosition as hc, prepareSplitMarketPosition as hd, prepareSplitPosition as he, prepareTradingApprovals as hf, redeemPositions as hg, resolveConditionByToken as hh, revokePerpsCredentials as hi, search as hj, setupTradingApprovals as hk, splitComboPosition as hl, splitMarketPosition as hm, splitPosition as hn, subscribe as ho, transferErc20 as hp, updateBalanceAllowance as hq, withdrawFromPerps as hr, type BeginAuthenticationRequest as i, CancelMarketOrdersError as j, CancelOrderError as k, CancelOrdersError as l, CancelledSigningError as m, type Client as n, type ClientActions as o, type ClientDecorator as p, type ClobEndpoints as q, CreateSecureClientError as r, type DiscoveryActions as s, DownloadAccountingSnapshotError as t, DropNotificationsError as u, type EnvironmentConfigFork as v, type EnvironmentContracts as w, EstimateMarketPriceError as x, FetchCommentsByIdError as y, FetchEventError as z };
|