@polymarket/client 0.3.0-beta.1 → 0.4.0
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 +3 -3
- package/dist/actions/index.js +1 -1
- package/dist/chunk-HFDKKOAD.js +3 -0
- package/dist/chunk-HFDKKOAD.js.map +1 -0
- package/dist/ethers-v5.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{sports-BrD6Dal5.d.ts → sports-CT3xKd9T.d.ts} +1 -1
- package/dist/{types-BXOHrumK.d.ts → types-DcsPnLma.d.ts} +59 -18
- package/dist/viem.d.ts +1 -1
- package/package.json +2 -2
- package/dist/chunk-NJ2FDU52.js +0 -3
- package/dist/chunk-NJ2FDU52.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OrderResponse } from '@polymarket/bindings/clob';
|
|
2
|
-
import { bP as RateLimitError, bS as RequestRejectedError, cB as SigningError, cJ as TransportError, cM as UnexpectedResponseError, U as UserInputError, ay as InsufficientLiquidityError, h as BaseSecureClient,
|
|
2
|
+
import { bP as RateLimitError, bS as RequestRejectedError, cB as SigningError, cJ as TransportError, cM as UnexpectedResponseError, U as UserInputError, ay as InsufficientLiquidityError, h as BaseSecureClient, fg as PrepareLimitOrderRequest, eV as OrderWorkflow, eU as OrderPostingWorkflow, fi as PrepareMarketOrderRequest, p as CancelledSigningError, bF as PostOrderError, cE as TimeoutError, cF as TransactionFailedError, fU as SignedOrder, B as BaseClient } from './types-DcsPnLma.js';
|
|
3
3
|
import { SportsMarketTypesResponse, SportsMetadata } from '@polymarket/bindings/gamma';
|
|
4
4
|
|
|
5
5
|
type PrepareMarketOrderError = InsufficientLiquidityError | RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
|
|
@@ -449,6 +449,8 @@ declare const ListActivityError: {
|
|
|
449
449
|
/**
|
|
450
450
|
* Lists wallet activity.
|
|
451
451
|
*
|
|
452
|
+
* All activity types are returned by default, including deposits and withdrawals; use the `type` filter to narrow results.
|
|
453
|
+
*
|
|
452
454
|
* @remarks
|
|
453
455
|
* This is a low-level function. Most SDK consumers should prefer the client instance API.
|
|
454
456
|
*
|
|
@@ -999,6 +1001,8 @@ type PublicAccountActions = Prettify<CommonAccountActions & {
|
|
|
999
1001
|
/**
|
|
1000
1002
|
* Lists wallet activity.
|
|
1001
1003
|
*
|
|
1004
|
+
* All activity types are returned by default, including deposits and withdrawals; use the `type` filter to narrow results.
|
|
1005
|
+
*
|
|
1002
1006
|
* @throws {@link ListActivityError}
|
|
1003
1007
|
* Thrown on failure.
|
|
1004
1008
|
*
|
|
@@ -1121,6 +1125,8 @@ type SecureAccountActions = Prettify<CommonAccountActions & {
|
|
|
1121
1125
|
*
|
|
1122
1126
|
* Defaults to the authenticated account's wallet when `user` is omitted.
|
|
1123
1127
|
*
|
|
1128
|
+
* All activity types are returned by default, including deposits and withdrawals; use the `type` filter to narrow results.
|
|
1129
|
+
*
|
|
1124
1130
|
* @throws {@link ListActivityError}
|
|
1125
1131
|
* Thrown on failure.
|
|
1126
1132
|
*/
|
|
@@ -2877,8 +2883,7 @@ type PublicSubscriptionsActions = {
|
|
|
2877
2883
|
* Starts one or more realtime subscriptions on this client.
|
|
2878
2884
|
*
|
|
2879
2885
|
* @throws {@link SubscribeError}
|
|
2880
|
-
* Thrown when
|
|
2881
|
-
* realtime connection fails.
|
|
2886
|
+
* Thrown when subscription input is invalid or a realtime subscription fails.
|
|
2882
2887
|
*
|
|
2883
2888
|
* @example
|
|
2884
2889
|
* ```ts
|
|
@@ -2898,8 +2903,7 @@ type SecureSubscriptionsActions = {
|
|
|
2898
2903
|
* Starts one or more realtime subscriptions on this client.
|
|
2899
2904
|
*
|
|
2900
2905
|
* @throws {@link SubscribeError}
|
|
2901
|
-
* Thrown when
|
|
2902
|
-
* realtime connection fails.
|
|
2906
|
+
* Thrown when subscription input is invalid or a realtime subscription fails.
|
|
2903
2907
|
*
|
|
2904
2908
|
* @example
|
|
2905
2909
|
* ```ts
|
|
@@ -3110,18 +3114,17 @@ type PrepareMarketBuyOrderRequest = BasePrepareMarketOrderRequest & {
|
|
|
3110
3114
|
* Desired USD notional to buy, before market and builder taker fees.
|
|
3111
3115
|
*
|
|
3112
3116
|
* By default, the SDK prepares the order for this full buy amount and applicable
|
|
3113
|
-
* fees are paid on top. Set `maxSpend`
|
|
3114
|
-
*
|
|
3117
|
+
* fees are paid on top. Set `maxSpend` to let the SDK resize the amount against
|
|
3118
|
+
* an estimated all-in spend target.
|
|
3115
3119
|
*/
|
|
3116
3120
|
amount: number | string;
|
|
3117
3121
|
/**
|
|
3118
|
-
* Optional all-in USD spend
|
|
3119
|
-
* builder taker fees.
|
|
3122
|
+
* Optional estimated all-in USD spend target for BUY market orders, including
|
|
3123
|
+
* market and builder taker fees.
|
|
3120
3124
|
*
|
|
3121
3125
|
* When provided, the SDK keeps `amount` unchanged if `maxSpend` covers the
|
|
3122
|
-
* requested buy amount plus fees.
|
|
3123
|
-
*
|
|
3124
|
-
* `maxSpend`.
|
|
3126
|
+
* requested buy amount plus estimated fees. Otherwise, the SDK reduces the
|
|
3127
|
+
* signed buy amount using the order price and recently resolved fee rates.
|
|
3125
3128
|
*
|
|
3126
3129
|
* Set `maxSpend` equal to `amount` when the requested amount should include
|
|
3127
3130
|
* fees. Leave it unset to pay fees on top of `amount`.
|
|
@@ -3317,8 +3320,7 @@ declare const WaitForOrderFillSettlementError: {
|
|
|
3317
3320
|
* ```
|
|
3318
3321
|
*
|
|
3319
3322
|
* @throws {@link WaitForOrderFillSettlementError}
|
|
3320
|
-
* Thrown on failure
|
|
3321
|
-
* failing execution. The order placement itself is unaffected.
|
|
3323
|
+
* Thrown on failure.
|
|
3322
3324
|
*/
|
|
3323
3325
|
declare function waitForOrderFillSettlement(client: BaseSecureClient, order: AcceptedOrderResponse, request?: WaitForOrderFillSettlementRequest): Promise<TxHash[]>;
|
|
3324
3326
|
|
|
@@ -3484,8 +3486,7 @@ type SecureTradingActions = {
|
|
|
3484
3486
|
* subscribe to the `user` channel to follow those.
|
|
3485
3487
|
*
|
|
3486
3488
|
* @throws {@link WaitForOrderFillSettlementError}
|
|
3487
|
-
* Thrown on failure
|
|
3488
|
-
* fill failing execution. The order placement itself is unaffected.
|
|
3489
|
+
* Thrown on failure.
|
|
3489
3490
|
*
|
|
3490
3491
|
* @example
|
|
3491
3492
|
* ```ts
|
|
@@ -6822,6 +6823,27 @@ type UpdatePerpsLeverageError = RequestRejectedError | SigningError | TransportE
|
|
|
6822
6823
|
declare const UpdatePerpsLeverageError: {
|
|
6823
6824
|
isError(error: unknown): error is SigningError | TransportError | UserInputError | RequestRejectedError;
|
|
6824
6825
|
};
|
|
6826
|
+
/**
|
|
6827
|
+
* Request parameters for adjusting isolated margin on a Perps position.
|
|
6828
|
+
*
|
|
6829
|
+
* @experimental This API may change in a breaking way in any release, including patch releases.
|
|
6830
|
+
*/
|
|
6831
|
+
type UpdatePerpsMarginRequest = {
|
|
6832
|
+
/** Perps instrument identifier whose isolated margin should be adjusted. */
|
|
6833
|
+
instrumentId: number;
|
|
6834
|
+
/** Margin adjustment. Positive values add margin; negative values remove it. */
|
|
6835
|
+
amount: PerpsDecimalInput;
|
|
6836
|
+
};
|
|
6837
|
+
/**
|
|
6838
|
+
* @experimental This API may change in a breaking way in any release, including patch releases.
|
|
6839
|
+
*/
|
|
6840
|
+
type UpdatePerpsMarginError = RequestRejectedError | SigningError | TransportError | UserInputError;
|
|
6841
|
+
/**
|
|
6842
|
+
* @experimental This API may change in a breaking way in any release, including patch releases.
|
|
6843
|
+
*/
|
|
6844
|
+
declare const UpdatePerpsMarginError: {
|
|
6845
|
+
isError(error: unknown): error is SigningError | TransportError | UserInputError | RequestRejectedError;
|
|
6846
|
+
};
|
|
6825
6847
|
|
|
6826
6848
|
/**
|
|
6827
6849
|
* @experimental This API may change in a breaking way in any release, including patch releases.
|
|
@@ -7227,6 +7249,26 @@ declare class PerpsSession implements AsyncIterable<PerpsSessionEvent> {
|
|
|
7227
7249
|
* @experimental This API may change in a breaking way in any release, including patch releases.
|
|
7228
7250
|
*/
|
|
7229
7251
|
updateLeverage(request: UpdatePerpsLeverageRequest): Promise<PerpsUpdateLeverageResult>;
|
|
7252
|
+
/**
|
|
7253
|
+
* Adjusts isolated margin for an instrument position.
|
|
7254
|
+
*
|
|
7255
|
+
* @remarks
|
|
7256
|
+
* A positive amount adds isolated margin. A negative amount removes it.
|
|
7257
|
+
*
|
|
7258
|
+
* @example
|
|
7259
|
+
* ```ts
|
|
7260
|
+
* await session.updateMargin({
|
|
7261
|
+
* instrumentId: 1,
|
|
7262
|
+
* amount: '100.25',
|
|
7263
|
+
* });
|
|
7264
|
+
* ```
|
|
7265
|
+
*
|
|
7266
|
+
* @throws {@link UpdatePerpsMarginError}
|
|
7267
|
+
* Thrown on failure.
|
|
7268
|
+
*
|
|
7269
|
+
* @experimental This API may change in a breaking way in any release, including patch releases.
|
|
7270
|
+
*/
|
|
7271
|
+
updateMargin(request: UpdatePerpsMarginRequest): Promise<void>;
|
|
7230
7272
|
}
|
|
7231
7273
|
|
|
7232
7274
|
type PerpsPublicReadError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
|
|
@@ -8376,8 +8418,7 @@ declare const SubscribeError: {
|
|
|
8376
8418
|
* This is a low-level function. Most SDK consumers should prefer the client instance API.
|
|
8377
8419
|
*
|
|
8378
8420
|
* @throws {@link SubscribeError}
|
|
8379
|
-
* Thrown when
|
|
8380
|
-
* realtime connection fails.
|
|
8421
|
+
* Thrown when subscription input is invalid or a realtime subscription fails.
|
|
8381
8422
|
*
|
|
8382
8423
|
* @example
|
|
8383
8424
|
* ```ts
|
|
@@ -8737,4 +8778,4 @@ type Signer = {
|
|
|
8737
8778
|
sendTransaction(request: SignerTransactionRequest): Promise<TransactionHandle>;
|
|
8738
8779
|
};
|
|
8739
8780
|
|
|
8740
|
-
export { FetchMarketTagsError as $, type ApiKeyAuthorization as A, type BaseClient as B, CancelAllError as C, type CryptoPricesChainlinkTwapSubscription as D, type DataActions as E, DepositToPerpsError as F, type DepositToPerpsRequest as G, type DiscoveryActions as H, DownloadAccountingSnapshotError as I, DropNotificationsError as J, type EnvironmentConfig as K, type EnvironmentConfigFork as L, type EnvironmentContracts as M, EstimateMarketPriceError as N, ExecuteCollateralReturnPlanError as O, type ExecuteCollateralReturnPlanRequest as P, FetchClosedOnlyModeError as Q, FetchCommentsByIdError as R, type Signer as S, type TypedDataPayload as T, UserInputError as U, FetchEventError as V, FetchEventLiveVolumeError as W, FetchEventTagsError as X, FetchLastTradePriceError as Y, FetchLastTradePricesError as Z, FetchMarketError as _, type TypedData as a, type ListPerpsPnlHistoryRequest as a$, FetchMidpointError as a0, FetchMidpointsError as a1, FetchNotificationsError as a2, FetchOrderBookError as a3, FetchOrderBooksError as a4, FetchOrderError as a5, FetchOrderScoringError as a6, FetchOrdersScoringError as a7, type FetchPerpsAccountConfigRequest as a8, FetchPerpsBookError as a9, ListActivityError as aA, ListBuilderLeaderboardError as aB, ListBuilderTradesError as aC, ListBuilderVolumeError as aD, ListClosedPositionsError as aE, ListComboActivityError 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, ListPerpsCandlesError as aS, type ListPerpsCandlesRequest as aT, type ListPerpsDepositsRequest as aU, type ListPerpsEquityHistoryRequest as aV, type ListPerpsFillsRequest as aW, ListPerpsFundingHistoryError as aX, type ListPerpsFundingHistoryRequest as aY, type ListPerpsFundingPaymentsRequest as aZ, type ListPerpsNotificationsRequest as a_, type FetchPerpsBookRequest as aa, FetchPerpsFeesError as ab, FetchPerpsInstrumentsError as ac, type FetchPerpsInstrumentsRequest as ad, type FetchPerpsOpenOrdersRequest as ae, type FetchPerpsOrdersRequest as af, FetchPerpsTickerError as ag, type FetchPerpsTickerRequest as ah, FetchPerpsTickersError as ai, type FetchPerpsTickersRequest as aj, FetchPortfolioValueError as ak, FetchPriceError as al, FetchPriceHistoryError as am, FetchPricesError as an, FetchPublicProfileError as ao, FetchRelatedTagResourcesError as ap, FetchRelatedTagsError as aq, FetchRewardPercentagesError as ar, FetchSeriesError as as, FetchSpreadError as at, FetchSpreadsError as au, FetchTagError as av, FetchTotalEarningsForUserForDayError as aw, FetchTradedMarketCountError as ax, InsufficientLiquidityError as ay, ListAccountTradesError as az, type TransactionCall as b, type RfqCancelQuoteRejectedErrorOptions as b$, ListPerpsTradesError as b0, type ListPerpsTradesRequest as b1, type ListPerpsWithdrawalsRequest as b2, ListPositionsError as b3, ListSeriesError as b4, ListTagsError as b5, ListTeamsError as b6, ListTraderLeaderboardError as b7, ListTradesError as b8, ListUserEarningsAndMarketsConfigError as b9, type PlacePerpsOrderWithTpSlRequest as bA, type PlacePerpsOrderWithTpSlResult as bB, type PlacePerpsPositionTpSlRequest as bC, type PlacePerpsPositionTpSlResult as bD, PlanCollateralReturnError as bE, PostOrderError as bF, PostOrdersError as bG, type PostPerpsOrdersRequest as bH, type PublicAccountActions as bI, type PublicActions as bJ, type PublicClient as bK, type PublicClientOptions as bL, type PublicPerpsActions as bM, type PublicRewardsActions as bN, type PublicSubscriptionsActions as bO, RateLimitError as bP, type RateLimitErrorOptions as bQ, RedeemPositionsError as bR, RequestRejectedError as bS, type RequestRejectedErrorOptions as bT, type RestEndpoint as bU, type ResumePerpsSessionRequest as bV, RevokePerpsCredentialsError as bW, type RevokePerpsCredentialsRequest as bX, type RfqCancelQuoteAck as bY, RfqCancelQuoteError as bZ, RfqCancelQuoteRejectedError as b_, ListUserEarningsForDayError as ba, type MarkPerpsNotificationsReadRequest as bb, MergePositionsError as bc, OpenPerpsSessionError as bd, type OpenPerpsSessionRequest as be, OpenRfqSessionError as bf, type Page as bg, PageSizeSchema as bh, type Paginated as bi, type PerpsActions as bj, type PerpsBookDepth as bk, type PerpsEndpoints as bl, type PerpsOrderRequest as bm, type PerpsPlaceFokOrderRequest as bn, type PerpsPlaceGtcOrderRequest as bo, type PerpsPlaceIocOrderRequest as bp, type PerpsPlacedTpSlOrder as bq, type PerpsPlacedTpSlOrders as br, type PerpsPositionTpSlTrigger as bs, PerpsSession as bt, type PerpsSessionAccountError as bu, type PerpsSessionLifecycleError as bv, type PerpsSessionTradingError as bw, type PerpsTpSlTrigger as bx, type PlacePerpsOrderRequest as by, type PlacePerpsOrderResult as bz, type AccountIdentity as c, createSecureClient as c$, type RfqConfirmationAck as c0, RfqConfirmationError as c1, RfqConfirmationRejectedError as c2, type RfqConfirmationRequestEvent as c3, type RfqEvent as c4, RfqQuoteError as c5, type RfqQuoteReference as c6, RfqQuoteRejectedError as c7, type RfqQuoteRejectedErrorOptions as c8, type RfqQuoteRequestEvent as c9, type SignerTransactionRequest as cA, SigningError as cB, SplitPositionError as cC, SubscribeError as cD, TimeoutError as cE, TransactionFailedError as cF, type TransactionHandle as cG, type TransactionOutcome as cH, TransferErc20Error as cI, TransportError as cJ, type TypedDataDomain as cK, type TypedDataField as cL, UnexpectedResponseError as cM, UpdatePerpsLeverageError as cN, type UpdatePerpsLeverageRequest as cO, WaitForOrderFillSettlementError as cP, WaitForTransactionError as cQ, type WalletDerivationConfig as cR, type WebSocketCloseCode as cS, type WebSocketEndpoint as cT, WebSocketKnownCloseCode as cU, WithdrawFromPerpsError as cV, type WithdrawFromPerpsRequest as cW, accountActions as cX, allActions as cY, analyticsActions as cZ, createPublicClient as c_, type RfqQuoteResponse as ca, type RfqQuoteSource as cb, type RfqSession as cc, type RfqTradeEvent as cd, SearchError as ce, SearchSort as cf, type SecureAccountActions as cg, type SecureActions as ch, type SecureClient as ci, type SecureClientOptions as cj, type SecureDownloadAccountingSnapshotRequest as ck, type SecureFetchPortfolioValueRequest as cl, type SecureFetchTradedMarketCountRequest as cm, type SecureListActivityRequest as cn, type SecureListClosedPositionsRequest as co, type SecureListComboActivityRequest as cp, type SecureListComboPositionsRequest as cq, type SecureListPositionsRequest as cr, type SecurePerpsActions as cs, type SecureRewardsActions as ct, type SecureRfqActions as cu, type SecureSubscriptionsActions as cv, type SecureTradingActions as cw, type SecureWalletActions as cx, SetupGaslessWalletError as cy, SetupTradingApprovalsError as cz, type AnalyticsActions as d, type FetchPriceHistoryRequest as d$, dataActions as d0, discoveryActions as d1, forkEnvironmentConfig as d2, makeErrorGuard as d3, perpsActions as d4, production as d5, rewardsActions as d6, rfqActions as d7, subscriptionsActions as d8, tradingActions as d9, FetchBalanceAllowanceError as dA, type FetchBalanceAllowanceRequest as dB, FetchBuilderFeeRatesError as dC, type FetchBuilderFeeRatesRequest as dD, type FetchCommentsByIdRequest as dE, type FetchEventLiveVolumeRequest as dF, type FetchEventRequest as dG, type FetchEventTagsRequest as dH, FetchExecuteParamsError as dI, type FetchExecuteParamsRequest as dJ, type FetchGaslessTransactionRequest as dK, type FetchLastTradePriceRequest as dL, type FetchLastTradePricesRequest as dM, FetchMarketInfoError as dN, type FetchMarketInfoRequest as dO, type FetchMarketRequest as dP, type FetchMarketTagsRequest as dQ, type FetchMidpointRequest as dR, type FetchMidpointsRequest as dS, FetchNegRiskError as dT, type FetchNegRiskRequest as dU, type FetchOrderBookRequest as dV, type FetchOrderBooksRequest as dW, type FetchOrderRequest as dX, type FetchOrderScoringRequest as dY, type FetchOrdersScoringRequest as dZ, type FetchPortfolioValueRequest as d_, walletActions as da, type CancelMarketOrdersRequest as db, type CancelOrderRequest as dc, type CancelOrdersRequest as dd, type CollateralReturnExecutionWorkflow as de, type CommentsEventType as df, type CommentsSubscription as dg, type CryptoPricesEventType as dh, type CryptoPricesSubscription as di, DeployDepositWalletError as dj, type DownloadAccountingSnapshotRequest as dk, type DropNotificationsRequest as dl, type EquityPricesEventType as dm, type EquityPricesSubscription as dn, type Erc1155ApprovalForAllWorkflow as dp, type Erc1155ApprovalForAllWorkflowRequest as dq, type Erc20ApprovalWorkflow as dr, type Erc20ApprovalWorkflowRequest as ds, type Erc20TransferWorkflow as dt, type Erc20TransferWorkflowRequest as du, type EstimateMarketBuyPriceRequest as dv, type EstimateMarketPriceRequest as dw, type EstimateMarketSellPriceRequest as dx, type EventForSubscriptionSpec as dy, type EventForSubscriptionSpecs as dz, ApproveErc1155ForAllError as e, type PerpsMarketDataSubscription as e$, type FetchPriceRequest as e0, type FetchPricesRequest as e1, type FetchPublicProfileRequest as e2, type FetchRelatedTagResourcesRequest as e3, type FetchRelatedTagsRequest as e4, type FetchSeriesRequest as e5, type FetchSpreadRequest as e6, type FetchSpreadsRequest as e7, type FetchTagRequest as e8, FetchTickSizeError as e9, type ListMarketsRequest as eA, type ListOpenInterestRequest as eB, type ListOpenOrdersRequest as eC, type ListPositionsRequest as eD, type ListSeriesRequest as eE, type ListTagsRequest as eF, type ListTeamsRequest as eG, type ListTraderLeaderboardRequest as eH, type ListTradesRequest as eI, type ListUserEarningsAndMarketsConfigRequest as eJ, type ListUserEarningsForDayRequest as eK, type MarketEventType as eL, type MarketSubscription as eM, MergeComboPositionError as eN, MergeMarketPositionError as eO, type MergePositionsWorkflow as eP, type MergePositionsWorkflowRequest as eQ, type OrderDraft as eR, type OrderPostingWorkflow as eS, type OrderWorkflow as eT, type OrderWorkflowRequest as eU, type PerpsBboSubscription as eV, type PerpsBookSubscription as eW, type PerpsCandlesSubscription as eX, type PerpsDepositWorkflow as eY, type PerpsDepositWorkflowRequest as eZ, type PerpsMarketDataEventType as e_, type FetchTickSizeRequest as ea, type FetchTotalEarningsForUserForDayRequest as eb, type FetchTradedMarketCountRequest as ec, GaslessTransactionMetadataSchema as ed, type GaslessWorkflow as ee, type GaslessWorkflowRequest as ef, IsWalletDeployedError as eg, type IsWalletDeployedRequest as eh, type ListAccountTradesRequest as ei, type ListActivityRequest as ej, type ListBuilderLeaderboardRequest as ek, type ListBuilderTradesRequest as el, type ListBuilderVolumeRequest as em, type ListClosedPositionsRequest as en, type ListComboActivityRequest as eo, type ListComboMarketsRequest as ep, type ListComboPositionsRequest as eq, type ListCommentsByUserAddressRequest as er, type ListCommentsRequest as es, type ListCurrentRewardsRequest as et, type ListEventsRequest as eu, ListMarketClarificationsError as ev, type ListMarketClarificationsRequest as ew, type ListMarketHoldersRequest as ex, type ListMarketPositionsRequest as ey, type ListMarketRewardsRequest as ez, ApproveErc20Error as f, type TradingApprovalsWorkflowRequest as f$, type PerpsStatisticsSubscription as f0, type PerpsStreamingCandleInterval as f1, type PerpsTickersSubscription as f2, type PerpsTradesSubscription as f3, type PostOrdersRequest as f4, PrepareCollateralReturnExecutionError as f5, PrepareErc1155ApprovalForAllError as f6, type PrepareErc1155ApprovalForAllRequest as f7, PrepareErc20ApprovalError as f8, type PrepareErc20ApprovalRequest as f9, type PrepareSplitMarketPositionRequest as fA, PrepareSplitPositionError as fB, type PrepareSplitPositionRequest as fC, PrepareTradingApprovalsError as fD, type PublicRealtimeEvent as fE, type PublicRealtimeTopic as fF, type PublicSubscriptionSpec as fG, type RedeemPositionsWorkflow as fH, type RedeemPositionsWorkflowRequest as fI, ResolveConditionByTokenError as fJ, type ResolveConditionByTokenRequest as fK, type RfqConfirmationRejectedErrorOptions as fL, type RfqExecutionUpdateEvent as fM, type SearchRequest as fN, type SearchResults as fO, type SecureRealtimeEvent as fP, type SecureRealtimeTopic as fQ, type SecureSubscriptionSpec as fR, type SignedOrder as fS, SplitComboPositionError as fT, SplitMarketPositionError as fU, type SplitPositionWorkflow as fV, type SplitPositionWorkflowRequest as fW, type SportsEventType as fX, type SportsSubscription as fY, type SubscriptionHandle as fZ, type TradingApprovalsWorkflow as f_, PrepareErc20TransferError as fa, type PrepareErc20TransferRequest as fb, PrepareGaslessTransactionError as fc, type PrepareGaslessTransactionRequest as fd, type PrepareLimitOrderRequest as fe, type PrepareMarketBuyOrderRequest as ff, type PrepareMarketOrderRequest as fg, type PrepareMarketSellOrderRequest as fh, PrepareMergeComboPositionError as fi, type PrepareMergeComboPositionRequest as fj, PrepareMergeMarketPositionError as fk, type PrepareMergeMarketPositionRequest as fl, PrepareMergePositionsError as fm, type PrepareMergePositionsRequest as fn, PreparePerpsDepositError as fo, PrepareRedeemComboPositionError as fp, type PrepareRedeemComboPositionRequest as fq, type PrepareRedeemMarketPositionsByConditionIdRequest as fr, type PrepareRedeemMarketPositionsByMarketIdRequest as fs, PrepareRedeemMarketPositionsError as ft, type PrepareRedeemMarketPositionsRequest as fu, PrepareRedeemPositionsError as fv, type PrepareRedeemPositionsRequest as fw, PrepareSplitComboPositionError as fx, type PrepareSplitComboPositionRequest as fy, PrepareSplitMarketPositionError as fz, BasePublicClient as g, listAccountTrades as g$, UpdateBalanceAllowanceError as g0, type UpdateBalanceAllowanceRequest as g1, type UserEventType as g2, type UserSubscription as g3, WaitForGaslessTransactionError as g4, type WaitForOrderFillSettlementRequest as g5, approveErc1155ForAll as g6, approveErc20 as g7, cancelAll as g8, cancelMarketOrders as g9, fetchOrder as gA, fetchOrderBook as gB, fetchOrderBooks as gC, fetchOrderScoring as gD, fetchOrdersScoring as gE, fetchPerpsBook as gF, fetchPerpsFees as gG, fetchPerpsInstruments as gH, fetchPerpsTicker as gI, fetchPerpsTickers as gJ, fetchPortfolioValue as gK, fetchPrice as gL, fetchPriceHistory as gM, fetchPrices as gN, fetchPublicProfile as gO, fetchRelatedTagResources as gP, fetchRelatedTags as gQ, fetchRewardPercentages as gR, fetchSeries as gS, fetchSpread as gT, fetchSpreads as gU, fetchTag as gV, fetchTickSize as gW, fetchTotalEarningsForUserForDay as gX, fetchTradedMarketCount as gY, fetchTransaction as gZ, isWalletDeployed as g_, cancelOrder as ga, cancelOrders as gb, deployDepositWallet as gc, depositToPerps as gd, downloadAccountingSnapshot as ge, dropNotifications as gf, estimateMarketPrice as gg, executeCollateralReturnPlan as gh, fetchBalanceAllowance as gi, fetchBuilderFeeRates as gj, fetchBuilderVolume as gk, fetchClosedOnlyMode as gl, fetchCommentsById as gm, fetchEvent as gn, fetchEventLiveVolume as go, fetchEventTags as gp, fetchExecuteParams as gq, fetchLastTradePrice as gr, fetchLastTradePrices as gs, fetchMarket as gt, fetchMarketInfo as gu, fetchMarketTags as gv, fetchMidpoint as gw, fetchMidpoints as gx, fetchNegRisk as gy, fetchNotifications as gz, BaseSecureClient as h, updateBalanceAllowance as h$, listActivity as h0, listBuilderLeaderboard as h1, listBuilderTrades as h2, listClosedPositions as h3, listComboActivity as h4, listComboMarkets as h5, listComboPositions as h6, listComments as h7, listCommentsByUserAddress as h8, listCurrentRewards as h9, postOrders as hA, prepareCollateralReturnExecution as hB, prepareErc1155ApprovalForAll as hC, prepareErc20Approval as hD, prepareErc20Transfer as hE, prepareGaslessTransaction as hF, prepareMergeComboPosition as hG, prepareMergeMarketPosition as hH, prepareMergePositions as hI, preparePerpsDeposit as hJ, prepareRedeemComboPosition as hK, prepareRedeemMarketPositions as hL, prepareRedeemPositions as hM, prepareSplitComboPosition as hN, prepareSplitMarketPosition as hO, prepareSplitPosition as hP, prepareTradingApprovals as hQ, redeemPositions as hR, resolveConditionByToken as hS, revokePerpsCredentials as hT, search as hU, setupTradingApprovals as hV, splitComboPosition as hW, splitMarketPosition as hX, splitPosition as hY, subscribe as hZ, transferErc20 as h_, listEvents as ha, listMarketClarifications as hb, listMarketHolders as hc, listMarketPositions as hd, listMarketRewards as he, listMarkets as hf, listOpenInterest as hg, listOpenOrders as hh, listPerpsCandles as hi, listPerpsFundingHistory as hj, listPerpsTrades as hk, listPositions as hl, listSeries as hm, listTags as hn, listTeams as ho, listTraderLeaderboard as hp, listTrades as hq, listUserEarningsAndMarketsConfig as hr, listUserEarningsForDay as hs, mergeComboPosition as ht, mergeMarketPosition as hu, mergePositions as hv, openPerpsSession as hw, openRfqSession as hx, planCollateralReturn as hy, postOrder as hz, type BeginAuthenticationRequest as i, waitForOrderFillSettlement as i0, withdrawFromPerps as i1, type CancelAllPerpsOrdersRequest as j, CancelMarketOrdersError as k, CancelOrderError as l, CancelOrdersError as m, type CancelPerpsOrderRequest as n, type CancelPerpsOrdersRequest as o, CancelledSigningError as p, type Client as q, type ClientActions as r, type ClientDecorator as s, type ClobEndpoints as t, ComboPositionSort as u, type CombosEndpoints as v, ConnectionLostError as w, type ConnectionLostErrorOptions as x, type CreatePerpsSessionRequest as y, CreateSecureClientError as z };
|
|
8781
|
+
export { FetchMarketTagsError as $, type ApiKeyAuthorization as A, type BaseClient as B, CancelAllError as C, type CryptoPricesChainlinkTwapSubscription as D, type DataActions as E, DepositToPerpsError as F, type DepositToPerpsRequest as G, type DiscoveryActions as H, DownloadAccountingSnapshotError as I, DropNotificationsError as J, type EnvironmentConfig as K, type EnvironmentConfigFork as L, type EnvironmentContracts as M, EstimateMarketPriceError as N, ExecuteCollateralReturnPlanError as O, type ExecuteCollateralReturnPlanRequest as P, FetchClosedOnlyModeError as Q, FetchCommentsByIdError as R, type Signer as S, type TypedDataPayload as T, UserInputError as U, FetchEventError as V, FetchEventLiveVolumeError as W, FetchEventTagsError as X, FetchLastTradePriceError as Y, FetchLastTradePricesError as Z, FetchMarketError as _, type TypedData as a, type ListPerpsPnlHistoryRequest as a$, FetchMidpointError as a0, FetchMidpointsError as a1, FetchNotificationsError as a2, FetchOrderBookError as a3, FetchOrderBooksError as a4, FetchOrderError as a5, FetchOrderScoringError as a6, FetchOrdersScoringError as a7, type FetchPerpsAccountConfigRequest as a8, FetchPerpsBookError as a9, ListActivityError as aA, ListBuilderLeaderboardError as aB, ListBuilderTradesError as aC, ListBuilderVolumeError as aD, ListClosedPositionsError as aE, ListComboActivityError 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, ListPerpsCandlesError as aS, type ListPerpsCandlesRequest as aT, type ListPerpsDepositsRequest as aU, type ListPerpsEquityHistoryRequest as aV, type ListPerpsFillsRequest as aW, ListPerpsFundingHistoryError as aX, type ListPerpsFundingHistoryRequest as aY, type ListPerpsFundingPaymentsRequest as aZ, type ListPerpsNotificationsRequest as a_, type FetchPerpsBookRequest as aa, FetchPerpsFeesError as ab, FetchPerpsInstrumentsError as ac, type FetchPerpsInstrumentsRequest as ad, type FetchPerpsOpenOrdersRequest as ae, type FetchPerpsOrdersRequest as af, FetchPerpsTickerError as ag, type FetchPerpsTickerRequest as ah, FetchPerpsTickersError as ai, type FetchPerpsTickersRequest as aj, FetchPortfolioValueError as ak, FetchPriceError as al, FetchPriceHistoryError as am, FetchPricesError as an, FetchPublicProfileError as ao, FetchRelatedTagResourcesError as ap, FetchRelatedTagsError as aq, FetchRewardPercentagesError as ar, FetchSeriesError as as, FetchSpreadError as at, FetchSpreadsError as au, FetchTagError as av, FetchTotalEarningsForUserForDayError as aw, FetchTradedMarketCountError as ax, InsufficientLiquidityError as ay, ListAccountTradesError as az, type TransactionCall as b, type RfqCancelQuoteRejectedErrorOptions as b$, ListPerpsTradesError as b0, type ListPerpsTradesRequest as b1, type ListPerpsWithdrawalsRequest as b2, ListPositionsError as b3, ListSeriesError as b4, ListTagsError as b5, ListTeamsError as b6, ListTraderLeaderboardError as b7, ListTradesError as b8, ListUserEarningsAndMarketsConfigError as b9, type PlacePerpsOrderWithTpSlRequest as bA, type PlacePerpsOrderWithTpSlResult as bB, type PlacePerpsPositionTpSlRequest as bC, type PlacePerpsPositionTpSlResult as bD, PlanCollateralReturnError as bE, PostOrderError as bF, PostOrdersError as bG, type PostPerpsOrdersRequest as bH, type PublicAccountActions as bI, type PublicActions as bJ, type PublicClient as bK, type PublicClientOptions as bL, type PublicPerpsActions as bM, type PublicRewardsActions as bN, type PublicSubscriptionsActions as bO, RateLimitError as bP, type RateLimitErrorOptions as bQ, RedeemPositionsError as bR, RequestRejectedError as bS, type RequestRejectedErrorOptions as bT, type RestEndpoint as bU, type ResumePerpsSessionRequest as bV, RevokePerpsCredentialsError as bW, type RevokePerpsCredentialsRequest as bX, type RfqCancelQuoteAck as bY, RfqCancelQuoteError as bZ, RfqCancelQuoteRejectedError as b_, ListUserEarningsForDayError as ba, type MarkPerpsNotificationsReadRequest as bb, MergePositionsError as bc, OpenPerpsSessionError as bd, type OpenPerpsSessionRequest as be, OpenRfqSessionError as bf, type Page as bg, PageSizeSchema as bh, type Paginated as bi, type PerpsActions as bj, type PerpsBookDepth as bk, type PerpsEndpoints as bl, type PerpsOrderRequest as bm, type PerpsPlaceFokOrderRequest as bn, type PerpsPlaceGtcOrderRequest as bo, type PerpsPlaceIocOrderRequest as bp, type PerpsPlacedTpSlOrder as bq, type PerpsPlacedTpSlOrders as br, type PerpsPositionTpSlTrigger as bs, PerpsSession as bt, type PerpsSessionAccountError as bu, type PerpsSessionLifecycleError as bv, type PerpsSessionTradingError as bw, type PerpsTpSlTrigger as bx, type PlacePerpsOrderRequest as by, type PlacePerpsOrderResult as bz, type AccountIdentity as c, analyticsActions as c$, type RfqConfirmationAck as c0, RfqConfirmationError as c1, RfqConfirmationRejectedError as c2, type RfqConfirmationRequestEvent as c3, type RfqEvent as c4, RfqQuoteError as c5, type RfqQuoteReference as c6, RfqQuoteRejectedError as c7, type RfqQuoteRejectedErrorOptions as c8, type RfqQuoteRequestEvent as c9, type SignerTransactionRequest as cA, SigningError as cB, SplitPositionError as cC, SubscribeError as cD, TimeoutError as cE, TransactionFailedError as cF, type TransactionHandle as cG, type TransactionOutcome as cH, TransferErc20Error as cI, TransportError as cJ, type TypedDataDomain as cK, type TypedDataField as cL, UnexpectedResponseError as cM, UpdatePerpsLeverageError as cN, type UpdatePerpsLeverageRequest as cO, UpdatePerpsMarginError as cP, type UpdatePerpsMarginRequest as cQ, WaitForOrderFillSettlementError as cR, WaitForTransactionError as cS, type WalletDerivationConfig as cT, type WebSocketCloseCode as cU, type WebSocketEndpoint as cV, WebSocketKnownCloseCode as cW, WithdrawFromPerpsError as cX, type WithdrawFromPerpsRequest as cY, accountActions as cZ, allActions as c_, type RfqQuoteResponse as ca, type RfqQuoteSource as cb, type RfqSession as cc, type RfqTradeEvent as cd, SearchError as ce, SearchSort as cf, type SecureAccountActions as cg, type SecureActions as ch, type SecureClient as ci, type SecureClientOptions as cj, type SecureDownloadAccountingSnapshotRequest as ck, type SecureFetchPortfolioValueRequest as cl, type SecureFetchTradedMarketCountRequest as cm, type SecureListActivityRequest as cn, type SecureListClosedPositionsRequest as co, type SecureListComboActivityRequest as cp, type SecureListComboPositionsRequest as cq, type SecureListPositionsRequest as cr, type SecurePerpsActions as cs, type SecureRewardsActions as ct, type SecureRfqActions as cu, type SecureSubscriptionsActions as cv, type SecureTradingActions as cw, type SecureWalletActions as cx, SetupGaslessWalletError as cy, SetupTradingApprovalsError as cz, type AnalyticsActions as d, type FetchOrdersScoringRequest as d$, createPublicClient as d0, createSecureClient as d1, dataActions as d2, discoveryActions as d3, forkEnvironmentConfig as d4, makeErrorGuard as d5, perpsActions as d6, production as d7, rewardsActions as d8, rfqActions as d9, type EventForSubscriptionSpec as dA, type EventForSubscriptionSpecs as dB, FetchBalanceAllowanceError as dC, type FetchBalanceAllowanceRequest as dD, FetchBuilderFeeRatesError as dE, type FetchBuilderFeeRatesRequest as dF, type FetchCommentsByIdRequest as dG, type FetchEventLiveVolumeRequest as dH, type FetchEventRequest as dI, type FetchEventTagsRequest as dJ, FetchExecuteParamsError as dK, type FetchExecuteParamsRequest as dL, type FetchGaslessTransactionRequest as dM, type FetchLastTradePriceRequest as dN, type FetchLastTradePricesRequest as dO, FetchMarketInfoError as dP, type FetchMarketInfoRequest as dQ, type FetchMarketRequest as dR, type FetchMarketTagsRequest as dS, type FetchMidpointRequest as dT, type FetchMidpointsRequest as dU, FetchNegRiskError as dV, type FetchNegRiskRequest as dW, type FetchOrderBookRequest as dX, type FetchOrderBooksRequest as dY, type FetchOrderRequest as dZ, type FetchOrderScoringRequest as d_, subscriptionsActions as da, tradingActions as db, walletActions as dc, type CancelMarketOrdersRequest as dd, type CancelOrderRequest as de, type CancelOrdersRequest as df, type CollateralReturnExecutionWorkflow as dg, type CommentsEventType as dh, type CommentsSubscription as di, type CryptoPricesEventType as dj, type CryptoPricesSubscription as dk, DeployDepositWalletError as dl, type DownloadAccountingSnapshotRequest as dm, type DropNotificationsRequest as dn, type EquityPricesEventType as dp, type EquityPricesSubscription as dq, type Erc1155ApprovalForAllWorkflow as dr, type Erc1155ApprovalForAllWorkflowRequest as ds, type Erc20ApprovalWorkflow as dt, type Erc20ApprovalWorkflowRequest as du, type Erc20TransferWorkflow as dv, type Erc20TransferWorkflowRequest as dw, type EstimateMarketBuyPriceRequest as dx, type EstimateMarketPriceRequest as dy, type EstimateMarketSellPriceRequest as dz, ApproveErc1155ForAllError as e, type PerpsDepositWorkflowRequest as e$, type FetchPortfolioValueRequest as e0, type FetchPriceHistoryRequest as e1, type FetchPriceRequest as e2, type FetchPricesRequest as e3, type FetchPublicProfileRequest as e4, type FetchRelatedTagResourcesRequest as e5, type FetchRelatedTagsRequest as e6, type FetchSeriesRequest as e7, type FetchSpreadRequest as e8, type FetchSpreadsRequest as e9, type ListMarketPositionsRequest as eA, type ListMarketRewardsRequest as eB, type ListMarketsRequest as eC, type ListOpenInterestRequest as eD, type ListOpenOrdersRequest as eE, type ListPositionsRequest as eF, type ListSeriesRequest as eG, type ListTagsRequest as eH, type ListTeamsRequest as eI, type ListTraderLeaderboardRequest as eJ, type ListTradesRequest as eK, type ListUserEarningsAndMarketsConfigRequest as eL, type ListUserEarningsForDayRequest as eM, type MarketEventType as eN, type MarketSubscription as eO, MergeComboPositionError as eP, MergeMarketPositionError as eQ, type MergePositionsWorkflow as eR, type MergePositionsWorkflowRequest as eS, type OrderDraft as eT, type OrderPostingWorkflow as eU, type OrderWorkflow as eV, type OrderWorkflowRequest as eW, type PerpsBboSubscription as eX, type PerpsBookSubscription as eY, type PerpsCandlesSubscription as eZ, type PerpsDepositWorkflow as e_, type FetchTagRequest as ea, FetchTickSizeError as eb, type FetchTickSizeRequest as ec, type FetchTotalEarningsForUserForDayRequest as ed, type FetchTradedMarketCountRequest as ee, GaslessTransactionMetadataSchema as ef, type GaslessWorkflow as eg, type GaslessWorkflowRequest as eh, IsWalletDeployedError as ei, type IsWalletDeployedRequest as ej, type ListAccountTradesRequest as ek, type ListActivityRequest as el, type ListBuilderLeaderboardRequest as em, type ListBuilderTradesRequest as en, type ListBuilderVolumeRequest as eo, type ListClosedPositionsRequest as ep, type ListComboActivityRequest as eq, type ListComboMarketsRequest as er, type ListComboPositionsRequest as es, type ListCommentsByUserAddressRequest as et, type ListCommentsRequest as eu, type ListCurrentRewardsRequest as ev, type ListEventsRequest as ew, ListMarketClarificationsError as ex, type ListMarketClarificationsRequest as ey, type ListMarketHoldersRequest as ez, ApproveErc20Error as f, type SubscriptionHandle as f$, type PerpsMarketDataEventType as f0, type PerpsMarketDataSubscription as f1, type PerpsStatisticsSubscription as f2, type PerpsStreamingCandleInterval as f3, type PerpsTickersSubscription as f4, type PerpsTradesSubscription as f5, type PostOrdersRequest as f6, PrepareCollateralReturnExecutionError as f7, PrepareErc1155ApprovalForAllError as f8, type PrepareErc1155ApprovalForAllRequest as f9, type PrepareSplitComboPositionRequest as fA, PrepareSplitMarketPositionError as fB, type PrepareSplitMarketPositionRequest as fC, PrepareSplitPositionError as fD, type PrepareSplitPositionRequest as fE, PrepareTradingApprovalsError as fF, type PublicRealtimeEvent as fG, type PublicRealtimeTopic as fH, type PublicSubscriptionSpec as fI, type RedeemPositionsWorkflow as fJ, type RedeemPositionsWorkflowRequest as fK, ResolveConditionByTokenError as fL, type ResolveConditionByTokenRequest as fM, type RfqConfirmationRejectedErrorOptions as fN, type RfqExecutionUpdateEvent as fO, type SearchRequest as fP, type SearchResults as fQ, type SecureRealtimeEvent as fR, type SecureRealtimeTopic as fS, type SecureSubscriptionSpec as fT, type SignedOrder as fU, SplitComboPositionError as fV, SplitMarketPositionError as fW, type SplitPositionWorkflow as fX, type SplitPositionWorkflowRequest as fY, type SportsEventType as fZ, type SportsSubscription as f_, PrepareErc20ApprovalError as fa, type PrepareErc20ApprovalRequest as fb, PrepareErc20TransferError as fc, type PrepareErc20TransferRequest as fd, PrepareGaslessTransactionError as fe, type PrepareGaslessTransactionRequest as ff, type PrepareLimitOrderRequest as fg, type PrepareMarketBuyOrderRequest as fh, type PrepareMarketOrderRequest as fi, type PrepareMarketSellOrderRequest as fj, PrepareMergeComboPositionError as fk, type PrepareMergeComboPositionRequest as fl, PrepareMergeMarketPositionError as fm, type PrepareMergeMarketPositionRequest as fn, PrepareMergePositionsError as fo, type PrepareMergePositionsRequest as fp, PreparePerpsDepositError as fq, PrepareRedeemComboPositionError as fr, type PrepareRedeemComboPositionRequest as fs, type PrepareRedeemMarketPositionsByConditionIdRequest as ft, type PrepareRedeemMarketPositionsByMarketIdRequest as fu, PrepareRedeemMarketPositionsError as fv, type PrepareRedeemMarketPositionsRequest as fw, PrepareRedeemPositionsError as fx, type PrepareRedeemPositionsRequest as fy, PrepareSplitComboPositionError as fz, BasePublicClient as g, fetchTransaction as g$, type TradingApprovalsWorkflow as g0, type TradingApprovalsWorkflowRequest as g1, UpdateBalanceAllowanceError as g2, type UpdateBalanceAllowanceRequest as g3, type UserEventType as g4, type UserSubscription as g5, WaitForGaslessTransactionError as g6, type WaitForOrderFillSettlementRequest as g7, approveErc1155ForAll as g8, approveErc20 as g9, fetchNegRisk as gA, fetchNotifications as gB, fetchOrder as gC, fetchOrderBook as gD, fetchOrderBooks as gE, fetchOrderScoring as gF, fetchOrdersScoring as gG, fetchPerpsBook as gH, fetchPerpsFees as gI, fetchPerpsInstruments as gJ, fetchPerpsTicker as gK, fetchPerpsTickers as gL, fetchPortfolioValue as gM, fetchPrice as gN, fetchPriceHistory as gO, fetchPrices as gP, fetchPublicProfile as gQ, fetchRelatedTagResources as gR, fetchRelatedTags as gS, fetchRewardPercentages as gT, fetchSeries as gU, fetchSpread as gV, fetchSpreads as gW, fetchTag as gX, fetchTickSize as gY, fetchTotalEarningsForUserForDay as gZ, fetchTradedMarketCount as g_, cancelAll as ga, cancelMarketOrders as gb, cancelOrder as gc, cancelOrders as gd, deployDepositWallet as ge, depositToPerps as gf, downloadAccountingSnapshot as gg, dropNotifications as gh, estimateMarketPrice as gi, executeCollateralReturnPlan as gj, fetchBalanceAllowance as gk, fetchBuilderFeeRates as gl, fetchBuilderVolume as gm, fetchClosedOnlyMode as gn, fetchCommentsById as go, fetchEvent as gp, fetchEventLiveVolume as gq, fetchEventTags as gr, fetchExecuteParams as gs, fetchLastTradePrice as gt, fetchLastTradePrices as gu, fetchMarket as gv, fetchMarketInfo as gw, fetchMarketTags as gx, fetchMidpoint as gy, fetchMidpoints as gz, BaseSecureClient as h, subscribe as h$, isWalletDeployed as h0, listAccountTrades as h1, listActivity as h2, listBuilderLeaderboard as h3, listBuilderTrades as h4, listClosedPositions as h5, listComboActivity as h6, listComboMarkets as h7, listComboPositions as h8, listComments as h9, planCollateralReturn as hA, postOrder as hB, postOrders as hC, prepareCollateralReturnExecution as hD, prepareErc1155ApprovalForAll as hE, prepareErc20Approval as hF, prepareErc20Transfer as hG, prepareGaslessTransaction as hH, prepareMergeComboPosition as hI, prepareMergeMarketPosition as hJ, prepareMergePositions as hK, preparePerpsDeposit as hL, prepareRedeemComboPosition as hM, prepareRedeemMarketPositions as hN, prepareRedeemPositions as hO, prepareSplitComboPosition as hP, prepareSplitMarketPosition as hQ, prepareSplitPosition as hR, prepareTradingApprovals as hS, redeemPositions as hT, resolveConditionByToken as hU, revokePerpsCredentials as hV, search as hW, setupTradingApprovals as hX, splitComboPosition as hY, splitMarketPosition as hZ, splitPosition as h_, listCommentsByUserAddress as ha, listCurrentRewards as hb, listEvents as hc, listMarketClarifications as hd, listMarketHolders as he, listMarketPositions as hf, listMarketRewards as hg, listMarkets as hh, listOpenInterest as hi, listOpenOrders as hj, listPerpsCandles as hk, listPerpsFundingHistory as hl, listPerpsTrades as hm, listPositions as hn, listSeries as ho, listTags as hp, listTeams as hq, listTraderLeaderboard as hr, listTrades as hs, listUserEarningsAndMarketsConfig as ht, listUserEarningsForDay as hu, mergeComboPosition as hv, mergeMarketPosition as hw, mergePositions as hx, openPerpsSession as hy, openRfqSession as hz, type BeginAuthenticationRequest as i, transferErc20 as i0, updateBalanceAllowance as i1, waitForOrderFillSettlement as i2, withdrawFromPerps as i3, type CancelAllPerpsOrdersRequest as j, CancelMarketOrdersError as k, CancelOrderError as l, CancelOrdersError as m, type CancelPerpsOrderRequest as n, type CancelPerpsOrdersRequest as o, CancelledSigningError as p, type Client as q, type ClientActions as r, type ClientDecorator as s, type ClobEndpoints as t, ComboPositionSort as u, type CombosEndpoints as v, ConnectionLostError as w, type ConnectionLostErrorOptions as x, type CreatePerpsSessionRequest as y, CreateSecureClientError as z };
|
package/dist/viem.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PrivateKey } from '@polymarket/types';
|
|
2
2
|
import { Chain, Transport, WalletClient } from 'viem';
|
|
3
|
-
import { S as Signer } from './types-
|
|
3
|
+
import { S as Signer } from './types-DcsPnLma.js';
|
|
4
4
|
import '@polymarket/bindings';
|
|
5
5
|
import '@polymarket/bindings/gamma';
|
|
6
6
|
import '@polymarket/bindings/relayer';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polymarket/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "The Polymarket TypeScript client",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"ky": "^1.14.3",
|
|
94
94
|
"ox": "^0.14.16",
|
|
95
95
|
"zod": "^4.3.6",
|
|
96
|
-
"@polymarket/bindings": "0.
|
|
96
|
+
"@polymarket/bindings": "0.4.0",
|
|
97
97
|
"@polymarket/types": "0.1.0"
|
|
98
98
|
},
|
|
99
99
|
"publishConfig": {
|