@polymarket/client 0.1.0-beta.14 → 0.1.0-beta.15
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.
|
@@ -157,7 +157,7 @@ declare const FetchExecuteParamsRequestSchema: z.ZodObject<{
|
|
|
157
157
|
type FetchExecuteParamsRequest = z.input<typeof FetchExecuteParamsRequestSchema>;
|
|
158
158
|
type FetchExecuteParamsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
159
159
|
declare const FetchExecuteParamsError: {
|
|
160
|
-
isError(error: unknown): error is
|
|
160
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
161
161
|
};
|
|
162
162
|
/**
|
|
163
163
|
* Fetches the parameters needed to prepare a low-level transaction submission.
|
|
@@ -180,7 +180,7 @@ declare const IsWalletDeployedRequestSchema: z.ZodObject<{
|
|
|
180
180
|
type IsWalletDeployedRequest = z.input<typeof IsWalletDeployedRequestSchema>;
|
|
181
181
|
type IsWalletDeployedError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
182
182
|
declare const IsWalletDeployedError: {
|
|
183
|
-
isError(error: unknown): error is
|
|
183
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
184
184
|
};
|
|
185
185
|
/**
|
|
186
186
|
* Checks whether a wallet is deployed for relayer-backed transactions.
|
|
@@ -205,7 +205,7 @@ declare function isWalletDeployed(client: BaseClient, request?: IsWalletDeployed
|
|
|
205
205
|
declare const GaslessTransactionMetadataSchema: z.ZodString;
|
|
206
206
|
type DeployDepositWalletError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
207
207
|
declare const DeployDepositWalletError: {
|
|
208
|
-
isError(error: unknown): error is
|
|
208
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
209
209
|
};
|
|
210
210
|
/**
|
|
211
211
|
* Deploys a Deposit Wallet for the authenticated signer.
|
|
@@ -248,7 +248,7 @@ type GaslessWorkflowRequest = RequestAddressRequest | SignGaslessMessageRequest
|
|
|
248
248
|
type GaslessWorkflow = AsyncGenerator<GaslessWorkflowRequest, TransactionHandle, EvmAddress | EvmSignature | TransactionHandle>;
|
|
249
249
|
type PrepareGaslessTransactionError = ExecuteGaslessError | FetchExecuteParamsError | UserInputError;
|
|
250
250
|
declare const PrepareGaslessTransactionError: {
|
|
251
|
-
isError(error: unknown): error is
|
|
251
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
252
252
|
};
|
|
253
253
|
/**
|
|
254
254
|
* Starts preparing a low-level transaction workflow from one or more calls.
|
|
@@ -263,7 +263,7 @@ declare function prepareGaslessTransaction(client: BaseSecureClient, request: Pr
|
|
|
263
263
|
type ExecuteGaslessError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
264
264
|
type WaitForGaslessTransactionError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | TimeoutError | TransactionFailedError;
|
|
265
265
|
declare const WaitForGaslessTransactionError: {
|
|
266
|
-
isError(error: unknown): error is
|
|
266
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError;
|
|
267
267
|
};
|
|
268
268
|
|
|
269
269
|
declare const PageSizeSchema: z.ZodNumber;
|
|
@@ -300,7 +300,7 @@ declare const ListTradesRequestSchema: z.ZodObject<{
|
|
|
300
300
|
type ListTradesRequest = z.input<typeof ListTradesRequestSchema>;
|
|
301
301
|
type ListTradesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
302
302
|
declare const ListTradesError: {
|
|
303
|
-
isError(error: unknown): error is
|
|
303
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
304
304
|
};
|
|
305
305
|
/**
|
|
306
306
|
* Lists trades for a wallet, market, or event.
|
|
@@ -367,7 +367,7 @@ declare const ListActivityRequestSchema: z.ZodObject<{
|
|
|
367
367
|
type ListActivityRequest = z.input<typeof ListActivityRequestSchema>;
|
|
368
368
|
type ListActivityError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
369
369
|
declare const ListActivityError: {
|
|
370
|
-
isError(error: unknown): error is
|
|
370
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
371
371
|
};
|
|
372
372
|
/**
|
|
373
373
|
* Lists wallet activity.
|
|
@@ -417,7 +417,7 @@ declare const ListComboActivityRequestSchema: z.ZodObject<{
|
|
|
417
417
|
type ListComboActivityRequest = z.input<typeof ListComboActivityRequestSchema>;
|
|
418
418
|
type ListComboActivityError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
419
419
|
declare const ListComboActivityError: {
|
|
420
|
-
isError(error: unknown): error is
|
|
420
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
421
421
|
};
|
|
422
422
|
/**
|
|
423
423
|
* Lists combo lifecycle activity for a wallet.
|
|
@@ -482,7 +482,7 @@ declare const ListPositionsRequestSchema: z.ZodObject<{
|
|
|
482
482
|
type ListPositionsRequest = z.input<typeof ListPositionsRequestSchema>;
|
|
483
483
|
type ListPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
484
484
|
declare const ListPositionsError: {
|
|
485
|
-
isError(error: unknown): error is
|
|
485
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
486
486
|
};
|
|
487
487
|
/**
|
|
488
488
|
* Lists current positions for a wallet.
|
|
@@ -545,7 +545,7 @@ declare const ListClosedPositionsRequestSchema: z.ZodObject<{
|
|
|
545
545
|
type ListClosedPositionsRequest = z.input<typeof ListClosedPositionsRequestSchema>;
|
|
546
546
|
type ListClosedPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
547
547
|
declare const ListClosedPositionsError: {
|
|
548
|
-
isError(error: unknown): error is
|
|
548
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
549
549
|
};
|
|
550
550
|
/**
|
|
551
551
|
* Lists closed positions for a wallet.
|
|
@@ -599,7 +599,7 @@ declare const ListComboPositionsRequestSchema: z.ZodObject<{
|
|
|
599
599
|
type ListComboPositionsRequest = z.input<typeof ListComboPositionsRequestSchema>;
|
|
600
600
|
type ListComboPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
601
601
|
declare const ListComboPositionsError: {
|
|
602
|
-
isError(error: unknown): error is
|
|
602
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
603
603
|
};
|
|
604
604
|
/**
|
|
605
605
|
* Lists combo positions for a wallet.
|
|
@@ -654,7 +654,7 @@ declare const FetchPortfolioValueRequestSchema: z.ZodObject<{
|
|
|
654
654
|
type FetchPortfolioValueRequest = z.input<typeof FetchPortfolioValueRequestSchema>;
|
|
655
655
|
type FetchPortfolioValueError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
656
656
|
declare const FetchPortfolioValueError: {
|
|
657
|
-
isError(error: unknown): error is
|
|
657
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
658
658
|
};
|
|
659
659
|
/**
|
|
660
660
|
* Fetches the total value for a wallet's positions.
|
|
@@ -681,7 +681,7 @@ declare const FetchTradedMarketCountRequestSchema: z.ZodObject<{
|
|
|
681
681
|
type FetchTradedMarketCountRequest = z.input<typeof FetchTradedMarketCountRequestSchema>;
|
|
682
682
|
type FetchTradedMarketCountError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
683
683
|
declare const FetchTradedMarketCountError: {
|
|
684
|
-
isError(error: unknown): error is
|
|
684
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
685
685
|
};
|
|
686
686
|
/**
|
|
687
687
|
* Fetches the total number of markets a wallet has traded.
|
|
@@ -708,7 +708,7 @@ declare const DownloadAccountingSnapshotRequestSchema: z.ZodObject<{
|
|
|
708
708
|
type DownloadAccountingSnapshotRequest = z.input<typeof DownloadAccountingSnapshotRequestSchema>;
|
|
709
709
|
type DownloadAccountingSnapshotError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
710
710
|
declare const DownloadAccountingSnapshotError: {
|
|
711
|
-
isError(error: unknown): error is
|
|
711
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
712
712
|
};
|
|
713
713
|
/**
|
|
714
714
|
* Downloads an accounting snapshot archive for a wallet.
|
|
@@ -2455,7 +2455,7 @@ declare class RfqQuoteRejectedError extends PolymarketError {
|
|
|
2455
2455
|
}
|
|
2456
2456
|
type RfqQuoteError = RfqQuoteRejectedError | SigningError | TimeoutError | TransportError | UserInputError;
|
|
2457
2457
|
declare const RfqQuoteError: {
|
|
2458
|
-
isError(error: unknown): error is
|
|
2458
|
+
isError(error: unknown): error is UserInputError | TransportError | TimeoutError | SigningError | RfqQuoteRejectedError;
|
|
2459
2459
|
};
|
|
2460
2460
|
type RfqCancelQuoteRejectedErrorOptions = {
|
|
2461
2461
|
/** RFQ error code for the rejected cancellation request. */
|
|
@@ -2813,7 +2813,7 @@ declare const CancelMarketOrdersRequestSchema: z.ZodObject<{
|
|
|
2813
2813
|
type CancelOrderRequest = z.input<typeof CancelOrderRequestSchema>;
|
|
2814
2814
|
type CancelOrderError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
2815
2815
|
declare const CancelOrderError: {
|
|
2816
|
-
isError(error: unknown): error is
|
|
2816
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
2817
2817
|
};
|
|
2818
2818
|
/**
|
|
2819
2819
|
* Cancels a single open order for the authenticated account.
|
|
@@ -2837,7 +2837,7 @@ declare function cancelOrder(client: BaseSecureClient, request: CancelOrderReque
|
|
|
2837
2837
|
type CancelOrdersRequest = z.input<typeof CancelOrdersRequestSchema>;
|
|
2838
2838
|
type CancelOrdersError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
2839
2839
|
declare const CancelOrdersError: {
|
|
2840
|
-
isError(error: unknown): error is
|
|
2840
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
2841
2841
|
};
|
|
2842
2842
|
/**
|
|
2843
2843
|
* Cancels multiple open orders for the authenticated account.
|
|
@@ -2860,7 +2860,7 @@ declare const CancelOrdersError: {
|
|
|
2860
2860
|
declare function cancelOrders(client: BaseSecureClient, request: CancelOrdersRequest): Promise<CancelOrdersResponse>;
|
|
2861
2861
|
type CancelAllError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError;
|
|
2862
2862
|
declare const CancelAllError: {
|
|
2863
|
-
isError(error: unknown): error is
|
|
2863
|
+
isError(error: unknown): error is UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
2864
2864
|
};
|
|
2865
2865
|
/**
|
|
2866
2866
|
* Cancels all open orders for the authenticated account.
|
|
@@ -2882,7 +2882,7 @@ declare function cancelAll(client: BaseSecureClient): Promise<CancelOrdersRespon
|
|
|
2882
2882
|
type CancelMarketOrdersRequest = z.input<typeof CancelMarketOrdersRequestSchema>;
|
|
2883
2883
|
type CancelMarketOrdersError = RequestRejectedError | RateLimitError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
2884
2884
|
declare const CancelMarketOrdersError: {
|
|
2885
|
-
isError(error: unknown): error is
|
|
2885
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
2886
2886
|
};
|
|
2887
2887
|
/**
|
|
2888
2888
|
* Cancels all open orders for the authenticated account that match the market
|
|
@@ -2936,7 +2936,7 @@ type EstimateMarketSellPriceRequest = {
|
|
|
2936
2936
|
type EstimateMarketPriceRequest = EstimateMarketBuyPriceRequest | EstimateMarketSellPriceRequest;
|
|
2937
2937
|
type EstimateMarketPriceError = InsufficientLiquidityError | RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
2938
2938
|
declare const EstimateMarketPriceError: {
|
|
2939
|
-
isError(error: unknown): error is
|
|
2939
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | InsufficientLiquidityError;
|
|
2940
2940
|
};
|
|
2941
2941
|
/**
|
|
2942
2942
|
* Estimates the price level a market order would cross at current book depth.
|
|
@@ -3114,11 +3114,11 @@ declare const PostOrdersRequestSchema: z.ZodArray<z.ZodCustom<SignedOrder, Signe
|
|
|
3114
3114
|
type PostOrdersRequest = z.input<typeof PostOrdersRequestSchema>;
|
|
3115
3115
|
type PostOrderError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
|
|
3116
3116
|
declare const PostOrderError: {
|
|
3117
|
-
isError(error: unknown): error is
|
|
3117
|
+
isError(error: unknown): error is UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
3118
3118
|
};
|
|
3119
3119
|
type PostOrdersError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
3120
3120
|
declare const PostOrdersError: {
|
|
3121
|
-
isError(error: unknown): error is
|
|
3121
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
3122
3122
|
};
|
|
3123
3123
|
/**
|
|
3124
3124
|
* Posts a signed order for the authenticated account.
|
|
@@ -3916,7 +3916,7 @@ type SecureClientOptions = PublicClientOptions & {
|
|
|
3916
3916
|
declare function createPublicClient(options?: PublicClientOptions): PublicClient<PublicActions, SecureActions>;
|
|
3917
3917
|
type CreateSecureClientError = CancelledSigningError | DeployDepositWalletError | IsWalletDeployedError | RateLimitError | RequestRejectedError | SigningError | TimeoutError | TransactionFailedError | TransportError | UnexpectedResponseError | UserInputError | WaitForGaslessTransactionError;
|
|
3918
3918
|
declare const CreateSecureClientError: {
|
|
3919
|
-
isError(error: unknown): error is
|
|
3919
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
|
|
3920
3920
|
};
|
|
3921
3921
|
type SetupGaslessWalletError = UserInputError;
|
|
3922
3922
|
declare const SetupGaslessWalletError: {
|
|
@@ -3939,7 +3939,7 @@ declare function createSecureClient(options: SecureClientOptions): Promise<Secur
|
|
|
3939
3939
|
|
|
3940
3940
|
type FetchClosedOnlyModeError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
|
|
3941
3941
|
declare const FetchClosedOnlyModeError: {
|
|
3942
|
-
isError(error: unknown): error is
|
|
3942
|
+
isError(error: unknown): error is UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
3943
3943
|
};
|
|
3944
3944
|
/**
|
|
3945
3945
|
* Fetches whether the account is restricted to closed-only trading.
|
|
@@ -3964,7 +3964,7 @@ declare const ListOpenOrdersRequestSchema: z.ZodDefault<z.ZodObject<{
|
|
|
3964
3964
|
type ListOpenOrdersRequest = z.input<typeof ListOpenOrdersRequestSchema>;
|
|
3965
3965
|
type ListOpenOrdersError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
3966
3966
|
declare const ListOpenOrdersError: {
|
|
3967
|
-
isError(error: unknown): error is
|
|
3967
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
3968
3968
|
};
|
|
3969
3969
|
/**
|
|
3970
3970
|
* Lists open orders for the authenticated account across all pages.
|
|
@@ -4008,7 +4008,7 @@ declare const FetchOrderRequestSchema: z.ZodObject<{
|
|
|
4008
4008
|
type FetchOrderRequest = z.input<typeof FetchOrderRequestSchema>;
|
|
4009
4009
|
type FetchOrderError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4010
4010
|
declare const FetchOrderError: {
|
|
4011
|
-
isError(error: unknown): error is
|
|
4011
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
4012
4012
|
};
|
|
4013
4013
|
/**
|
|
4014
4014
|
* Fetches a single order for the authenticated account.
|
|
@@ -4038,7 +4038,7 @@ declare const ListAccountTradesRequestSchema: z.ZodDefault<z.ZodObject<{
|
|
|
4038
4038
|
type ListAccountTradesRequest = z.input<typeof ListAccountTradesRequestSchema>;
|
|
4039
4039
|
type ListAccountTradesError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4040
4040
|
declare const ListAccountTradesError: {
|
|
4041
|
-
isError(error: unknown): error is
|
|
4041
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
4042
4042
|
};
|
|
4043
4043
|
/**
|
|
4044
4044
|
* Lists trades for the authenticated account across all pages.
|
|
@@ -4078,7 +4078,7 @@ declare const ListAccountTradesError: {
|
|
|
4078
4078
|
declare function listAccountTrades(client: BaseSecureClient, request?: ListAccountTradesRequest): Paginated<ClobTrade[]>;
|
|
4079
4079
|
type FetchNotificationsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
|
|
4080
4080
|
declare const FetchNotificationsError: {
|
|
4081
|
-
isError(error: unknown): error is
|
|
4081
|
+
isError(error: unknown): error is UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
4082
4082
|
};
|
|
4083
4083
|
declare const DropNotificationsRequestSchema: z.ZodObject<{
|
|
4084
4084
|
ids: z.ZodArray<z.ZodString>;
|
|
@@ -4100,7 +4100,7 @@ type DropNotificationsRequest = z.input<typeof DropNotificationsRequestSchema>;
|
|
|
4100
4100
|
declare function fetchNotifications(client: BaseSecureClient): Promise<NotificationsResponse>;
|
|
4101
4101
|
type DropNotificationsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4102
4102
|
declare const DropNotificationsError: {
|
|
4103
|
-
isError(error: unknown): error is
|
|
4103
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
4104
4104
|
};
|
|
4105
4105
|
/**
|
|
4106
4106
|
* Drops notifications for the authenticated account.
|
|
@@ -4126,7 +4126,7 @@ declare const FetchBalanceAllowanceRequestSchema: z.ZodObject<{
|
|
|
4126
4126
|
type FetchBalanceAllowanceRequest = z.input<typeof FetchBalanceAllowanceRequestSchema>;
|
|
4127
4127
|
type FetchBalanceAllowanceError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4128
4128
|
declare const FetchBalanceAllowanceError: {
|
|
4129
|
-
isError(error: unknown): error is
|
|
4129
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
4130
4130
|
};
|
|
4131
4131
|
/**
|
|
4132
4132
|
* Fetches balance and allowance for the authenticated account.
|
|
@@ -4152,7 +4152,7 @@ declare const UpdateBalanceAllowanceRequestSchema: z.ZodObject<{
|
|
|
4152
4152
|
type UpdateBalanceAllowanceRequest = z.input<typeof UpdateBalanceAllowanceRequestSchema>;
|
|
4153
4153
|
type UpdateBalanceAllowanceError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4154
4154
|
declare const UpdateBalanceAllowanceError: {
|
|
4155
|
-
isError(error: unknown): error is
|
|
4155
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
4156
4156
|
};
|
|
4157
4157
|
/**
|
|
4158
4158
|
* Refreshes balance and allowance for the authenticated account.
|
|
@@ -4177,7 +4177,7 @@ declare const FetchOrderScoringRequestSchema: z.ZodObject<{
|
|
|
4177
4177
|
type FetchOrderScoringRequest = z.input<typeof FetchOrderScoringRequestSchema>;
|
|
4178
4178
|
type FetchOrderScoringError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4179
4179
|
declare const FetchOrderScoringError: {
|
|
4180
|
-
isError(error: unknown): error is
|
|
4180
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
4181
4181
|
};
|
|
4182
4182
|
/**
|
|
4183
4183
|
* Fetches whether a single order is currently scoring.
|
|
@@ -4201,7 +4201,7 @@ declare const FetchOrdersScoringRequestSchema: z.ZodObject<{
|
|
|
4201
4201
|
type FetchOrdersScoringRequest = z.input<typeof FetchOrdersScoringRequestSchema>;
|
|
4202
4202
|
type FetchOrdersScoringError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4203
4203
|
declare const FetchOrdersScoringError: {
|
|
4204
|
-
isError(error: unknown): error is
|
|
4204
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
4205
4205
|
};
|
|
4206
4206
|
/**
|
|
4207
4207
|
* Fetches scoring state for multiple orders.
|
|
@@ -4226,7 +4226,7 @@ declare const ListUserEarningsForDayRequestSchema: z.ZodObject<{
|
|
|
4226
4226
|
type ListUserEarningsForDayRequest = z.input<typeof ListUserEarningsForDayRequestSchema>;
|
|
4227
4227
|
type ListUserEarningsForDayError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4228
4228
|
declare const ListUserEarningsForDayError: {
|
|
4229
|
-
isError(error: unknown): error is
|
|
4229
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
4230
4230
|
};
|
|
4231
4231
|
/**
|
|
4232
4232
|
* Lists per-market earnings for the authenticated account on a given day.
|
|
@@ -4267,7 +4267,7 @@ declare function listUserEarningsForDay(client: BaseSecureClient, request: ListU
|
|
|
4267
4267
|
type FetchTotalEarningsForUserForDayRequest = z.input<typeof ListUserEarningsForDayRequestSchema>;
|
|
4268
4268
|
type FetchTotalEarningsForUserForDayError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4269
4269
|
declare const FetchTotalEarningsForUserForDayError: {
|
|
4270
|
-
isError(error: unknown): error is
|
|
4270
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
4271
4271
|
};
|
|
4272
4272
|
/**
|
|
4273
4273
|
* Fetches total earnings for the authenticated account on a given day.
|
|
@@ -4296,7 +4296,7 @@ declare const ListUserEarningsAndMarketsConfigRequestSchema: z.ZodObject<{
|
|
|
4296
4296
|
type ListUserEarningsAndMarketsConfigRequest = z.input<typeof ListUserEarningsAndMarketsConfigRequestSchema>;
|
|
4297
4297
|
type ListUserEarningsAndMarketsConfigError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4298
4298
|
declare const ListUserEarningsAndMarketsConfigError: {
|
|
4299
|
-
isError(error: unknown): error is
|
|
4299
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
4300
4300
|
};
|
|
4301
4301
|
/**
|
|
4302
4302
|
* Lists market reward configuration and earnings for the authenticated account on a given day.
|
|
@@ -4336,7 +4336,7 @@ declare const ListUserEarningsAndMarketsConfigError: {
|
|
|
4336
4336
|
declare function listUserEarningsAndMarketsConfig(client: BaseSecureClient, request: ListUserEarningsAndMarketsConfigRequest): Paginated<UserRewardsEarning[]>;
|
|
4337
4337
|
type FetchRewardPercentagesError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
|
|
4338
4338
|
declare const FetchRewardPercentagesError: {
|
|
4339
|
-
isError(error: unknown): error is
|
|
4339
|
+
isError(error: unknown): error is UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
4340
4340
|
};
|
|
4341
4341
|
/**
|
|
4342
4342
|
* Fetches reward percentages for the authenticated account.
|
|
@@ -4387,7 +4387,7 @@ declare const PrepareErc20ApprovalError: {
|
|
|
4387
4387
|
declare function prepareErc20Approval(client: BaseSecureClient, request: PrepareErc20ApprovalRequest): Promise<Erc20ApprovalWorkflow>;
|
|
4388
4388
|
type ApproveErc20Error = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
|
|
4389
4389
|
declare const ApproveErc20Error: {
|
|
4390
|
-
isError(error: unknown): error is
|
|
4390
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | CancelledSigningError | SigningError;
|
|
4391
4391
|
};
|
|
4392
4392
|
/**
|
|
4393
4393
|
* Approves ERC-20 token spending for the authenticated account.
|
|
@@ -4432,7 +4432,7 @@ declare const PrepareErc1155ApprovalForAllError: {
|
|
|
4432
4432
|
declare function prepareErc1155ApprovalForAll(client: BaseSecureClient, request: PrepareErc1155ApprovalForAllRequest): Promise<Erc1155ApprovalForAllWorkflow>;
|
|
4433
4433
|
type ApproveErc1155ForAllError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
|
|
4434
4434
|
declare const ApproveErc1155ForAllError: {
|
|
4435
|
-
isError(error: unknown): error is
|
|
4435
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | CancelledSigningError | SigningError;
|
|
4436
4436
|
};
|
|
4437
4437
|
/**
|
|
4438
4438
|
* Approves or revokes ERC-1155 operator access for the authenticated account.
|
|
@@ -4448,7 +4448,7 @@ type TradingApprovalsWorkflowRequest = GaslessWorkflowRequest | SendErc20Approva
|
|
|
4448
4448
|
type TradingApprovalsWorkflow = AsyncGenerator<TradingApprovalsWorkflowRequest, void, EvmAddress$1 | EvmSignature | TransactionHandle>;
|
|
4449
4449
|
type PrepareTradingApprovalsError = RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4450
4450
|
declare const PrepareTradingApprovalsError: {
|
|
4451
|
-
isError(error: unknown): error is
|
|
4451
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError;
|
|
4452
4452
|
};
|
|
4453
4453
|
/**
|
|
4454
4454
|
* Starts a trading-setup approval workflow.
|
|
@@ -4467,7 +4467,7 @@ declare const PrepareTradingApprovalsError: {
|
|
|
4467
4467
|
declare function prepareTradingApprovals(client: BaseSecureClient): Promise<TradingApprovalsWorkflow>;
|
|
4468
4468
|
type SetupTradingApprovalsError = PrepareTradingApprovalsError | CancelledSigningError | SigningError | WaitForGaslessTransactionError;
|
|
4469
4469
|
declare const SetupTradingApprovalsError: {
|
|
4470
|
-
isError(error: unknown): error is
|
|
4470
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
|
|
4471
4471
|
};
|
|
4472
4472
|
type DeprecatedTransactionHandle = Omit<TransactionHandle, 'wait'> & {
|
|
4473
4473
|
/**
|
|
@@ -4499,7 +4499,7 @@ declare const ListBuilderTradesRequestSchema: z.ZodObject<{
|
|
|
4499
4499
|
type ListBuilderTradesRequest = z.input<typeof ListBuilderTradesRequestSchema>;
|
|
4500
4500
|
type ListBuilderTradesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4501
4501
|
declare const ListBuilderTradesError: {
|
|
4502
|
-
isError(error: unknown): error is
|
|
4502
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4503
4503
|
};
|
|
4504
4504
|
/**
|
|
4505
4505
|
* Lists builder-attributed trades.
|
|
@@ -4541,7 +4541,7 @@ declare const FetchMidpointRequestSchema: z.ZodObject<{
|
|
|
4541
4541
|
type FetchMidpointRequest = z.input<typeof FetchMidpointRequestSchema>;
|
|
4542
4542
|
type FetchMidpointError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4543
4543
|
declare const FetchMidpointError: {
|
|
4544
|
-
isError(error: unknown): error is
|
|
4544
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4545
4545
|
};
|
|
4546
4546
|
/**
|
|
4547
4547
|
* Fetches the midpoint price for a token.
|
|
@@ -4570,7 +4570,7 @@ declare const FetchMidpointsRequestSchema: z.ZodArray<z.ZodObject<{
|
|
|
4570
4570
|
type FetchMidpointsRequest = z.input<typeof FetchMidpointsRequestSchema>;
|
|
4571
4571
|
type FetchMidpointsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4572
4572
|
declare const FetchMidpointsError: {
|
|
4573
|
-
isError(error: unknown): error is
|
|
4573
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4574
4574
|
};
|
|
4575
4575
|
/**
|
|
4576
4576
|
* Fetches midpoint prices for multiple tokens.
|
|
@@ -4601,7 +4601,7 @@ declare const FetchTickSizeRequestSchema: z.ZodObject<{
|
|
|
4601
4601
|
type FetchTickSizeRequest = z.input<typeof FetchTickSizeRequestSchema>;
|
|
4602
4602
|
type FetchTickSizeError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4603
4603
|
declare const FetchTickSizeError: {
|
|
4604
|
-
isError(error: unknown): error is
|
|
4604
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4605
4605
|
};
|
|
4606
4606
|
/**
|
|
4607
4607
|
* Fetches the minimum price tick size for a token's order book.
|
|
@@ -4629,7 +4629,7 @@ declare const FetchNegRiskRequestSchema: z.ZodObject<{
|
|
|
4629
4629
|
type FetchNegRiskRequest = z.input<typeof FetchNegRiskRequestSchema>;
|
|
4630
4630
|
type FetchNegRiskError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4631
4631
|
declare const FetchNegRiskError: {
|
|
4632
|
-
isError(error: unknown): error is
|
|
4632
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4633
4633
|
};
|
|
4634
4634
|
/**
|
|
4635
4635
|
* Fetches whether a token is in a negative-risk market.
|
|
@@ -4657,7 +4657,7 @@ declare const ResolveConditionByTokenRequestSchema: z.ZodObject<{
|
|
|
4657
4657
|
type ResolveConditionByTokenRequest = z.input<typeof ResolveConditionByTokenRequestSchema>;
|
|
4658
4658
|
type ResolveConditionByTokenError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4659
4659
|
declare const ResolveConditionByTokenError: {
|
|
4660
|
-
isError(error: unknown): error is
|
|
4660
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4661
4661
|
};
|
|
4662
4662
|
/**
|
|
4663
4663
|
* Resolves the condition ID for a token.
|
|
@@ -4675,7 +4675,7 @@ declare const FetchMarketInfoRequestSchema: z.ZodObject<{
|
|
|
4675
4675
|
type FetchMarketInfoRequest = z.input<typeof FetchMarketInfoRequestSchema>;
|
|
4676
4676
|
type FetchMarketInfoError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4677
4677
|
declare const FetchMarketInfoError: {
|
|
4678
|
-
isError(error: unknown): error is
|
|
4678
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4679
4679
|
};
|
|
4680
4680
|
/**
|
|
4681
4681
|
* Fetches market-level metadata for a condition.
|
|
@@ -4693,7 +4693,7 @@ declare const FetchBuilderFeeRatesRequestSchema: z.ZodObject<{
|
|
|
4693
4693
|
type FetchBuilderFeeRatesRequest = z.input<typeof FetchBuilderFeeRatesRequestSchema>;
|
|
4694
4694
|
type FetchBuilderFeeRatesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4695
4695
|
declare const FetchBuilderFeeRatesError: {
|
|
4696
|
-
isError(error: unknown): error is
|
|
4696
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4697
4697
|
};
|
|
4698
4698
|
/**
|
|
4699
4699
|
* Fetches builder maker and taker fee rates.
|
|
@@ -4712,7 +4712,7 @@ declare const FetchPriceRequestSchema: z.ZodObject<{
|
|
|
4712
4712
|
type FetchPriceRequest = z.input<typeof FetchPriceRequestSchema>;
|
|
4713
4713
|
type FetchPriceError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4714
4714
|
declare const FetchPriceError: {
|
|
4715
|
-
isError(error: unknown): error is
|
|
4715
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4716
4716
|
};
|
|
4717
4717
|
/**
|
|
4718
4718
|
* Fetches the current quoted price for a token and side.
|
|
@@ -4743,7 +4743,7 @@ declare const FetchPricesRequestSchema: z.ZodArray<z.ZodObject<{
|
|
|
4743
4743
|
type FetchPricesRequest = z.input<typeof FetchPricesRequestSchema>;
|
|
4744
4744
|
type FetchPricesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4745
4745
|
declare const FetchPricesError: {
|
|
4746
|
-
isError(error: unknown): error is
|
|
4746
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4747
4747
|
};
|
|
4748
4748
|
/**
|
|
4749
4749
|
* Fetches quoted prices for multiple tokens.
|
|
@@ -4775,7 +4775,7 @@ declare const FetchOrderBookRequestSchema: z.ZodObject<{
|
|
|
4775
4775
|
type FetchOrderBookRequest = z.input<typeof FetchOrderBookRequestSchema>;
|
|
4776
4776
|
type FetchOrderBookError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4777
4777
|
declare const FetchOrderBookError: {
|
|
4778
|
-
isError(error: unknown): error is
|
|
4778
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4779
4779
|
};
|
|
4780
4780
|
/**
|
|
4781
4781
|
* Fetches the current order book for a token.
|
|
@@ -4803,7 +4803,7 @@ declare const FetchOrderBooksRequestSchema: z.ZodArray<z.ZodObject<{
|
|
|
4803
4803
|
type FetchOrderBooksRequest = z.input<typeof FetchOrderBooksRequestSchema>;
|
|
4804
4804
|
type FetchOrderBooksError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4805
4805
|
declare const FetchOrderBooksError: {
|
|
4806
|
-
isError(error: unknown): error is
|
|
4806
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4807
4807
|
};
|
|
4808
4808
|
/**
|
|
4809
4809
|
* Fetches order books for multiple tokens.
|
|
@@ -4833,7 +4833,7 @@ declare const FetchSpreadRequestSchema: z.ZodObject<{
|
|
|
4833
4833
|
type FetchSpreadRequest = z.input<typeof FetchSpreadRequestSchema>;
|
|
4834
4834
|
type FetchSpreadError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4835
4835
|
declare const FetchSpreadError: {
|
|
4836
|
-
isError(error: unknown): error is
|
|
4836
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4837
4837
|
};
|
|
4838
4838
|
/**
|
|
4839
4839
|
* Fetches the spread for a token.
|
|
@@ -4862,7 +4862,7 @@ declare const FetchSpreadsRequestSchema: z.ZodArray<z.ZodObject<{
|
|
|
4862
4862
|
type FetchSpreadsRequest = z.input<typeof FetchSpreadsRequestSchema>;
|
|
4863
4863
|
type FetchSpreadsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4864
4864
|
declare const FetchSpreadsError: {
|
|
4865
|
-
isError(error: unknown): error is
|
|
4865
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4866
4866
|
};
|
|
4867
4867
|
/**
|
|
4868
4868
|
* Fetches spreads for multiple tokens.
|
|
@@ -4893,7 +4893,7 @@ declare const FetchLastTradePriceRequestSchema: z.ZodObject<{
|
|
|
4893
4893
|
type FetchLastTradePriceRequest = z.input<typeof FetchLastTradePriceRequestSchema>;
|
|
4894
4894
|
type FetchLastTradePriceError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4895
4895
|
declare const FetchLastTradePriceError: {
|
|
4896
|
-
isError(error: unknown): error is
|
|
4896
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4897
4897
|
};
|
|
4898
4898
|
/**
|
|
4899
4899
|
* Fetches the last traded price for a token.
|
|
@@ -4922,7 +4922,7 @@ declare const FetchLastTradePricesRequestSchema: z.ZodArray<z.ZodObject<{
|
|
|
4922
4922
|
type FetchLastTradePricesRequest = z.input<typeof FetchLastTradePricesRequestSchema>;
|
|
4923
4923
|
type FetchLastTradePricesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4924
4924
|
declare const FetchLastTradePricesError: {
|
|
4925
|
-
isError(error: unknown): error is
|
|
4925
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4926
4926
|
};
|
|
4927
4927
|
/**
|
|
4928
4928
|
* Fetches last traded prices for multiple tokens.
|
|
@@ -4957,7 +4957,7 @@ declare const ListPriceHistoryRequestSchema: z.ZodObject<{
|
|
|
4957
4957
|
type FetchPriceHistoryRequest = z.input<typeof ListPriceHistoryRequestSchema>;
|
|
4958
4958
|
type FetchPriceHistoryError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4959
4959
|
declare const FetchPriceHistoryError: {
|
|
4960
|
-
isError(error: unknown): error is
|
|
4960
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4961
4961
|
};
|
|
4962
4962
|
/**
|
|
4963
4963
|
* Fetches historical price points for a token.
|
|
@@ -4989,7 +4989,7 @@ declare const ListCurrentRewardsRequestSchema: z.ZodDefault<z.ZodObject<{
|
|
|
4989
4989
|
type ListCurrentRewardsRequest = z.input<typeof ListCurrentRewardsRequestSchema>;
|
|
4990
4990
|
type ListCurrentRewardsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
4991
4991
|
declare const ListCurrentRewardsError: {
|
|
4992
|
-
isError(error: unknown): error is
|
|
4992
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
4993
4993
|
};
|
|
4994
4994
|
/**
|
|
4995
4995
|
* Lists current active market rewards.
|
|
@@ -5032,7 +5032,7 @@ declare const ListMarketRewardsRequestSchema: z.ZodObject<{
|
|
|
5032
5032
|
type ListMarketRewardsRequest = z.input<typeof ListMarketRewardsRequestSchema>;
|
|
5033
5033
|
type ListMarketRewardsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5034
5034
|
declare const ListMarketRewardsError: {
|
|
5035
|
-
isError(error: unknown): error is
|
|
5035
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5036
5036
|
};
|
|
5037
5037
|
/**
|
|
5038
5038
|
* Lists reward configurations for a market.
|
|
@@ -5100,7 +5100,7 @@ type FetchCommentsByIdRequest = z.input<typeof FetchCommentsByIdRequestSchema>;
|
|
|
5100
5100
|
type ListCommentsByUserAddressRequest = z.input<typeof ListCommentsByUserAddressRequestSchema>;
|
|
5101
5101
|
type ListCommentsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5102
5102
|
declare const ListCommentsError: {
|
|
5103
|
-
isError(error: unknown): error is
|
|
5103
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5104
5104
|
};
|
|
5105
5105
|
/**
|
|
5106
5106
|
* Lists comments for an event or series.
|
|
@@ -5145,7 +5145,7 @@ declare const ListCommentsError: {
|
|
|
5145
5145
|
declare function listComments(client: BaseClient, request: ListCommentsRequest): Paginated<Comment[]>;
|
|
5146
5146
|
type FetchCommentsByIdError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5147
5147
|
declare const FetchCommentsByIdError: {
|
|
5148
|
-
isError(error: unknown): error is
|
|
5148
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5149
5149
|
};
|
|
5150
5150
|
/**
|
|
5151
5151
|
* Fetches a comment thread by comment id.
|
|
@@ -5169,7 +5169,7 @@ declare const FetchCommentsByIdError: {
|
|
|
5169
5169
|
declare function fetchCommentsById(client: BaseClient, request: FetchCommentsByIdRequest): Promise<Comment[]>;
|
|
5170
5170
|
type ListCommentsByUserAddressError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5171
5171
|
declare const ListCommentsByUserAddressError: {
|
|
5172
|
-
isError(error: unknown): error is
|
|
5172
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5173
5173
|
};
|
|
5174
5174
|
/**
|
|
5175
5175
|
* Lists comments written by a wallet address.
|
|
@@ -5293,7 +5293,7 @@ declare const FetchEventLiveVolumeRequestSchema: z.ZodObject<{
|
|
|
5293
5293
|
type FetchEventLiveVolumeRequest = z.input<typeof FetchEventLiveVolumeRequestSchema>;
|
|
5294
5294
|
type ListEventsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5295
5295
|
declare const ListEventsError: {
|
|
5296
|
-
isError(error: unknown): error is
|
|
5296
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5297
5297
|
};
|
|
5298
5298
|
/**
|
|
5299
5299
|
* Lists events.
|
|
@@ -5338,7 +5338,7 @@ declare const ListEventsError: {
|
|
|
5338
5338
|
declare function listEvents(client: BaseClient, request?: ListEventsRequest): Paginated<Event[]>;
|
|
5339
5339
|
type FetchEventError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5340
5340
|
declare const FetchEventError: {
|
|
5341
|
-
isError(error: unknown): error is
|
|
5341
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5342
5342
|
};
|
|
5343
5343
|
/**
|
|
5344
5344
|
* Fetches an event.
|
|
@@ -5369,7 +5369,7 @@ declare const FetchEventError: {
|
|
|
5369
5369
|
declare function fetchEvent(client: BaseClient, request: FetchEventRequest): Promise<Event>;
|
|
5370
5370
|
type FetchEventTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5371
5371
|
declare const FetchEventTagsError: {
|
|
5372
|
-
isError(error: unknown): error is
|
|
5372
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5373
5373
|
};
|
|
5374
5374
|
/**
|
|
5375
5375
|
* Fetches an event's tags.
|
|
@@ -5392,7 +5392,7 @@ declare const FetchEventTagsError: {
|
|
|
5392
5392
|
declare function fetchEventTags(client: BaseClient, request: FetchEventTagsRequest): Promise<TagReference[]>;
|
|
5393
5393
|
type FetchEventLiveVolumeError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5394
5394
|
declare const FetchEventLiveVolumeError: {
|
|
5395
|
-
isError(error: unknown): error is
|
|
5395
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5396
5396
|
};
|
|
5397
5397
|
/**
|
|
5398
5398
|
* Fetches live volume for an event.
|
|
@@ -5465,7 +5465,7 @@ type ListBuilderVolumeRequest = z.input<typeof ListBuilderVolumeRequestSchema>;
|
|
|
5465
5465
|
type ListTraderLeaderboardRequest = z.input<typeof ListTraderLeaderboardRequestSchema>;
|
|
5466
5466
|
type ListBuilderLeaderboardError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5467
5467
|
declare const ListBuilderLeaderboardError: {
|
|
5468
|
-
isError(error: unknown): error is
|
|
5468
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5469
5469
|
};
|
|
5470
5470
|
/**
|
|
5471
5471
|
* Lists builder leaderboard rankings.
|
|
@@ -5508,7 +5508,7 @@ declare const ListBuilderLeaderboardError: {
|
|
|
5508
5508
|
declare function listBuilderLeaderboard(client: BaseClient, request?: ListBuilderLeaderboardRequest): Paginated<LeaderboardEntry[]>;
|
|
5509
5509
|
type ListBuilderVolumeError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5510
5510
|
declare const ListBuilderVolumeError: {
|
|
5511
|
-
isError(error: unknown): error is
|
|
5511
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5512
5512
|
};
|
|
5513
5513
|
/**
|
|
5514
5514
|
* Lists daily builder volume entries.
|
|
@@ -5531,7 +5531,7 @@ declare const ListBuilderVolumeError: {
|
|
|
5531
5531
|
declare function fetchBuilderVolume(client: BaseClient, request?: ListBuilderVolumeRequest): Promise<BuilderVolumeEntry[]>;
|
|
5532
5532
|
type ListTraderLeaderboardError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5533
5533
|
declare const ListTraderLeaderboardError: {
|
|
5534
|
-
isError(error: unknown): error is
|
|
5534
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5535
5535
|
};
|
|
5536
5536
|
/**
|
|
5537
5537
|
* Lists trader leaderboard rankings.
|
|
@@ -5590,7 +5590,7 @@ declare const ListMarketClarificationsRequestSchema: z.ZodObject<{
|
|
|
5590
5590
|
type ListMarketClarificationsRequest = z.input<typeof ListMarketClarificationsRequestSchema>;
|
|
5591
5591
|
type ListMarketClarificationsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5592
5592
|
declare const ListMarketClarificationsError: {
|
|
5593
|
-
isError(error: unknown): error is
|
|
5593
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5594
5594
|
};
|
|
5595
5595
|
/**
|
|
5596
5596
|
* Lists market clarifications — official notes that resolve ambiguity in how a
|
|
@@ -5722,7 +5722,7 @@ type ListOpenInterestRequest = z.input<typeof ListOpenInterestRequestSchema>;
|
|
|
5722
5722
|
type ListMarketPositionsRequest = z.input<typeof ListMarketPositionsRequestSchema>;
|
|
5723
5723
|
type ListMarketsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5724
5724
|
declare const ListMarketsError: {
|
|
5725
|
-
isError(error: unknown): error is
|
|
5725
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5726
5726
|
};
|
|
5727
5727
|
/**
|
|
5728
5728
|
* Lists markets.
|
|
@@ -5774,7 +5774,7 @@ declare const ListComboMarketsRequestSchema: z.ZodObject<{
|
|
|
5774
5774
|
type ListComboMarketsRequest = z.input<typeof ListComboMarketsRequestSchema>;
|
|
5775
5775
|
type ListComboMarketsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5776
5776
|
declare const ListComboMarketsError: {
|
|
5777
|
-
isError(error: unknown): error is
|
|
5777
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5778
5778
|
};
|
|
5779
5779
|
/**
|
|
5780
5780
|
* Lists markets available for Combos.
|
|
@@ -5812,7 +5812,7 @@ declare const ListComboMarketsError: {
|
|
|
5812
5812
|
declare function listComboMarkets(client: BaseClient, request?: ListComboMarketsRequest): Paginated<ComboMarket[]>;
|
|
5813
5813
|
type FetchMarketError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5814
5814
|
declare const FetchMarketError: {
|
|
5815
|
-
isError(error: unknown): error is
|
|
5815
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5816
5816
|
};
|
|
5817
5817
|
/**
|
|
5818
5818
|
* Fetches a market.
|
|
@@ -5847,7 +5847,7 @@ declare const FetchMarketError: {
|
|
|
5847
5847
|
declare function fetchMarket(client: BaseClient, request: FetchMarketRequest): Promise<Market>;
|
|
5848
5848
|
type FetchMarketTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5849
5849
|
declare const FetchMarketTagsError: {
|
|
5850
|
-
isError(error: unknown): error is
|
|
5850
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5851
5851
|
};
|
|
5852
5852
|
/**
|
|
5853
5853
|
* Fetches a market's tags.
|
|
@@ -5870,7 +5870,7 @@ declare const FetchMarketTagsError: {
|
|
|
5870
5870
|
declare function fetchMarketTags(client: BaseClient, request: FetchMarketTagsRequest): Promise<TagReference[]>;
|
|
5871
5871
|
type ListMarketHoldersError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5872
5872
|
declare const ListMarketHoldersError: {
|
|
5873
|
-
isError(error: unknown): error is
|
|
5873
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5874
5874
|
};
|
|
5875
5875
|
/**
|
|
5876
5876
|
* Lists the top holders for one or more markets.
|
|
@@ -5894,7 +5894,7 @@ declare const ListMarketHoldersError: {
|
|
|
5894
5894
|
declare function listMarketHolders(client: BaseClient, request: ListMarketHoldersRequest): Promise<MetaHolder[]>;
|
|
5895
5895
|
type ListOpenInterestError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5896
5896
|
declare const ListOpenInterestError: {
|
|
5897
|
-
isError(error: unknown): error is
|
|
5897
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5898
5898
|
};
|
|
5899
5899
|
/**
|
|
5900
5900
|
* Lists open interest for one or more markets.
|
|
@@ -5917,7 +5917,7 @@ declare const ListOpenInterestError: {
|
|
|
5917
5917
|
declare function listOpenInterest(client: BaseClient, request?: ListOpenInterestRequest): Promise<OpenInterest[]>;
|
|
5918
5918
|
type ListMarketPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
5919
5919
|
declare const ListMarketPositionsError: {
|
|
5920
|
-
isError(error: unknown): error is
|
|
5920
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
5921
5921
|
};
|
|
5922
5922
|
/**
|
|
5923
5923
|
* Lists positions for a market.
|
|
@@ -6397,7 +6397,7 @@ type UpdatePerpsLeverageRequest = {
|
|
|
6397
6397
|
};
|
|
6398
6398
|
type UpdatePerpsLeverageError = RequestRejectedError | SigningError | TransportError | UserInputError;
|
|
6399
6399
|
declare const UpdatePerpsLeverageError: {
|
|
6400
|
-
isError(error: unknown): error is
|
|
6400
|
+
isError(error: unknown): error is UserInputError | TransportError | RequestRejectedError | SigningError;
|
|
6401
6401
|
};
|
|
6402
6402
|
|
|
6403
6403
|
type PerpsSessionOptions = {
|
|
@@ -6658,7 +6658,7 @@ declare class PerpsSession implements AsyncIterable<PerpsSessionEvent> {
|
|
|
6658
6658
|
|
|
6659
6659
|
type PerpsPublicReadError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6660
6660
|
declare const PerpsPublicReadError: {
|
|
6661
|
-
isError(error: unknown): error is
|
|
6661
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
6662
6662
|
};
|
|
6663
6663
|
type FetchPerpsInstrumentsRequest = {
|
|
6664
6664
|
/** Perps instrument identifier to fetch. */
|
|
@@ -6668,7 +6668,7 @@ type FetchPerpsInstrumentsRequest = {
|
|
|
6668
6668
|
};
|
|
6669
6669
|
type FetchPerpsInstrumentsError = PerpsPublicReadError;
|
|
6670
6670
|
declare const FetchPerpsInstrumentsError: {
|
|
6671
|
-
isError(error: unknown): error is
|
|
6671
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
6672
6672
|
};
|
|
6673
6673
|
/**
|
|
6674
6674
|
* Fetches Perps instruments.
|
|
@@ -6686,7 +6686,7 @@ type FetchPerpsTickerRequest = {
|
|
|
6686
6686
|
};
|
|
6687
6687
|
type FetchPerpsTickerError = PerpsPublicReadError;
|
|
6688
6688
|
declare const FetchPerpsTickerError: {
|
|
6689
|
-
isError(error: unknown): error is
|
|
6689
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
6690
6690
|
};
|
|
6691
6691
|
/**
|
|
6692
6692
|
* Fetches the current Perps ticker for an instrument.
|
|
@@ -6704,7 +6704,7 @@ type FetchPerpsTickersRequest = {
|
|
|
6704
6704
|
};
|
|
6705
6705
|
type FetchPerpsTickersError = PerpsPublicReadError;
|
|
6706
6706
|
declare const FetchPerpsTickersError: {
|
|
6707
|
-
isError(error: unknown): error is
|
|
6707
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
6708
6708
|
};
|
|
6709
6709
|
/**
|
|
6710
6710
|
* Fetches current Perps tickers.
|
|
@@ -6725,7 +6725,7 @@ type FetchPerpsBookRequest = {
|
|
|
6725
6725
|
};
|
|
6726
6726
|
type FetchPerpsBookError = PerpsPublicReadError;
|
|
6727
6727
|
declare const FetchPerpsBookError: {
|
|
6728
|
-
isError(error: unknown): error is
|
|
6728
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
6729
6729
|
};
|
|
6730
6730
|
/**
|
|
6731
6731
|
* Fetches a Perps order book.
|
|
@@ -6754,7 +6754,7 @@ type ListPerpsCandlesRequest = {
|
|
|
6754
6754
|
};
|
|
6755
6755
|
type ListPerpsCandlesError = PerpsPublicReadError;
|
|
6756
6756
|
declare const ListPerpsCandlesError: {
|
|
6757
|
-
isError(error: unknown): error is
|
|
6757
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
6758
6758
|
};
|
|
6759
6759
|
/**
|
|
6760
6760
|
* Lists Perps candles for an instrument with SDK-owned pagination.
|
|
@@ -6781,7 +6781,7 @@ type ListPerpsFundingHistoryRequest = {
|
|
|
6781
6781
|
};
|
|
6782
6782
|
type ListPerpsFundingHistoryError = PerpsPublicReadError;
|
|
6783
6783
|
declare const ListPerpsFundingHistoryError: {
|
|
6784
|
-
isError(error: unknown): error is
|
|
6784
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
6785
6785
|
};
|
|
6786
6786
|
/**
|
|
6787
6787
|
* Lists Perps funding-rate history for an instrument with SDK-owned pagination.
|
|
@@ -6808,7 +6808,7 @@ type ListPerpsTradesRequest = {
|
|
|
6808
6808
|
};
|
|
6809
6809
|
type ListPerpsTradesError = PerpsPublicReadError;
|
|
6810
6810
|
declare const ListPerpsTradesError: {
|
|
6811
|
-
isError(error: unknown): error is
|
|
6811
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
6812
6812
|
};
|
|
6813
6813
|
/**
|
|
6814
6814
|
* Lists recent Perps trades for an instrument with SDK-owned pagination.
|
|
@@ -6822,7 +6822,7 @@ declare const ListPerpsTradesError: {
|
|
|
6822
6822
|
declare function listPerpsTrades(client: BaseClient, request: ListPerpsTradesRequest): Paginated<PerpsPublicTrade[]>;
|
|
6823
6823
|
type FetchPerpsFeesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError;
|
|
6824
6824
|
declare const FetchPerpsFeesError: {
|
|
6825
|
-
isError(error: unknown): error is
|
|
6825
|
+
isError(error: unknown): error is UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
6826
6826
|
};
|
|
6827
6827
|
/**
|
|
6828
6828
|
* Fetches the Perps fee schedule.
|
|
@@ -6863,11 +6863,11 @@ type WithdrawFromPerpsRequest = {
|
|
|
6863
6863
|
};
|
|
6864
6864
|
type OpenPerpsSessionError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6865
6865
|
declare const OpenPerpsSessionError: {
|
|
6866
|
-
isError(error: unknown): error is
|
|
6866
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
6867
6867
|
};
|
|
6868
6868
|
type RevokePerpsCredentialsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6869
6869
|
declare const RevokePerpsCredentialsError: {
|
|
6870
|
-
isError(error: unknown): error is
|
|
6870
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
6871
6871
|
};
|
|
6872
6872
|
type PreparePerpsDepositError = UserInputError;
|
|
6873
6873
|
declare const PreparePerpsDepositError: {
|
|
@@ -6875,11 +6875,11 @@ declare const PreparePerpsDepositError: {
|
|
|
6875
6875
|
};
|
|
6876
6876
|
type DepositToPerpsError = RateLimitError | RequestRejectedError | CancelledSigningError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6877
6877
|
declare const DepositToPerpsError: {
|
|
6878
|
-
isError(error: unknown): error is
|
|
6878
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | CancelledSigningError | SigningError;
|
|
6879
6879
|
};
|
|
6880
6880
|
type WithdrawFromPerpsError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6881
6881
|
declare const WithdrawFromPerpsError: {
|
|
6882
|
-
isError(error: unknown): error is
|
|
6882
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | SigningError;
|
|
6883
6883
|
};
|
|
6884
6884
|
/**
|
|
6885
6885
|
* Opens a Perps account session.
|
|
@@ -6973,39 +6973,39 @@ type MergePositionsWorkflow = AsyncGenerator<MergePositionsWorkflowRequest, Tran
|
|
|
6973
6973
|
type RedeemPositionsWorkflow = AsyncGenerator<RedeemPositionsWorkflowRequest, TransactionHandle, EvmAddress | EvmSignature | TransactionHandle>;
|
|
6974
6974
|
type PrepareSplitPositionError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6975
6975
|
declare const PrepareSplitPositionError: {
|
|
6976
|
-
isError(error: unknown): error is
|
|
6976
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
6977
6977
|
};
|
|
6978
6978
|
type PrepareSplitMarketPositionError = PrepareSplitPositionError;
|
|
6979
6979
|
declare const PrepareSplitMarketPositionError: {
|
|
6980
|
-
isError(error: unknown): error is
|
|
6980
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
6981
6981
|
};
|
|
6982
6982
|
type PrepareSplitComboPositionError = PrepareSplitPositionError;
|
|
6983
6983
|
declare const PrepareSplitComboPositionError: {
|
|
6984
|
-
isError(error: unknown): error is
|
|
6984
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
6985
6985
|
};
|
|
6986
6986
|
type PrepareMergePositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6987
6987
|
declare const PrepareMergePositionsError: {
|
|
6988
|
-
isError(error: unknown): error is
|
|
6988
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
6989
6989
|
};
|
|
6990
6990
|
type PrepareMergeMarketPositionError = PrepareMergePositionsError;
|
|
6991
6991
|
declare const PrepareMergeMarketPositionError: {
|
|
6992
|
-
isError(error: unknown): error is
|
|
6992
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
6993
6993
|
};
|
|
6994
6994
|
type PrepareMergeComboPositionError = PrepareMergePositionsError;
|
|
6995
6995
|
declare const PrepareMergeComboPositionError: {
|
|
6996
|
-
isError(error: unknown): error is
|
|
6996
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
6997
6997
|
};
|
|
6998
6998
|
type PrepareRedeemPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
6999
6999
|
declare const PrepareRedeemPositionsError: {
|
|
7000
|
-
isError(error: unknown): error is
|
|
7000
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
7001
7001
|
};
|
|
7002
7002
|
type PrepareRedeemMarketPositionsError = PrepareRedeemPositionsError;
|
|
7003
7003
|
declare const PrepareRedeemMarketPositionsError: {
|
|
7004
|
-
isError(error: unknown): error is
|
|
7004
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
7005
7005
|
};
|
|
7006
7006
|
type PrepareRedeemComboPositionError = PrepareRedeemPositionsError;
|
|
7007
7007
|
declare const PrepareRedeemComboPositionError: {
|
|
7008
|
-
isError(error: unknown): error is
|
|
7008
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
7009
7009
|
};
|
|
7010
7010
|
/**
|
|
7011
7011
|
* Starts a split workflow for a market condition.
|
|
@@ -7053,15 +7053,15 @@ declare function prepareSplitComboPosition(client: BaseSecureClient, request: Pr
|
|
|
7053
7053
|
declare function prepareSplitPosition(client: BaseSecureClient, request: PrepareSplitPositionRequest): Promise<SplitPositionWorkflow>;
|
|
7054
7054
|
type SplitPositionError = CancelledSigningError | RateLimitError | RequestRejectedError | SigningError | TimeoutError | TransactionFailedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7055
7055
|
declare const SplitPositionError: {
|
|
7056
|
-
isError(error: unknown): error is
|
|
7056
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
|
|
7057
7057
|
};
|
|
7058
7058
|
type SplitMarketPositionError = SplitPositionError;
|
|
7059
7059
|
declare const SplitMarketPositionError: {
|
|
7060
|
-
isError(error: unknown): error is
|
|
7060
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
|
|
7061
7061
|
};
|
|
7062
7062
|
type SplitComboPositionError = SplitPositionError;
|
|
7063
7063
|
declare const SplitComboPositionError: {
|
|
7064
|
-
isError(error: unknown): error is
|
|
7064
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
|
|
7065
7065
|
};
|
|
7066
7066
|
/**
|
|
7067
7067
|
* Splits collateral into market positions.
|
|
@@ -7165,15 +7165,15 @@ declare function prepareMergeComboPosition(client: BaseSecureClient, request: Pr
|
|
|
7165
7165
|
declare function prepareMergePositions(client: BaseSecureClient, request: PrepareMergePositionsRequest): Promise<MergePositionsWorkflow>;
|
|
7166
7166
|
type MergePositionsError = CancelledSigningError | RateLimitError | RequestRejectedError | SigningError | TimeoutError | TransactionFailedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7167
7167
|
declare const MergePositionsError: {
|
|
7168
|
-
isError(error: unknown): error is
|
|
7168
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
|
|
7169
7169
|
};
|
|
7170
7170
|
type MergeMarketPositionError = MergePositionsError;
|
|
7171
7171
|
declare const MergeMarketPositionError: {
|
|
7172
|
-
isError(error: unknown): error is
|
|
7172
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
|
|
7173
7173
|
};
|
|
7174
7174
|
type MergeComboPositionError = MergePositionsError;
|
|
7175
7175
|
declare const MergeComboPositionError: {
|
|
7176
|
-
isError(error: unknown): error is
|
|
7176
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError | CancelledSigningError | SigningError;
|
|
7177
7177
|
};
|
|
7178
7178
|
/**
|
|
7179
7179
|
* Merges complementary market positions back into collateral.
|
|
@@ -7299,7 +7299,7 @@ declare function prepareRedeemComboPosition(client: BaseSecureClient, request: P
|
|
|
7299
7299
|
declare function prepareRedeemPositions(client: BaseSecureClient, request: PrepareRedeemPositionsRequest): Promise<RedeemPositionsWorkflow>;
|
|
7300
7300
|
type RedeemPositionsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
|
|
7301
7301
|
declare const RedeemPositionsError: {
|
|
7302
|
-
isError(error: unknown): error is
|
|
7302
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | CancelledSigningError | SigningError;
|
|
7303
7303
|
};
|
|
7304
7304
|
/**
|
|
7305
7305
|
* Redeems resolved market or combo positions.
|
|
@@ -7318,7 +7318,7 @@ declare const FetchPublicProfileRequestSchema: z.ZodObject<{
|
|
|
7318
7318
|
type FetchPublicProfileRequest = z.input<typeof FetchPublicProfileRequestSchema>;
|
|
7319
7319
|
type FetchPublicProfileError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7320
7320
|
declare const FetchPublicProfileError: {
|
|
7321
|
-
isError(error: unknown): error is
|
|
7321
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
7322
7322
|
};
|
|
7323
7323
|
/**
|
|
7324
7324
|
* Fetches a public profile by wallet address.
|
|
@@ -7378,7 +7378,7 @@ type SearchResults = {
|
|
|
7378
7378
|
};
|
|
7379
7379
|
type SearchError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7380
7380
|
declare const SearchError: {
|
|
7381
|
-
isError(error: unknown): error is
|
|
7381
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
7382
7382
|
};
|
|
7383
7383
|
/**
|
|
7384
7384
|
* Runs a public full-text search.
|
|
@@ -7434,7 +7434,7 @@ type ListSeriesRequest = z.input<typeof ListSeriesRequestSchema>;
|
|
|
7434
7434
|
type FetchSeriesRequest = z.input<typeof FetchSeriesRequestSchema>;
|
|
7435
7435
|
type ListSeriesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7436
7436
|
declare const ListSeriesError: {
|
|
7437
|
-
isError(error: unknown): error is
|
|
7437
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
7438
7438
|
};
|
|
7439
7439
|
/**
|
|
7440
7440
|
* Lists series.
|
|
@@ -7477,7 +7477,7 @@ declare const ListSeriesError: {
|
|
|
7477
7477
|
declare function listSeries(client: BaseClient, request?: ListSeriesRequest): Paginated<Series[]>;
|
|
7478
7478
|
type FetchSeriesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7479
7479
|
declare const FetchSeriesError: {
|
|
7480
|
-
isError(error: unknown): error is
|
|
7480
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
7481
7481
|
};
|
|
7482
7482
|
/**
|
|
7483
7483
|
* Fetches a series.
|
|
@@ -7679,7 +7679,7 @@ type FetchRelatedTagsRequest = z.input<typeof RelatedTagsByIdRequestSchema> | z.
|
|
|
7679
7679
|
type FetchRelatedTagResourcesRequest = z.input<typeof RelatedTagResourcesByIdRequestSchema> | z.input<typeof RelatedTagResourcesBySlugRequestSchema>;
|
|
7680
7680
|
type ListTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7681
7681
|
declare const ListTagsError: {
|
|
7682
|
-
isError(error: unknown): error is
|
|
7682
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
7683
7683
|
};
|
|
7684
7684
|
/**
|
|
7685
7685
|
* Lists tags.
|
|
@@ -7722,7 +7722,7 @@ declare const ListTagsError: {
|
|
|
7722
7722
|
declare function listTags(client: BaseClient, request?: ListTagsRequest): Paginated<Tag[]>;
|
|
7723
7723
|
type FetchTagError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7724
7724
|
declare const FetchTagError: {
|
|
7725
|
-
isError(error: unknown): error is
|
|
7725
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
7726
7726
|
};
|
|
7727
7727
|
/**
|
|
7728
7728
|
* Fetches a tag by id or slug.
|
|
@@ -7746,7 +7746,7 @@ declare const FetchTagError: {
|
|
|
7746
7746
|
declare function fetchTag(client: BaseClient, request: FetchTagRequest): Promise<Tag>;
|
|
7747
7747
|
type FetchRelatedTagsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7748
7748
|
declare const FetchRelatedTagsError: {
|
|
7749
|
-
isError(error: unknown): error is
|
|
7749
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
7750
7750
|
};
|
|
7751
7751
|
/**
|
|
7752
7752
|
* Fetches related tag relationships by id or slug.
|
|
@@ -7771,7 +7771,7 @@ declare const FetchRelatedTagsError: {
|
|
|
7771
7771
|
declare function fetchRelatedTags(client: BaseClient, request: FetchRelatedTagsRequest): Promise<RelatedTag[]>;
|
|
7772
7772
|
type FetchRelatedTagResourcesError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7773
7773
|
declare const FetchRelatedTagResourcesError: {
|
|
7774
|
-
isError(error: unknown): error is
|
|
7774
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
7775
7775
|
};
|
|
7776
7776
|
/**
|
|
7777
7777
|
* Fetches resources linked from related tag relationships by id or slug.
|
|
@@ -7808,7 +7808,7 @@ declare const ListTeamsRequestSchema: z.ZodObject<{
|
|
|
7808
7808
|
type ListTeamsRequest = z.input<typeof ListTeamsRequestSchema>;
|
|
7809
7809
|
type ListTeamsError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
7810
7810
|
declare const ListTeamsError: {
|
|
7811
|
-
isError(error: unknown): error is
|
|
7811
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError;
|
|
7812
7812
|
};
|
|
7813
7813
|
/**
|
|
7814
7814
|
* Lists teams.
|
|
@@ -7884,7 +7884,7 @@ declare const PrepareErc20TransferError: {
|
|
|
7884
7884
|
declare function prepareErc20Transfer(client: BaseSecureClient, request: PrepareErc20TransferRequest): Promise<Erc20TransferWorkflow>;
|
|
7885
7885
|
type TransferErc20Error = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError | CancelledSigningError | SigningError;
|
|
7886
7886
|
declare const TransferErc20Error: {
|
|
7887
|
-
isError(error: unknown): error is
|
|
7887
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | CancelledSigningError | SigningError;
|
|
7888
7888
|
};
|
|
7889
7889
|
/**
|
|
7890
7890
|
* Transfers ERC-20 tokens from the authenticated account.
|
|
@@ -7941,7 +7941,7 @@ type TransactionOutcome = {
|
|
|
7941
7941
|
};
|
|
7942
7942
|
type WaitForTransactionError = WaitForGaslessTransactionError;
|
|
7943
7943
|
declare const WaitForTransactionError: {
|
|
7944
|
-
isError(error: unknown): error is
|
|
7944
|
+
isError(error: unknown): error is UserInputError | UnexpectedResponseError | TransportError | RequestRejectedError | RateLimitError | TimeoutError | TransactionFailedError;
|
|
7945
7945
|
};
|
|
7946
7946
|
interface TransactionHandle {
|
|
7947
7947
|
/**
|