aftermath-ts-sdk 5.1.1-dev.5176abd → 5.1.1-dev.7aecc77
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/LICENSE +202 -0
- package/dist/index.d.ts +89 -232
- package/dist/index.js +40 -136
- package/dist/index.js.map +1 -1
- package/package.json +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -2208,8 +2208,8 @@ interface ApiRewardsDistributionResponse {
|
|
|
2208
2208
|
interface PerpetualsSponsorConfig {
|
|
2209
2209
|
/**
|
|
2210
2210
|
* Wallet address to use for gas pool sponsorship. Must be the connected
|
|
2211
|
-
* wallet:
|
|
2212
|
-
* other address with error 2034 before it reaches the pool.
|
|
2211
|
+
* wallet: the API verifies the sponsor and refuses a request naming any
|
|
2212
|
+
* other address with error 2034 before it reaches the gas pool.
|
|
2213
2213
|
*/
|
|
2214
2214
|
walletAddress: SuiAddress;
|
|
2215
2215
|
/**
|
|
@@ -2734,10 +2734,14 @@ interface PerpetualsOrderData {
|
|
|
2734
2734
|
/**
|
|
2735
2735
|
* Optional integrator fee configuration for an order.
|
|
2736
2736
|
*
|
|
2737
|
-
*
|
|
2738
|
-
*
|
|
2739
|
-
*
|
|
2740
|
-
*
|
|
2737
|
+
* Integrators register once globally and are assigned a numeric `integratorId`.
|
|
2738
|
+
* A user then approves an integrator by creating an integrator config with a
|
|
2739
|
+
* `maxIntegratorFee` (see
|
|
2740
|
+
* {@link ApiPerpetualsBuilderCodesCreateIntegratorConfigTxBody}). Orders placed
|
|
2741
|
+
* on that user's behalf attach the integrator id and the fee to charge here.
|
|
2742
|
+
*
|
|
2743
|
+
* The fee is charged on the notional filled by the order and follows the order,
|
|
2744
|
+
* so it applies to both taker and maker fills.
|
|
2741
2745
|
*/
|
|
2742
2746
|
interface PerpetualsBuilderCodeParamaters {
|
|
2743
2747
|
/**
|
|
@@ -2748,11 +2752,11 @@ interface PerpetualsBuilderCodeParamaters {
|
|
|
2748
2752
|
*/
|
|
2749
2753
|
integratorId: number;
|
|
2750
2754
|
/**
|
|
2751
|
-
* Integrator fee (as a decimal)
|
|
2755
|
+
* Integrator fee (as a decimal) charged on the notional filled by this order.
|
|
2752
2756
|
*
|
|
2753
2757
|
* For example, 0.0005 represents a 0.05% fee. This value must not exceed
|
|
2754
|
-
* the
|
|
2755
|
-
*
|
|
2758
|
+
* the `maxIntegratorFee` that the user approved for this integrator. The fee
|
|
2759
|
+
* follows the order, so it is collected on taker and maker fills alike.
|
|
2756
2760
|
*/
|
|
2757
2761
|
integratorFee: Percentage;
|
|
2758
2762
|
}
|
|
@@ -3764,6 +3768,43 @@ interface ApiPerpetualsAccountPositionsBody {
|
|
|
3764
3768
|
/** Optional market filter applied to each account's positions. */
|
|
3765
3769
|
marketIds?: PerpetualsMarketId[];
|
|
3766
3770
|
}
|
|
3771
|
+
/**
|
|
3772
|
+
* Request body for fetching daily realized PnL calendars for a set of accounts.
|
|
3773
|
+
*/
|
|
3774
|
+
interface ApiPerpetualsAccountsPnlCalendarBody {
|
|
3775
|
+
/** 1 to 50 perpetuals account IDs. Duplicates are ignored. */
|
|
3776
|
+
accountIds: PerpetualsAccountId[];
|
|
3777
|
+
}
|
|
3778
|
+
/**
|
|
3779
|
+
* Realized results for a single UTC calendar day.
|
|
3780
|
+
*/
|
|
3781
|
+
interface PerpetualsAccountPnlCalendarDay {
|
|
3782
|
+
/** Inclusive UTC day start in milliseconds since Unix epoch. */
|
|
3783
|
+
timestampMs: Timestamp;
|
|
3784
|
+
/** Realized trading PnL for the day in USD, before fees. */
|
|
3785
|
+
realizedPnlUsd: number;
|
|
3786
|
+
/** Realized funding for the day in USD, separate from trading PnL. */
|
|
3787
|
+
realizedFundingsUsd: number;
|
|
3788
|
+
}
|
|
3789
|
+
/**
|
|
3790
|
+
* Daily realized PnL calendar for one account.
|
|
3791
|
+
*/
|
|
3792
|
+
interface PerpetualsAccountPnlCalendar {
|
|
3793
|
+
/** Perpetuals account ID. */
|
|
3794
|
+
accountId: PerpetualsAccountId;
|
|
3795
|
+
/**
|
|
3796
|
+
* Ascending daily results from account creation through today, including
|
|
3797
|
+
* zero days. Today is partial. Unknown accounts return an empty array.
|
|
3798
|
+
*/
|
|
3799
|
+
pnlCalendar: PerpetualsAccountPnlCalendarDay[];
|
|
3800
|
+
}
|
|
3801
|
+
/**
|
|
3802
|
+
* Response payload for fetching daily realized PnL calendars.
|
|
3803
|
+
*/
|
|
3804
|
+
interface ApiPerpetualsAccountsPnlCalendarResponse {
|
|
3805
|
+
/** One calendar per distinct requested account, in request order. */
|
|
3806
|
+
accounts: PerpetualsAccountPnlCalendar[];
|
|
3807
|
+
}
|
|
3767
3808
|
/**
|
|
3768
3809
|
* Response payload for fetching admin account caps by explicit account IDs.
|
|
3769
3810
|
*/
|
|
@@ -4249,9 +4290,10 @@ interface ApiPerpetualsMaxOrderSizeBody {
|
|
|
4249
4290
|
* Optional integrator fee configuration for an order.
|
|
4250
4291
|
*
|
|
4251
4292
|
* If provided, the integrator specified in the configuration will receive a fee
|
|
4252
|
-
* on the
|
|
4293
|
+
* on the notional filled by this order. The fee follows the order, so it is
|
|
4294
|
+
* charged on both taker and maker fills. The integrator must have been
|
|
4253
4295
|
* previously approved by the account owner, and the fee must not exceed the
|
|
4254
|
-
*
|
|
4296
|
+
* `maxIntegratorFee` the user approved for that integrator.
|
|
4255
4297
|
*/
|
|
4256
4298
|
builderCode?: PerpetualsBuilderCodeParamaters;
|
|
4257
4299
|
}
|
|
@@ -4710,8 +4752,9 @@ type ApiPerpetualsCreateVaultBody = {
|
|
|
4710
4752
|
* Request payload for creating an integrator configuration approval transaction.
|
|
4711
4753
|
*
|
|
4712
4754
|
* This transaction allows a user to approve an integrator to receive fees on orders
|
|
4713
|
-
* placed on their behalf. The user sets
|
|
4714
|
-
* can charge per order
|
|
4755
|
+
* placed on their behalf. The user sets the `maxIntegratorFee` that the integrator
|
|
4756
|
+
* can charge per order; orders then attach a `builderCode` with the integrator id
|
|
4757
|
+
* and the fee to charge (see {@link PerpetualsBuilderCodeParamaters}).
|
|
4715
4758
|
*/
|
|
4716
4759
|
interface ApiPerpetualsBuilderCodesCreateIntegratorConfigTxBody {
|
|
4717
4760
|
/**
|
|
@@ -4771,77 +4814,11 @@ interface ApiPerpetualsBuilderCodesRemoveIntegratorConfigTxBody {
|
|
|
4771
4814
|
/** Optional cached gas-pool sponsorship data. */
|
|
4772
4815
|
sponsor?: PerpetualsSponsorConfig;
|
|
4773
4816
|
}
|
|
4774
|
-
/**
|
|
4775
|
-
* Request payload for creating a transaction to initialize an integrator fee vault.
|
|
4776
|
-
*
|
|
4777
|
-
* Before an integrator can claim fees, they must first create a global vault.
|
|
4778
|
-
* This is a one-time setup per integrator and applies across all markets. The
|
|
4779
|
-
* integrator's identity (address) is taken from the transaction sender on-chain.
|
|
4780
|
-
*/
|
|
4781
|
-
interface ApiPerpetualsBuilderCodesCreateIntegratorVaultTxBody {
|
|
4782
|
-
/**
|
|
4783
|
-
* Optional existing transaction kind (base64-encoded) to extend.
|
|
4784
|
-
*
|
|
4785
|
-
* If provided, the vault creation will be added to this transaction.
|
|
4786
|
-
*/
|
|
4787
|
-
txKind?: SerializedTransaction;
|
|
4788
|
-
/** Optional cached gas-pool sponsorship data. */
|
|
4789
|
-
sponsor?: PerpetualsSponsorConfig;
|
|
4790
|
-
}
|
|
4791
|
-
/**
|
|
4792
|
-
* Request payload for creating a transaction to claim accumulated integrator fees from a vault.
|
|
4793
|
-
*
|
|
4794
|
-
* Integrators earn fees on taker volume generated by orders they submit on behalf of users.
|
|
4795
|
-
* These fees accumulate in a global vault per integrator and can be claimed at any time.
|
|
4796
|
-
*/
|
|
4797
|
-
interface ApiPerpetualsBuilderCodesClaimIntegratorVaultFeesTxBody {
|
|
4798
|
-
/**
|
|
4799
|
-
* Numeric integrator id (as assigned by the registry).
|
|
4800
|
-
*
|
|
4801
|
-
* Only the integrator who earned the fees can claim them. Integrator vaults
|
|
4802
|
-
* are global across markets, so no clearing-house id is required.
|
|
4803
|
-
*/
|
|
4804
|
-
integratorId: number;
|
|
4805
|
-
/**
|
|
4806
|
-
* Optional recipient address for the claimed fees.
|
|
4807
|
-
*
|
|
4808
|
-
* When provided, the transaction will include on-chain transfers of all
|
|
4809
|
-
* claimed coins to this address. When omitted, the claimed coins are exposed
|
|
4810
|
-
* as transaction arguments that can be used in subsequent commands.
|
|
4811
|
-
*/
|
|
4812
|
-
recipientAddress?: SuiAddress;
|
|
4813
|
-
/**
|
|
4814
|
-
* Optional existing transaction kind (base64-encoded) to extend.
|
|
4815
|
-
*
|
|
4816
|
-
* If provided, the fee claim will be added to this transaction.
|
|
4817
|
-
*/
|
|
4818
|
-
txKind?: SerializedTransaction;
|
|
4819
|
-
}
|
|
4820
|
-
/**
|
|
4821
|
-
* Response payload for claim integrator vault fees transaction.
|
|
4822
|
-
*
|
|
4823
|
-
* Contains the transaction kind and optionally the coin output arguments when
|
|
4824
|
-
* no recipient address was provided.
|
|
4825
|
-
*/
|
|
4826
|
-
interface ApiPerpetualsBuilderCodesClaimIntegratorVaultFeesTxResponse {
|
|
4827
|
-
/**
|
|
4828
|
-
* Base64-encoded Sui `TransactionKind` representing the claim (and
|
|
4829
|
-
* optional transfer) transaction.
|
|
4830
|
-
*/
|
|
4831
|
-
txKind: SerializedTransaction;
|
|
4832
|
-
/**
|
|
4833
|
-
* When `recipientAddress` is omitted, this contains readable arguments
|
|
4834
|
-
* pointing to each claimed coin output (one per non-zero collateral balance
|
|
4835
|
-
* held by the integrator's global vault), so callers can wire them into
|
|
4836
|
-
* subsequent steps. Empty if the vault holds no balances.
|
|
4837
|
-
*/
|
|
4838
|
-
coinOutArgs?: TransactionObjectArgument[];
|
|
4839
|
-
}
|
|
4840
4817
|
/**
|
|
4841
4818
|
* Request payload for fetching integrator configuration for a specific account and integrator.
|
|
4842
4819
|
*
|
|
4843
4820
|
* This endpoint checks whether an integrator has been approved by an account to collect fees,
|
|
4844
|
-
* and if so, returns the
|
|
4821
|
+
* and if so, returns the `maxIntegratorFee` the integrator is authorized to charge.
|
|
4845
4822
|
*/
|
|
4846
4823
|
interface ApiPerpetualsBuilderCodesIntegratorConfigBody {
|
|
4847
4824
|
/**
|
|
@@ -4879,53 +4856,6 @@ interface ApiPerpetualsBuilderCodesIntegratorConfigResponse {
|
|
|
4879
4856
|
*/
|
|
4880
4857
|
exists: boolean;
|
|
4881
4858
|
}
|
|
4882
|
-
/**
|
|
4883
|
-
* Accumulated integrator vault fees for a single collateral coin type.
|
|
4884
|
-
*
|
|
4885
|
-
* Integrator vaults are global (one per integrator across all markets), so fees
|
|
4886
|
-
* are grouped by collateral coin type rather than by market.
|
|
4887
|
-
*/
|
|
4888
|
-
interface PerpetualsIntegratorVaultData {
|
|
4889
|
-
/**
|
|
4890
|
-
* The collateral coin type these fees are denominated in.
|
|
4891
|
-
*/
|
|
4892
|
-
collateralCoinType: CoinType;
|
|
4893
|
-
/**
|
|
4894
|
-
* Total accumulated fees in the collateral currency that are available to claim.
|
|
4895
|
-
*/
|
|
4896
|
-
fees: number;
|
|
4897
|
-
/**
|
|
4898
|
-
* Total accumulated fees converted to USD.
|
|
4899
|
-
*/
|
|
4900
|
-
feesUsd: number;
|
|
4901
|
-
}
|
|
4902
|
-
/**
|
|
4903
|
-
* Request payload for fetching integrator vault fees.
|
|
4904
|
-
*
|
|
4905
|
-
* This endpoint returns the accumulated fees an integrator has earned in their
|
|
4906
|
-
* global vault, grouped by collateral coin type. Vaults are global per integrator
|
|
4907
|
-
* (not per market), so a single request covers all markets.
|
|
4908
|
-
*/
|
|
4909
|
-
interface ApiPerpetualsBuilderCodesIntegratorVaultsBody {
|
|
4910
|
-
/**
|
|
4911
|
-
* Numeric integrator id (as assigned by the registry) whose vault fees are
|
|
4912
|
-
* being queried.
|
|
4913
|
-
*/
|
|
4914
|
-
integratorId: number;
|
|
4915
|
-
}
|
|
4916
|
-
/**
|
|
4917
|
-
* Response payload containing accumulated fees per collateral type for an integrator.
|
|
4918
|
-
*
|
|
4919
|
-
* Returns a vector of integrator vault data, one entry per collateral coin type
|
|
4920
|
-
* with a non-zero balance in the integrator's global vault.
|
|
4921
|
-
*/
|
|
4922
|
-
interface ApiPerpetualsBuilderCodesIntegratorVaultsResponse {
|
|
4923
|
-
/**
|
|
4924
|
-
* Vector of integrator vault data containing collateral coin types and their
|
|
4925
|
-
* accumulated fees.
|
|
4926
|
-
*/
|
|
4927
|
-
integratorVaults: PerpetualsIntegratorVaultData[];
|
|
4928
|
-
}
|
|
4929
4859
|
/**
|
|
4930
4860
|
* Request body for creating a new perpetuals account for a given wallet
|
|
4931
4861
|
* and collateral coin type.
|
|
@@ -5281,9 +5211,10 @@ type ApiPerpetualsMarketOrderBody = {
|
|
|
5281
5211
|
* Optional integrator fee configuration for this order.
|
|
5282
5212
|
*
|
|
5283
5213
|
* If provided, the integrator specified in the configuration will receive a fee
|
|
5284
|
-
* on the
|
|
5214
|
+
* on the notional filled by this order. The fee follows the order, so it is
|
|
5215
|
+
* charged on both taker and maker fills. The integrator must have been
|
|
5285
5216
|
* previously approved by the account owner, and the fee must not exceed the
|
|
5286
|
-
*
|
|
5217
|
+
* `maxIntegratorFee` the user approved for that integrator.
|
|
5287
5218
|
*/
|
|
5288
5219
|
builderCode?: PerpetualsBuilderCodeParamaters;
|
|
5289
5220
|
/** Optional serialized transaction kind if assembled by the API. */
|
|
@@ -5350,9 +5281,10 @@ type ApiPerpetualsLimitOrderBody = {
|
|
|
5350
5281
|
* Optional integrator fee configuration for this order.
|
|
5351
5282
|
*
|
|
5352
5283
|
* If provided, the integrator specified in the configuration will receive a fee
|
|
5353
|
-
* on the
|
|
5284
|
+
* on the notional filled by this order. The fee follows the order, so it is
|
|
5285
|
+
* charged on both taker and maker fills. The integrator must have been
|
|
5354
5286
|
* previously approved by the account owner, and the fee must not exceed the
|
|
5355
|
-
*
|
|
5287
|
+
* `maxIntegratorFee` the user approved for that integrator.
|
|
5356
5288
|
*/
|
|
5357
5289
|
builderCode?: PerpetualsBuilderCodeParamaters;
|
|
5358
5290
|
/**
|
|
@@ -14100,6 +14032,26 @@ declare class Perpetuals extends Caller {
|
|
|
14100
14032
|
* If `accountIds` is empty, this returns `{ accounts: [] }` without making an API call.
|
|
14101
14033
|
*/
|
|
14102
14034
|
getAccountObjects(inputs: ApiPerpetualsAccountPositionsBody): Promise<ApiPerpetualsAccountPositionsResponse>;
|
|
14035
|
+
/**
|
|
14036
|
+
* Fetch daily realized PnL and funding for one or more accounts, bucketed
|
|
14037
|
+
* by UTC calendar day from account creation through today.
|
|
14038
|
+
*
|
|
14039
|
+
* @param inputs.accountIds - 1 to 50 account IDs to query.
|
|
14040
|
+
*
|
|
14041
|
+
* @returns `ApiPerpetualsAccountsPnlCalendarResponse` containing one
|
|
14042
|
+
* calendar per distinct account.
|
|
14043
|
+
*
|
|
14044
|
+
* @remarks
|
|
14045
|
+
* If `accountIds` is empty, this returns `{ accounts: [] }` without making an API call.
|
|
14046
|
+
*
|
|
14047
|
+
* @example
|
|
14048
|
+
* ```ts
|
|
14049
|
+
* const { accounts } = await perps.getAccountsPnlCalendar({
|
|
14050
|
+
* accountIds: [123n],
|
|
14051
|
+
* });
|
|
14052
|
+
* ```
|
|
14053
|
+
*/
|
|
14054
|
+
getAccountsPnlCalendar(inputs: ApiPerpetualsAccountsPnlCalendarBody): Promise<ApiPerpetualsAccountsPnlCalendarResponse>;
|
|
14103
14055
|
/**
|
|
14104
14056
|
* Fetch all account caps (perpetuals accounts) owned by a wallet, optionally
|
|
14105
14057
|
* filtered by collateral coin types.
|
|
@@ -14488,7 +14440,7 @@ declare class Perpetuals extends Caller {
|
|
|
14488
14440
|
* collect fees on orders placed on behalf of the user. Once revoked, the integrator
|
|
14489
14441
|
* will no longer be able to submit orders with integrator fees for this account.
|
|
14490
14442
|
* The user can re-approve the integrator at any time by calling
|
|
14491
|
-
* `
|
|
14443
|
+
* `getCreateBuilderCodeIntegratorConfigTx` again.
|
|
14492
14444
|
*
|
|
14493
14445
|
* The resulting transaction must be signed by the account owner and executed on-chain.
|
|
14494
14446
|
*
|
|
@@ -14508,68 +14460,6 @@ declare class Perpetuals extends Caller {
|
|
|
14508
14460
|
}): Promise<Omit<ApiTransactionResponse, "txKind"> & {
|
|
14509
14461
|
tx: Transaction;
|
|
14510
14462
|
}>;
|
|
14511
|
-
/**
|
|
14512
|
-
* Build a transaction to initialize an integrator's global fee vault.
|
|
14513
|
-
*
|
|
14514
|
-
* This endpoint creates a transaction that initializes the global vault where an
|
|
14515
|
-
* integrator's fees accumulate across all markets. This is a one-time setup that
|
|
14516
|
-
* must be performed before the integrator can claim fees. The integrator's identity
|
|
14517
|
-
* is taken from the transaction sender on-chain.
|
|
14518
|
-
*
|
|
14519
|
-
* The resulting transaction must be signed by the integrator and executed on-chain.
|
|
14520
|
-
*
|
|
14521
|
-
* @param inputs - {@link ApiPerpetualsBuilderCodesCreateIntegratorVaultTxBody}.
|
|
14522
|
-
* @returns `SdkTransactionResponse` with `tx`.
|
|
14523
|
-
*
|
|
14524
|
-
* @example
|
|
14525
|
-
* ```ts
|
|
14526
|
-
* const tx = await perps.getCreateBuilderCodeIntegratorVaultTx({});
|
|
14527
|
-
* ```
|
|
14528
|
-
*/
|
|
14529
|
-
getCreateBuilderCodeIntegratorVaultTx(inputs: Omit<ApiPerpetualsBuilderCodesCreateIntegratorVaultTxBody, "txKind"> & {
|
|
14530
|
-
tx?: Transaction;
|
|
14531
|
-
}): Promise<Omit<ApiTransactionResponse, "txKind"> & {
|
|
14532
|
-
tx: Transaction;
|
|
14533
|
-
}>;
|
|
14534
|
-
/**
|
|
14535
|
-
* Build a transaction to claim accumulated integrator fees from a vault.
|
|
14536
|
-
*
|
|
14537
|
-
* This endpoint creates a transaction that allows an integrator to claim the fees
|
|
14538
|
-
* they have earned from orders placed on behalf of users. Fees accumulate in the
|
|
14539
|
-
* integrator's global vault (across all markets) and can be claimed at any moment.
|
|
14540
|
-
* The fees are proportional to the taker volume generated by the users' orders that
|
|
14541
|
-
* the integrator submitted.
|
|
14542
|
-
*
|
|
14543
|
-
* If a `recipientAddress` is provided, the claimed fees will be automatically
|
|
14544
|
-
* transferred to that address. Otherwise, the coin outputs are exposed as transaction
|
|
14545
|
-
* arguments for further use in the transaction (one per non-zero collateral balance).
|
|
14546
|
-
*
|
|
14547
|
-
* The resulting transaction must be signed by the integrator and executed on-chain.
|
|
14548
|
-
*
|
|
14549
|
-
* @param inputs - {@link ApiPerpetualsBuilderCodesClaimIntegratorVaultFeesTxBody}.
|
|
14550
|
-
* @returns `ApiPerpetualsBuilderCodesClaimIntegratorVaultFeesTxResponse` containing
|
|
14551
|
-
* `txKind` and optionally `coinOutArgs`.
|
|
14552
|
-
*
|
|
14553
|
-
* @example
|
|
14554
|
-
* ```ts
|
|
14555
|
-
* // Claim with automatic transfer to recipient
|
|
14556
|
-
* const response = await perps.getClaimBuilderCodeIntegratorVaultFeesTx({
|
|
14557
|
-
* integratorId: 7,
|
|
14558
|
-
* recipientAddress: "0x...",
|
|
14559
|
-
* });
|
|
14560
|
-
*
|
|
14561
|
-
* // Claim with coin outputs for further use
|
|
14562
|
-
* const response = await perps.getClaimBuilderCodeIntegratorVaultFeesTx({
|
|
14563
|
-
* integratorId: 7,
|
|
14564
|
-
* });
|
|
14565
|
-
* // response.coinOutArgs can be used in subsequent transaction commands
|
|
14566
|
-
* ```
|
|
14567
|
-
*/
|
|
14568
|
-
getClaimBuilderCodeIntegratorVaultFeesTx(inputs: Omit<ApiPerpetualsBuilderCodesClaimIntegratorVaultFeesTxBody, "txKind"> & {
|
|
14569
|
-
tx?: Transaction;
|
|
14570
|
-
}): Promise<Omit<ApiPerpetualsBuilderCodesClaimIntegratorVaultFeesTxResponse, "txKind"> & {
|
|
14571
|
-
tx: Transaction;
|
|
14572
|
-
}>;
|
|
14573
14463
|
/**
|
|
14574
14464
|
* Fetch integrator configuration for a specific account and integrator.
|
|
14575
14465
|
*
|
|
@@ -14599,39 +14489,6 @@ declare class Perpetuals extends Caller {
|
|
|
14599
14489
|
* ```
|
|
14600
14490
|
*/
|
|
14601
14491
|
getBuilderCodeIntegratorConfig(inputs: ApiPerpetualsBuilderCodesIntegratorConfigBody): Promise<ApiPerpetualsBuilderCodesIntegratorConfigResponse>;
|
|
14602
|
-
/**
|
|
14603
|
-
* Fetch accumulated integrator vault fees.
|
|
14604
|
-
*
|
|
14605
|
-
* This endpoint queries the total fees an integrator has earned and accumulated in
|
|
14606
|
-
* their global vault, grouped by collateral coin type. Integrators earn fees
|
|
14607
|
-
* proportional to the taker volume generated by orders they submit on behalf of
|
|
14608
|
-
* users. These fees can be claimed at any time using
|
|
14609
|
-
* {@link getClaimBuilderCodeIntegratorVaultFeesTx}.
|
|
14610
|
-
*
|
|
14611
|
-
* This information is useful for:
|
|
14612
|
-
* - Displaying total claimable fees to integrators in dashboards
|
|
14613
|
-
* - Monitoring fee accrual across collateral types
|
|
14614
|
-
* - Determining whether fees are ready to be claimed
|
|
14615
|
-
*
|
|
14616
|
-
* @param inputs - {@link ApiPerpetualsBuilderCodesIntegratorVaultsBody}.
|
|
14617
|
-
* @returns `ApiPerpetualsBuilderCodesIntegratorVaultsResponse` containing
|
|
14618
|
-
* a vector of per-collateral vault data with accumulated fees.
|
|
14619
|
-
*
|
|
14620
|
-
* @example
|
|
14621
|
-
* ```ts
|
|
14622
|
-
* const vaultFees = await perps.getBuilderCodeIntegratorVaults({
|
|
14623
|
-
* integratorId: 7,
|
|
14624
|
-
* });
|
|
14625
|
-
*
|
|
14626
|
-
* for (const vault of vaultFees.integratorVaults) {
|
|
14627
|
-
* console.log(`${vault.collateralCoinType}: ${vault.fees} collateral units claimable`);
|
|
14628
|
-
* }
|
|
14629
|
-
*
|
|
14630
|
-
* const totalFeesUsd = vaultFees.integratorVaults.reduce((sum, vault) => sum + vault.feesUsd, 0);
|
|
14631
|
-
* console.log(`Total claimable (USD): ${totalFeesUsd}`);
|
|
14632
|
-
* ```
|
|
14633
|
-
*/
|
|
14634
|
-
getBuilderCodeIntegratorVaults(inputs: ApiPerpetualsBuilderCodesIntegratorVaultsBody): Promise<ApiPerpetualsBuilderCodesIntegratorVaultsResponse>;
|
|
14635
14492
|
/**
|
|
14636
14493
|
* Determine the logical order side (Bid/Ask) from a signed base asset amount.
|
|
14637
14494
|
*
|
|
@@ -14825,14 +14682,14 @@ declare class Perpetuals extends Caller {
|
|
|
14825
14682
|
close: () => void;
|
|
14826
14683
|
};
|
|
14827
14684
|
/**
|
|
14828
|
-
* Open a market-candles
|
|
14829
|
-
* `/perpetuals/ws/
|
|
14685
|
+
* Open a market-candles subscription for a single market/interval on
|
|
14686
|
+
* `/perpetuals/ws/updates`.
|
|
14830
14687
|
*
|
|
14831
14688
|
* The stream emits {@link PerpetualsWsCandleResponseMessage} messages,
|
|
14832
14689
|
* typically containing the latest candle for the specified interval.
|
|
14833
14690
|
*
|
|
14834
14691
|
* @param args.marketId - Market ID to subscribe to.
|
|
14835
|
-
*
|
|
14692
|
+
* @param args.interval - Timeframe label such as `"1m"` or `"1h"`.
|
|
14836
14693
|
* @param args.onMessage - Handler for incoming candle updates.
|
|
14837
14694
|
* @param args.onOpen - Optional hook called when the websocket opens.
|
|
14838
14695
|
* @param args.onError - Optional hook called on websocket error.
|
|
@@ -14844,7 +14701,7 @@ declare class Perpetuals extends Caller {
|
|
|
14844
14701
|
* ```ts
|
|
14845
14702
|
* const stream = perps.openMarketCandlesWebsocketStream({
|
|
14846
14703
|
* marketId: "0x...",
|
|
14847
|
-
*
|
|
14704
|
+
* interval: "1m",
|
|
14848
14705
|
* onMessage: ({ lastCandle }) => console.log(lastCandle),
|
|
14849
14706
|
* });
|
|
14850
14707
|
* ```
|
|
@@ -25836,4 +25693,4 @@ declare class Aftermath extends Caller {
|
|
|
25836
25693
|
static casting: typeof Casting;
|
|
25837
25694
|
}
|
|
25838
25695
|
|
|
25839
|
-
export { type AfSuiRouterPoolObject, Aftermath, type AftermathAbortSource, AftermathApi, type AftermathOptions, AftermathTransportError, type AftermathTransportErrorKind, type AllocatedCollateralEvent, type AmountInCoinAndUsd, type AnyObjectType, type ApiAccessoriesForSuiFrenBody, type ApiAddSuiFrenAccessoryBody, type ApiCreateAuthAccountBody, type ApiCreatePoolBody, type ApiDataWithCursorBody, type ApiDelegatedStakesBody, type ApiDynamicFieldsBody, type ApiDynamicGasBody, type ApiDynamicGasResponse, type ApiEventsBody, type ApiFarmsCreateStakingPoolBody, type ApiFarmsCreateStakingPoolBodyV1, type ApiFarmsDepositPrincipalBody, type ApiFarmsGrantOneTimeAdminCapBody, type ApiFarmsIncreaseStakingPoolRewardsEmissionsBody, type ApiFarmsInitializeStakingPoolRewardBody, type ApiFarmsLockBody, type ApiFarmsOwnedStakedPositionsBody, type ApiFarmsOwnedStakingPoolOneTimeAdminCapsBody, type ApiFarmsOwnedStakingPoolOwnerCapsBody, type ApiFarmsRenewLockBody, type ApiFarmsStakeBody, type ApiFarmsStakeBodyV1, type ApiFarmsSummaryBody, type ApiFarmsTopUpStakingPoolRewardsBody, type ApiFarmsUnlockBody, type ApiFarmsUnstakeBody, type ApiFaucetMintSuiFrenBody, type ApiFaucetRequestBody, type ApiGasPoolBody, type ApiGasPoolCreateBody, type ApiGasPoolCreateResponse, type ApiGasPoolDepositBody, type ApiGasPoolGrantBody, type ApiGasPoolResponse, type ApiGasPoolRevokeBody, type ApiGasPoolShareBody, type ApiGasPoolSponsorBody, type ApiGasPoolSponsorResponse, type ApiGasPoolWithdrawBody, type ApiGasPoolWithdrawResponse, type ApiGetAccessTokenBody, type ApiGetAccessTokenResponse, type ApiHarvestFarmsRewardsBody, type ApiHarvestSuiFrenFeesBody, type ApiIndexerEventsBody, type ApiIndexerUserEventsBody, type ApiMixSuiFrensBody, type ApiNftAmmBuyBody, type ApiNftAmmDepositBody, type ApiNftAmmSellBody, type ApiNftAmmWithdrawBody, type ApiOwnedStakedSuiFrensBody, type ApiOwnedSuiFrenAccessoriesBody, type ApiOwnedSuiFrensBody, type ApiPerpetualsAccountCollateralHistoryBody, type ApiPerpetualsAccountCollateralHistoryResponse, type ApiPerpetualsAccountMarginHistoryBody, type ApiPerpetualsAccountMarginHistoryResponse, type ApiPerpetualsAccountOrderHistoryBody, type ApiPerpetualsAccountOrderHistoryResponse, type ApiPerpetualsAccountPositionsBody, type ApiPerpetualsAccountPositionsResponse, type ApiPerpetualsAdminAccountCapsBody, type ApiPerpetualsAdminAccountCapsResponse, type ApiPerpetualsAllMarketsBody, type ApiPerpetualsAllMarketsResponse, type ApiPerpetualsAllocateCollateralBody, type ApiPerpetualsBuilderCodesClaimIntegratorVaultFeesTxBody, type ApiPerpetualsBuilderCodesClaimIntegratorVaultFeesTxResponse, type ApiPerpetualsBuilderCodesCreateIntegratorConfigTxBody, type ApiPerpetualsBuilderCodesCreateIntegratorVaultTxBody, type ApiPerpetualsBuilderCodesIntegratorConfigBody, type ApiPerpetualsBuilderCodesIntegratorConfigResponse, type ApiPerpetualsBuilderCodesIntegratorVaultsBody, type ApiPerpetualsBuilderCodesIntegratorVaultsResponse, type ApiPerpetualsBuilderCodesRemoveIntegratorConfigTxBody, type ApiPerpetualsCancelAndPlaceOrdersBody, type ApiPerpetualsCancelOrdersBody, type ApiPerpetualsCancelStopOrdersBody, type ApiPerpetualsCancelTwapOrdersBody, type ApiPerpetualsCreateAccountBody, type ApiPerpetualsCreateAccountResponse, type ApiPerpetualsCreateCsvRebatesBody, type ApiPerpetualsCreateCsvRebatesResponse, type ApiPerpetualsCreateReferralCsvRebatesBody, type ApiPerpetualsCreateReferralCsvRebatesResponse, type ApiPerpetualsCreateTwapOrdersBody, type ApiPerpetualsCreateVaultBody, type ApiPerpetualsCreateVaultCapBody, type ApiPerpetualsDeallocateCollateralBody, type ApiPerpetualsDepositCollateralBody, type ApiPerpetualsEditStopOrdersBody, type ApiPerpetualsEditTwapOrdersBody, type ApiPerpetualsExecutionPriceBody, type ApiPerpetualsExecutionPriceResponse, type ApiPerpetualsGrantAgentWalletTxBody, type ApiPerpetualsHistoricalDataWithCursorBody, type ApiPerpetualsHistoricalDataWithCursorResponse, type ApiPerpetualsLimitOrderBody, type ApiPerpetualsMarketCandleHistoryBody, type ApiPerpetualsMarketCandleHistoryResponse, type ApiPerpetualsMarketFundingHistoryBody, type ApiPerpetualsMarketFundingHistoryResponse, type ApiPerpetualsMarketOrderBody, type ApiPerpetualsMarketOrderHistoryBody, type ApiPerpetualsMarketOrderHistoryResponse, type ApiPerpetualsMarkets24hrStatsResponse, type ApiPerpetualsMarketsBody, type ApiPerpetualsMarketsCategoriesResponse, type ApiPerpetualsMarketsPricesBody, type ApiPerpetualsMarketsPricesResponse, type ApiPerpetualsMarketsResponse, type ApiPerpetualsMaxOrderSizeBody, type ApiPerpetualsOrderToPlace, type ApiPerpetualsOrderbooksBody, type ApiPerpetualsOrderbooksResponse, type ApiPerpetualsOwnedAccountCapsBody, type ApiPerpetualsOwnedAccountCapsResponse, type ApiPerpetualsOwnedVaultAssistantCapsBody, type ApiPerpetualsOwnedVaultAssistantCapsResponse, type ApiPerpetualsOwnedVaultCapsBody, type ApiPerpetualsOwnedVaultCapsResponse, type ApiPerpetualsPlaceSlTpOrdersBody, type ApiPerpetualsPlaceStopOrdersBody, type ApiPerpetualsPreviewCancelOrdersBody, type ApiPerpetualsPreviewCancelOrdersResponse, type ApiPerpetualsPreviewEditCollateralBody, type ApiPerpetualsPreviewEditCollateralResponse, type ApiPerpetualsPreviewPlaceLimitOrderBody, type ApiPerpetualsPreviewPlaceMarketOrderBody, type ApiPerpetualsPreviewPlaceOrderResponse, type ApiPerpetualsPreviewPlaceScaleOrderBody, type ApiPerpetualsPreviewSetLeverageBody, type ApiPerpetualsPreviewSetLeverageResponse, type ApiPerpetualsRevokeAgentWalletTxBody, type ApiPerpetualsScaleOrderBody, type ApiPerpetualsSetLeverageTxBody, type ApiPerpetualsShareAccountBody, type ApiPerpetualsStopOrderDatasBody, type ApiPerpetualsStopOrderDatasResponse, type ApiPerpetualsTransferCapTxBody, type ApiPerpetualsTransferCollateralBody, type ApiPerpetualsTwapOrderDatasBody, type ApiPerpetualsTwapOrderDatasResponse, type ApiPerpetualsVaultCancelWithdrawRequestTxBody, type ApiPerpetualsVaultCreateWithdrawRequestTxBody, type ApiPerpetualsVaultDepositTxBody, type ApiPerpetualsVaultGrantAgentWalletTxBody, type ApiPerpetualsVaultLpCoinPricesBody, type ApiPerpetualsVaultLpCoinPricesResponse, type ApiPerpetualsVaultOwnedLpCoinsBody, type ApiPerpetualsVaultOwnedLpCoinsResponse, type ApiPerpetualsVaultOwnedWithdrawRequestsBody, type ApiPerpetualsVaultOwnedWithdrawRequestsResponse, type ApiPerpetualsVaultOwnerProcessWithdrawRequestsTxBody, type ApiPerpetualsVaultOwnerUpdateForceWithdrawDelayTxBody, type ApiPerpetualsVaultOwnerUpdateLockPeriodTxBody, type ApiPerpetualsVaultOwnerUpdatePerformanceFeeTxBody, type ApiPerpetualsVaultOwnerWithdrawCollateralTxBody, type ApiPerpetualsVaultOwnerWithdrawCollateralTxResponse, type ApiPerpetualsVaultOwnerWithdrawLockedLiquidityTxBody, type ApiPerpetualsVaultOwnerWithdrawLockedLiquidityTxResponse, type ApiPerpetualsVaultOwnerWithdrawPerformanceFeesTxBody, type ApiPerpetualsVaultOwnerWithdrawPerformanceFeesTxResponse, type ApiPerpetualsVaultPauseVaultForForceWithdrawRequestTxBody, type ApiPerpetualsVaultPreviewCreateWithdrawRequestBody, type ApiPerpetualsVaultPreviewCreateWithdrawRequestResponse, type ApiPerpetualsVaultPreviewDepositBody, type ApiPerpetualsVaultPreviewDepositResponse, type ApiPerpetualsVaultPreviewOwnerProcessWithdrawRequestsBody, type ApiPerpetualsVaultPreviewOwnerProcessWithdrawRequestsResponse, type ApiPerpetualsVaultPreviewOwnerWithdrawCollateralBody, type ApiPerpetualsVaultPreviewOwnerWithdrawCollateralResponse, type ApiPerpetualsVaultPreviewOwnerWithdrawLockedLiquidityBody, type ApiPerpetualsVaultPreviewOwnerWithdrawLockedLiquidityResponse, type ApiPerpetualsVaultPreviewOwnerWithdrawPerformanceFeesBody, type ApiPerpetualsVaultPreviewOwnerWithdrawPerformanceFeesResponse, type ApiPerpetualsVaultPreviewPauseVaultForForceWithdrawRequestBody, type ApiPerpetualsVaultPreviewPauseVaultForForceWithdrawRequestResponse, type ApiPerpetualsVaultPreviewProcessForceWithdrawRequestBody, type ApiPerpetualsVaultPreviewProcessForceWithdrawRequestResponse, type ApiPerpetualsVaultProcessForceWithdrawRequestTxBody, type ApiPerpetualsVaultProcessForceWithdrawRequestTxResponse, type ApiPerpetualsVaultRevokeAgentWalletTxBody, type ApiPerpetualsVaultUpdateWithdrawRequestSlippageTxBody, type ApiPerpetualsVaultsBody, type ApiPerpetualsVaultsResponse, type ApiPerpetualsVaultsWithdrawRequestsBody, type ApiPerpetualsVaultsWithdrawRequestsResponse, type ApiPerpetualsWithdrawCollateralBody, type ApiPerpetualsWithdrawCollateralResponse, type ApiPoolAllCoinWithdrawBody, type ApiPoolDepositBody, type ApiPoolObjectIdForLpCoinTypeBody, type ApiPoolSpotPriceBody, type ApiPoolTradeBody, type ApiPoolWithdrawBody, type ApiPoolsOwnedDaoFeePoolOwnerCapsBody, type ApiPoolsStatsBody, type ApiPoolsSummaryBody, type ApiPublishLpCoinBody, type ApiReferralsCreateReferralLinkBody, type ApiReferralsCreateReferralLinkResponse, type ApiReferralsGetLinkedRefCodeBody, type ApiReferralsGetLinkedRefCodeResponse, type ApiReferralsGetRefCodeBody, type ApiReferralsGetRefCodeResponse, type ApiReferralsGetRefereesBody, type ApiReferralsGetRefereesResponse, type ApiReferralsIsRefCodeTakenBody, type ApiReferralsIsRefCodeTakenResponse, type ApiReferralsSetReferrerBody, type ApiReferralsSetReferrerResponse, type ApiRemoveSuiFrenAccessoryBody, type ApiRewardsClaimRequestTxBody, type ApiRewardsClaimRequestTxResponse, type ApiRewardsDistributionBody, type ApiRewardsDistributionResponse, type ApiRewardsGetClaimableBody, type ApiRewardsGetClaimableResponse, type ApiRewardsGetHistoryBody, type ApiRewardsGetHistoryResponse, type ApiRewardsGetPointsBody, type ApiRewardsGetPointsResponse, type ApiRouterAddTransactionForCompleteTradeRouteBody, type ApiRouterAddTransactionForCompleteTradeRouteBodyDeprecated, type ApiRouterAddTransactionForCompleteTradeRouteResponse, type ApiRouterAddTransactionForCompleteTradeRouteResponseDeprecated, type ApiRouterCompleteTradeRouteBody, type ApiRouterDynamicGasBody, type ApiRouterPartialCompleteTradeRouteBody, type ApiRouterTradeEventsBody, type ApiRouterTransactionForCompleteTradeRouteBody, type ApiStakeBody, type ApiStakeStakedSuiBody, type ApiStakeSuiFrenBody, type ApiStakingEventsBody, type ApiStakingPositionsBody, type ApiTransactionResponse, type ApiTransactionsBody, type ApiUnstakeBody, type ApiUnstakeSuiFrenBody, type ApiUpdateValidatorFeeBody, type ApiValidatorOperationCapsBody, type Apr, type Apy, Auth, type Balance, type BigIntAsString, type Bps, type Byte, type CallerConfig, type CanceledOrderEvent, type CapyLabsAppObject, Casting, Coin, type CoinDecimal, type CoinGeckoChain, type CoinGeckoCoinApiId, type CoinGeckoCoinData, type CoinGeckoCoinSymbolData, type CoinGeckoHistoricalTradeData, type CoinGeckoTickerData, type CoinMetadaWithInfo, type CoinPriceInfo, type CoinSymbol, type CoinSymbolToCoinTypes, type CoinSymbolsToPriceInfo, type CoinType, type CoinWithAmount, type CoinWithAmountOrUndefined, type CoinsToBalance, type CoinsToBalanceOrUndefined, type CoinsToDecimals, type CoinsToPrice, type CoinsToPriceInfo, type CollateralEvent, type Color, type ComposedTransferArgs, type ConfigAddresses, type CreatedAccountEvent, type CreatedDaoFeePoolEvent, type CreatedStopOrderTicketEvent, type DaoFeePoolObject, type DaoFeePoolOwnerCapObject, type DaoFeePoolsAddresses, type DcaAddresses, type DeallocatedCollateralEvent, type DecimalsScalar, type DeferredAccountArgs, type DeletedStopOrderTicketEvent, type DepositedCollateralEvent, type DynamicFieldObjectsWithCursor, type DynamicFieldsInputs, type DynamicFieldsWithCursor, type DynamicGasAddresses, type EditedStopOrderTicketDetailsEvent, type EditedStopOrderTicketExecutorEvent, type EmptyObject, type EpochWasChangedEvent, type Event$1 as Event, type EventsInputs, type EventsWithCursor, type ExecutedStopOrderTicketEvent, type ExternalFee, type FarmEvent, type FarmOwnerOrOneTimeAdminCap, type FarmSummary, type FarmUserEvent, Farms, type FarmsAddedRewardEvent, type FarmsAddresses, type FarmsCreatedVaultEvent, type FarmsDepositedPrincipalEvent, type FarmsDestroyedStakedPositionEvent, type FarmsHarvestedRewardsEvent, type FarmsIncreasedEmissionsEvent, type FarmsInitializedRewardEvent, type FarmsJoinedEvent, type FarmsLockEnforcement, type FarmsLockedEvent, type FarmsMultiplier, type FarmsSplitEvent, type FarmsStakedEvent, FarmsStakedPosition, type FarmsStakedPositionObject, type FarmsStakedPositionRewardCoin, type FarmsStakedRelaxedEvent, FarmsStakingPool, type FarmsStakingPoolObject, type FarmsStakingPoolRewardCoin, type FarmsUnlockedEvent, type FarmsVersion, type FarmsWithdrewPrincipalEvent, Faucet, type FaucetAddCoinEvent, type FaucetAddresses, type FaucetMintCoinEvent, type FilePath, type FilledMakerOrderEventFields, type FilledMakerOrdersEvent, type FilledTakerOrderEvent, type FunctionName, type GasBudget, GasPools, GrpcCasting, type HarvestSuiFrenFeesEvent, Helpers, type IFixed, type IFixedAsBytes, type IFixedAsString, type IFixedAsStringBytes, type IdAsStringBytes, type IndexerDataWithCursorQueryParams, type IndexerEventsWithCursor, type KeyType, type KioskObject, type KioskOwnerCapObject, type LimitAddresses, type LiquidatedEvent, type LocalUrl, type MixSuiFrensEvent, type ModuleName, type MoveErrorCode, type MoveErrors, type MoveErrorsInterface, type Nft, NftAmm, type NftAmmAddresses, type NftAmmInterfaceGenericTypes, type NftAmmMarketObject, type NftDisplay, type NftDisplayOther, type NftDisplaySuggested, type NftInfo, type NftsAddresses, type NormalizedBalance, type NumberAsString, type Object$1 as Object, type ObjectDigest, type ObjectId, type ObjectVersion, type OrderbookFillReceiptEvent, type PackageId, type ParsedMoveError, type PartialFarmsStakedPositionObject, type PartialSuiFrenObject, type Percentage, Perpetuals, PerpetualsAccount, type PerpetualsAccountCap, type PerpetualsAccountCollateralChange, type PerpetualsAccountData, type PerpetualsAccountId, type PerpetualsAccountMarginHistoryData, type PerpetualsAccountMarginHistoryTimeframeKey, type PerpetualsAccountObject, type PerpetualsAccountOrderHistoryData, type PerpetualsAddresses, type PerpetualsBuilderCodeParamaters, type PerpetualsCandleResolution, type PerpetualsCapType, type PerpetualsClientOrderId, type PerpetualsExecutionInfo, type PerpetualsFilledOrderData, type PerpetualsIntegratorVaultData, PerpetualsMarket, type PerpetualsMarket24hrStats, type PerpetualsMarketCandleDataPoint, type PerpetualsMarketCategory, type PerpetualsMarketData, type PerpetualsMarketFundingHistoryPoint, type PerpetualsMarketId, type PerpetualsMarketMetadata, type PerpetualsMarketOrderHistoryData, type PerpetualsMarketParams, type PerpetualsMarketState, type PerpetualsOrderData, type PerpetualsOrderEvent, type PerpetualsOrderId, type PerpetualsOrderIdAsString, type PerpetualsOrderInfo, type PerpetualsOrderPrice, PerpetualsOrderSide, type PerpetualsOrderState, PerpetualsOrderType, type PerpetualsOrderbook, type PerpetualsOrderbookDeltas, type PerpetualsOrderbookItem, type PerpetualsPartialVaultCap, type PerpetualsPosition, type PerpetualsServerInjectedTxFields, type PerpetualsSponsorConfig, type PerpetualsStopOrderData, PerpetualsStopOrderTriggerPriceType, PerpetualsStopOrderType, type PerpetualsTopOfOrderbook, type PerpetualsTopOfOrderbookDataPoint, type PerpetualsTwapCreatePriceConditions, type PerpetualsTwapEvent, type PerpetualsTwapOrderAction, type PerpetualsTwapOrderData, type PerpetualsTwapOrderDetails, type PerpetualsTwapOrderDetailsData, type PerpetualsTwapOrderEdit, type PerpetualsTwapOrderLastError, type PerpetualsTwapOrderPriceConditions, type PerpetualsTwapOrderState, type PerpetualsTwapPriceCondition, type PerpetualsTwapPriceConditionDirection, PerpetualsVault, type PerpetualsVaultCap, type PerpetualsVaultLpCoin, type PerpetualsVaultMetatada, type PerpetualsVaultObject, type PerpetualsVaultWithdrawRequest, type PerpetualsVaultsAddresses, type PerpetualsVaultsConfig, type PerpetualsWsCandleResponseMessage, type PerpetualsWsUpdatesMarketCandlesPayload, type PerpetualsWsUpdatesMarketCandlesSubscriptionType, type PerpetualsWsUpdatesMarketOrdersPayload, type PerpetualsWsUpdatesMarketOrdersSubscriptionType, type PerpetualsWsUpdatesMarketSubscriptionType, type PerpetualsWsUpdatesOraclePayload, type PerpetualsWsUpdatesOracleSubscriptionType, type PerpetualsWsUpdatesOrderbookPayload, type PerpetualsWsUpdatesOrderbookSubscriptionType, type PerpetualsWsUpdatesResponseMessage, type PerpetualsWsUpdatesSubscriptionAction, type PerpetualsWsUpdatesSubscriptionMessage, type PerpetualsWsUpdatesSubscriptionType, type PerpetualsWsUpdatesTopOfOrderbookPayload, type PerpetualsWsUpdatesTopOfOrderbookSubscriptionType, type PerpetualsWsUpdatesUserCollateralChangesPayload, type PerpetualsWsUpdatesUserCollateralChangesSubscriptionType, type PerpetualsWsUpdatesUserOrdersPayload, type PerpetualsWsUpdatesUserOrdersSubscriptionType, type PerpetualsWsUpdatesUserPayload, type PerpetualsWsUpdatesUserSubscriptionType, Pool, type PoolCoin, type PoolCoins, type PoolCreationCoinInfo, type PoolCreationLpCoinMetadata, type PoolDataPoint, type PoolDepositEvent, type PoolDepositFee, type PoolFlatness, type PoolGraphDataTimeUnit, type PoolGraphDataTimeframe, type PoolGraphDataTimeframeKey, type PoolLpInfo, type PoolName, type PoolObject, type PoolStats, type PoolSummary, type PoolTradeEvent, type PoolTradeFee, type PoolWeight, type PoolWithdrawEvent, type PoolWithdrawFee, Pools, type PoolsAddresses, type PostedOrderEvent, type RateLimit, type ReceivedCollateralEvent, type ReducedOrderEvent, ReferralVault, type ReferralVaultAddresses, type ReferralsRefereeInfo, type RewardsClaimableReward, type RewardsDistributionAccountData, type RewardsDistributionCalculationVariables, type RewardsDistributionMakerData, type RewardsDistributionTakerData, type RewardsHistoryEntry, type RewardsHistoryEventType, type RewardsPaginationInfo, Router, type RouterAddresses, type RouterCompleteTradeRoute, type RouterCompleteTradeRouteWithFee, type RouterExternalFee, type RouterProtocolName, type RouterTradeCoin, type RouterTradeEvent, type RouterTradeInfo, type RouterTradePath, type RouterTradeRoute, type RpcEndpoint, type ScallopAddresses, type SdkPerpetualsCancelAndPlaceOrdersInputs, type SdkPerpetualsCancelOrdersPreviewInputs, type SdkPerpetualsCancelTwapOrdersInputs, type SdkPerpetualsCreateTwapOrdersInputs, type SdkPerpetualsEditTwapOrdersInputs, type SdkPerpetualsPlaceLimitOrderInputs, type SdkPerpetualsPlaceLimitOrderPreviewInputs, type SdkPerpetualsPlaceMarketOrderInputs, type SdkPerpetualsPlaceMarketOrderPreviewInputs, type SdkPerpetualsPlaceScaleOrderInputs, type SdkPerpetualsPlaceScaleOrderPreviewInputs, type SdkPerpetualsPlaceSlTpOrdersInputs, type SdkPerpetualsPlaceStopOrdersInputs, type SdkTransactionResponse, type SerializedTransaction, type ServiceCoinData, type ServiceCoinDataV2, type SetPositionInitialMarginRatioEvent, type SettledFundingEvent, type SharedCustodyAddresses, type SignMessageCallback, type Slippage, type StakeBalanceDynamicField, type StakeEvent, type StakePosition, type StakeSuiFrenEvent, type StakedEvent, StakedSuiFren, type StakedSuiFrenInfo, type StakedSuiFrenMetadataV1Object, type StakedSuiFrenPositionObject, type StakedSuiVaultStateObject, Staking, type StakingAddresses, type StakingApyDataPoint, type StakingApyTimeframeKey, type StakingPoolOneTimeAdminCapObject, type StakingPoolOwnerCapObject, type StakingPosition, type StringByte, Sui, type SuiAddress, type SuiCheckpoint, type SuiDelegatedStake, type SuiDelegatedStakeState, SuiFren, type SuiFrenAccessoryName, type SuiFrenAccessoryObject, type SuiFrenAccessoryType, type SuiFrenAttributes, type SuiFrenObject, type SuiFrenStats, type SuiFrenVaultStateV1Object, SuiFrens, type SuiFrensAddresses, SuiFrensSortOption, type SuiNetwork, type SuiObjectView, type Timestamp, type TransactionDigest, type TransactionsWithCursor, type TransferredDeallocatedCollateralEvent, type TranslatedMoveError, type TxBytes, type UniqueId, type UnstakeEvent, type UnstakePosition, type UnstakePositionState, type UnstakeRequestedEvent, type UnstakeSuiFrenEvent, type UnstakedEvent, type UpdatedFeeBpsEvent, type UpdatedFeeRecipientEvent, type UpdatedFundingEvent, type UpdatedMarketVersionEvent, type UpdatedPremiumTwapEvent, type UpdatedSpreadTwapEvent, type Url, type UserEventsInputs, type UserHistoryEventType, type ValidatorConfigObject, type ValidatorOperationCapObject, type ValueOf, type WithdrewCollateralEvent, isAftermathTransportError, isAllocatedCollateralEvent, isCanceledOrderEvent, isDeallocatedCollateralEvent, isDepositedCollateralEvent, isFarmsDepositedPrincipalEvent, isFarmsHarvestedRewardsEvent, isFarmsLockedEvent, isFarmsStakedEvent, isFarmsUnlockedEvent, isFarmsWithdrewPrincipalEvent, isFilledMakerOrdersEvent, isFilledTakerOrderEvent, isLiquidatedEvent, isPostedOrderEvent, isReducedOrderEvent, isSettledFundingEvent, isStakeEvent, isStakePosition, isSuiDelegatedStake, isUnstakeEvent, isUnstakePosition, isUpdatedFundingEvent, isUpdatedMarketVersion, isUpdatedPremiumTwapEvent, isUpdatedSpreadTwapEvent, isWithdrewCollateralEvent };
|
|
25696
|
+
export { type AfSuiRouterPoolObject, Aftermath, type AftermathAbortSource, AftermathApi, type AftermathOptions, AftermathTransportError, type AftermathTransportErrorKind, type AllocatedCollateralEvent, type AmountInCoinAndUsd, type AnyObjectType, type ApiAccessoriesForSuiFrenBody, type ApiAddSuiFrenAccessoryBody, type ApiCreateAuthAccountBody, type ApiCreatePoolBody, type ApiDataWithCursorBody, type ApiDelegatedStakesBody, type ApiDynamicFieldsBody, type ApiDynamicGasBody, type ApiDynamicGasResponse, type ApiEventsBody, type ApiFarmsCreateStakingPoolBody, type ApiFarmsCreateStakingPoolBodyV1, type ApiFarmsDepositPrincipalBody, type ApiFarmsGrantOneTimeAdminCapBody, type ApiFarmsIncreaseStakingPoolRewardsEmissionsBody, type ApiFarmsInitializeStakingPoolRewardBody, type ApiFarmsLockBody, type ApiFarmsOwnedStakedPositionsBody, type ApiFarmsOwnedStakingPoolOneTimeAdminCapsBody, type ApiFarmsOwnedStakingPoolOwnerCapsBody, type ApiFarmsRenewLockBody, type ApiFarmsStakeBody, type ApiFarmsStakeBodyV1, type ApiFarmsSummaryBody, type ApiFarmsTopUpStakingPoolRewardsBody, type ApiFarmsUnlockBody, type ApiFarmsUnstakeBody, type ApiFaucetMintSuiFrenBody, type ApiFaucetRequestBody, type ApiGasPoolBody, type ApiGasPoolCreateBody, type ApiGasPoolCreateResponse, type ApiGasPoolDepositBody, type ApiGasPoolGrantBody, type ApiGasPoolResponse, type ApiGasPoolRevokeBody, type ApiGasPoolShareBody, type ApiGasPoolSponsorBody, type ApiGasPoolSponsorResponse, type ApiGasPoolWithdrawBody, type ApiGasPoolWithdrawResponse, type ApiGetAccessTokenBody, type ApiGetAccessTokenResponse, type ApiHarvestFarmsRewardsBody, type ApiHarvestSuiFrenFeesBody, type ApiIndexerEventsBody, type ApiIndexerUserEventsBody, type ApiMixSuiFrensBody, type ApiNftAmmBuyBody, type ApiNftAmmDepositBody, type ApiNftAmmSellBody, type ApiNftAmmWithdrawBody, type ApiOwnedStakedSuiFrensBody, type ApiOwnedSuiFrenAccessoriesBody, type ApiOwnedSuiFrensBody, type ApiPerpetualsAccountCollateralHistoryBody, type ApiPerpetualsAccountCollateralHistoryResponse, type ApiPerpetualsAccountMarginHistoryBody, type ApiPerpetualsAccountMarginHistoryResponse, type ApiPerpetualsAccountOrderHistoryBody, type ApiPerpetualsAccountOrderHistoryResponse, type ApiPerpetualsAccountPositionsBody, type ApiPerpetualsAccountPositionsResponse, type ApiPerpetualsAccountsPnlCalendarBody, type ApiPerpetualsAccountsPnlCalendarResponse, type ApiPerpetualsAdminAccountCapsBody, type ApiPerpetualsAdminAccountCapsResponse, type ApiPerpetualsAllMarketsBody, type ApiPerpetualsAllMarketsResponse, type ApiPerpetualsAllocateCollateralBody, type ApiPerpetualsBuilderCodesCreateIntegratorConfigTxBody, type ApiPerpetualsBuilderCodesIntegratorConfigBody, type ApiPerpetualsBuilderCodesIntegratorConfigResponse, type ApiPerpetualsBuilderCodesRemoveIntegratorConfigTxBody, type ApiPerpetualsCancelAndPlaceOrdersBody, type ApiPerpetualsCancelOrdersBody, type ApiPerpetualsCancelStopOrdersBody, type ApiPerpetualsCancelTwapOrdersBody, type ApiPerpetualsCreateAccountBody, type ApiPerpetualsCreateAccountResponse, type ApiPerpetualsCreateCsvRebatesBody, type ApiPerpetualsCreateCsvRebatesResponse, type ApiPerpetualsCreateReferralCsvRebatesBody, type ApiPerpetualsCreateReferralCsvRebatesResponse, type ApiPerpetualsCreateTwapOrdersBody, type ApiPerpetualsCreateVaultBody, type ApiPerpetualsCreateVaultCapBody, type ApiPerpetualsDeallocateCollateralBody, type ApiPerpetualsDepositCollateralBody, type ApiPerpetualsEditStopOrdersBody, type ApiPerpetualsEditTwapOrdersBody, type ApiPerpetualsExecutionPriceBody, type ApiPerpetualsExecutionPriceResponse, type ApiPerpetualsGrantAgentWalletTxBody, type ApiPerpetualsHistoricalDataWithCursorBody, type ApiPerpetualsHistoricalDataWithCursorResponse, type ApiPerpetualsLimitOrderBody, type ApiPerpetualsMarketCandleHistoryBody, type ApiPerpetualsMarketCandleHistoryResponse, type ApiPerpetualsMarketFundingHistoryBody, type ApiPerpetualsMarketFundingHistoryResponse, type ApiPerpetualsMarketOrderBody, type ApiPerpetualsMarketOrderHistoryBody, type ApiPerpetualsMarketOrderHistoryResponse, type ApiPerpetualsMarkets24hrStatsResponse, type ApiPerpetualsMarketsBody, type ApiPerpetualsMarketsCategoriesResponse, type ApiPerpetualsMarketsPricesBody, type ApiPerpetualsMarketsPricesResponse, type ApiPerpetualsMarketsResponse, type ApiPerpetualsMaxOrderSizeBody, type ApiPerpetualsOrderToPlace, type ApiPerpetualsOrderbooksBody, type ApiPerpetualsOrderbooksResponse, type ApiPerpetualsOwnedAccountCapsBody, type ApiPerpetualsOwnedAccountCapsResponse, type ApiPerpetualsOwnedVaultAssistantCapsBody, type ApiPerpetualsOwnedVaultAssistantCapsResponse, type ApiPerpetualsOwnedVaultCapsBody, type ApiPerpetualsOwnedVaultCapsResponse, type ApiPerpetualsPlaceSlTpOrdersBody, type ApiPerpetualsPlaceStopOrdersBody, type ApiPerpetualsPreviewCancelOrdersBody, type ApiPerpetualsPreviewCancelOrdersResponse, type ApiPerpetualsPreviewEditCollateralBody, type ApiPerpetualsPreviewEditCollateralResponse, type ApiPerpetualsPreviewPlaceLimitOrderBody, type ApiPerpetualsPreviewPlaceMarketOrderBody, type ApiPerpetualsPreviewPlaceOrderResponse, type ApiPerpetualsPreviewPlaceScaleOrderBody, type ApiPerpetualsPreviewSetLeverageBody, type ApiPerpetualsPreviewSetLeverageResponse, type ApiPerpetualsRevokeAgentWalletTxBody, type ApiPerpetualsScaleOrderBody, type ApiPerpetualsSetLeverageTxBody, type ApiPerpetualsShareAccountBody, type ApiPerpetualsStopOrderDatasBody, type ApiPerpetualsStopOrderDatasResponse, type ApiPerpetualsTransferCapTxBody, type ApiPerpetualsTransferCollateralBody, type ApiPerpetualsTwapOrderDatasBody, type ApiPerpetualsTwapOrderDatasResponse, type ApiPerpetualsVaultCancelWithdrawRequestTxBody, type ApiPerpetualsVaultCreateWithdrawRequestTxBody, type ApiPerpetualsVaultDepositTxBody, type ApiPerpetualsVaultGrantAgentWalletTxBody, type ApiPerpetualsVaultLpCoinPricesBody, type ApiPerpetualsVaultLpCoinPricesResponse, type ApiPerpetualsVaultOwnedLpCoinsBody, type ApiPerpetualsVaultOwnedLpCoinsResponse, type ApiPerpetualsVaultOwnedWithdrawRequestsBody, type ApiPerpetualsVaultOwnedWithdrawRequestsResponse, type ApiPerpetualsVaultOwnerProcessWithdrawRequestsTxBody, type ApiPerpetualsVaultOwnerUpdateForceWithdrawDelayTxBody, type ApiPerpetualsVaultOwnerUpdateLockPeriodTxBody, type ApiPerpetualsVaultOwnerUpdatePerformanceFeeTxBody, type ApiPerpetualsVaultOwnerWithdrawCollateralTxBody, type ApiPerpetualsVaultOwnerWithdrawCollateralTxResponse, type ApiPerpetualsVaultOwnerWithdrawLockedLiquidityTxBody, type ApiPerpetualsVaultOwnerWithdrawLockedLiquidityTxResponse, type ApiPerpetualsVaultOwnerWithdrawPerformanceFeesTxBody, type ApiPerpetualsVaultOwnerWithdrawPerformanceFeesTxResponse, type ApiPerpetualsVaultPauseVaultForForceWithdrawRequestTxBody, type ApiPerpetualsVaultPreviewCreateWithdrawRequestBody, type ApiPerpetualsVaultPreviewCreateWithdrawRequestResponse, type ApiPerpetualsVaultPreviewDepositBody, type ApiPerpetualsVaultPreviewDepositResponse, type ApiPerpetualsVaultPreviewOwnerProcessWithdrawRequestsBody, type ApiPerpetualsVaultPreviewOwnerProcessWithdrawRequestsResponse, type ApiPerpetualsVaultPreviewOwnerWithdrawCollateralBody, type ApiPerpetualsVaultPreviewOwnerWithdrawCollateralResponse, type ApiPerpetualsVaultPreviewOwnerWithdrawLockedLiquidityBody, type ApiPerpetualsVaultPreviewOwnerWithdrawLockedLiquidityResponse, type ApiPerpetualsVaultPreviewOwnerWithdrawPerformanceFeesBody, type ApiPerpetualsVaultPreviewOwnerWithdrawPerformanceFeesResponse, type ApiPerpetualsVaultPreviewPauseVaultForForceWithdrawRequestBody, type ApiPerpetualsVaultPreviewPauseVaultForForceWithdrawRequestResponse, type ApiPerpetualsVaultPreviewProcessForceWithdrawRequestBody, type ApiPerpetualsVaultPreviewProcessForceWithdrawRequestResponse, type ApiPerpetualsVaultProcessForceWithdrawRequestTxBody, type ApiPerpetualsVaultProcessForceWithdrawRequestTxResponse, type ApiPerpetualsVaultRevokeAgentWalletTxBody, type ApiPerpetualsVaultUpdateWithdrawRequestSlippageTxBody, type ApiPerpetualsVaultsBody, type ApiPerpetualsVaultsResponse, type ApiPerpetualsVaultsWithdrawRequestsBody, type ApiPerpetualsVaultsWithdrawRequestsResponse, type ApiPerpetualsWithdrawCollateralBody, type ApiPerpetualsWithdrawCollateralResponse, type ApiPoolAllCoinWithdrawBody, type ApiPoolDepositBody, type ApiPoolObjectIdForLpCoinTypeBody, type ApiPoolSpotPriceBody, type ApiPoolTradeBody, type ApiPoolWithdrawBody, type ApiPoolsOwnedDaoFeePoolOwnerCapsBody, type ApiPoolsStatsBody, type ApiPoolsSummaryBody, type ApiPublishLpCoinBody, type ApiReferralsCreateReferralLinkBody, type ApiReferralsCreateReferralLinkResponse, type ApiReferralsGetLinkedRefCodeBody, type ApiReferralsGetLinkedRefCodeResponse, type ApiReferralsGetRefCodeBody, type ApiReferralsGetRefCodeResponse, type ApiReferralsGetRefereesBody, type ApiReferralsGetRefereesResponse, type ApiReferralsIsRefCodeTakenBody, type ApiReferralsIsRefCodeTakenResponse, type ApiReferralsSetReferrerBody, type ApiReferralsSetReferrerResponse, type ApiRemoveSuiFrenAccessoryBody, type ApiRewardsClaimRequestTxBody, type ApiRewardsClaimRequestTxResponse, type ApiRewardsDistributionBody, type ApiRewardsDistributionResponse, type ApiRewardsGetClaimableBody, type ApiRewardsGetClaimableResponse, type ApiRewardsGetHistoryBody, type ApiRewardsGetHistoryResponse, type ApiRewardsGetPointsBody, type ApiRewardsGetPointsResponse, type ApiRouterAddTransactionForCompleteTradeRouteBody, type ApiRouterAddTransactionForCompleteTradeRouteBodyDeprecated, type ApiRouterAddTransactionForCompleteTradeRouteResponse, type ApiRouterAddTransactionForCompleteTradeRouteResponseDeprecated, type ApiRouterCompleteTradeRouteBody, type ApiRouterDynamicGasBody, type ApiRouterPartialCompleteTradeRouteBody, type ApiRouterTradeEventsBody, type ApiRouterTransactionForCompleteTradeRouteBody, type ApiStakeBody, type ApiStakeStakedSuiBody, type ApiStakeSuiFrenBody, type ApiStakingEventsBody, type ApiStakingPositionsBody, type ApiTransactionResponse, type ApiTransactionsBody, type ApiUnstakeBody, type ApiUnstakeSuiFrenBody, type ApiUpdateValidatorFeeBody, type ApiValidatorOperationCapsBody, type Apr, type Apy, Auth, type Balance, type BigIntAsString, type Bps, type Byte, type CallerConfig, type CanceledOrderEvent, type CapyLabsAppObject, Casting, Coin, type CoinDecimal, type CoinGeckoChain, type CoinGeckoCoinApiId, type CoinGeckoCoinData, type CoinGeckoCoinSymbolData, type CoinGeckoHistoricalTradeData, type CoinGeckoTickerData, type CoinMetadaWithInfo, type CoinPriceInfo, type CoinSymbol, type CoinSymbolToCoinTypes, type CoinSymbolsToPriceInfo, type CoinType, type CoinWithAmount, type CoinWithAmountOrUndefined, type CoinsToBalance, type CoinsToBalanceOrUndefined, type CoinsToDecimals, type CoinsToPrice, type CoinsToPriceInfo, type CollateralEvent, type Color, type ComposedTransferArgs, type ConfigAddresses, type CreatedAccountEvent, type CreatedDaoFeePoolEvent, type CreatedStopOrderTicketEvent, type DaoFeePoolObject, type DaoFeePoolOwnerCapObject, type DaoFeePoolsAddresses, type DcaAddresses, type DeallocatedCollateralEvent, type DecimalsScalar, type DeferredAccountArgs, type DeletedStopOrderTicketEvent, type DepositedCollateralEvent, type DynamicFieldObjectsWithCursor, type DynamicFieldsInputs, type DynamicFieldsWithCursor, type DynamicGasAddresses, type EditedStopOrderTicketDetailsEvent, type EditedStopOrderTicketExecutorEvent, type EmptyObject, type EpochWasChangedEvent, type Event$1 as Event, type EventsInputs, type EventsWithCursor, type ExecutedStopOrderTicketEvent, type ExternalFee, type FarmEvent, type FarmOwnerOrOneTimeAdminCap, type FarmSummary, type FarmUserEvent, Farms, type FarmsAddedRewardEvent, type FarmsAddresses, type FarmsCreatedVaultEvent, type FarmsDepositedPrincipalEvent, type FarmsDestroyedStakedPositionEvent, type FarmsHarvestedRewardsEvent, type FarmsIncreasedEmissionsEvent, type FarmsInitializedRewardEvent, type FarmsJoinedEvent, type FarmsLockEnforcement, type FarmsLockedEvent, type FarmsMultiplier, type FarmsSplitEvent, type FarmsStakedEvent, FarmsStakedPosition, type FarmsStakedPositionObject, type FarmsStakedPositionRewardCoin, type FarmsStakedRelaxedEvent, FarmsStakingPool, type FarmsStakingPoolObject, type FarmsStakingPoolRewardCoin, type FarmsUnlockedEvent, type FarmsVersion, type FarmsWithdrewPrincipalEvent, Faucet, type FaucetAddCoinEvent, type FaucetAddresses, type FaucetMintCoinEvent, type FilePath, type FilledMakerOrderEventFields, type FilledMakerOrdersEvent, type FilledTakerOrderEvent, type FunctionName, type GasBudget, GasPools, GrpcCasting, type HarvestSuiFrenFeesEvent, Helpers, type IFixed, type IFixedAsBytes, type IFixedAsString, type IFixedAsStringBytes, type IdAsStringBytes, type IndexerDataWithCursorQueryParams, type IndexerEventsWithCursor, type KeyType, type KioskObject, type KioskOwnerCapObject, type LimitAddresses, type LiquidatedEvent, type LocalUrl, type MixSuiFrensEvent, type ModuleName, type MoveErrorCode, type MoveErrors, type MoveErrorsInterface, type Nft, NftAmm, type NftAmmAddresses, type NftAmmInterfaceGenericTypes, type NftAmmMarketObject, type NftDisplay, type NftDisplayOther, type NftDisplaySuggested, type NftInfo, type NftsAddresses, type NormalizedBalance, type NumberAsString, type Object$1 as Object, type ObjectDigest, type ObjectId, type ObjectVersion, type OrderbookFillReceiptEvent, type PackageId, type ParsedMoveError, type PartialFarmsStakedPositionObject, type PartialSuiFrenObject, type Percentage, Perpetuals, PerpetualsAccount, type PerpetualsAccountCap, type PerpetualsAccountCollateralChange, type PerpetualsAccountData, type PerpetualsAccountId, type PerpetualsAccountMarginHistoryData, type PerpetualsAccountMarginHistoryTimeframeKey, type PerpetualsAccountObject, type PerpetualsAccountOrderHistoryData, type PerpetualsAccountPnlCalendar, type PerpetualsAccountPnlCalendarDay, type PerpetualsAddresses, type PerpetualsBuilderCodeParamaters, type PerpetualsCandleResolution, type PerpetualsCapType, type PerpetualsClientOrderId, type PerpetualsExecutionInfo, type PerpetualsFilledOrderData, PerpetualsMarket, type PerpetualsMarket24hrStats, type PerpetualsMarketCandleDataPoint, type PerpetualsMarketCategory, type PerpetualsMarketData, type PerpetualsMarketFundingHistoryPoint, type PerpetualsMarketId, type PerpetualsMarketMetadata, type PerpetualsMarketOrderHistoryData, type PerpetualsMarketParams, type PerpetualsMarketState, type PerpetualsOrderData, type PerpetualsOrderEvent, type PerpetualsOrderId, type PerpetualsOrderIdAsString, type PerpetualsOrderInfo, type PerpetualsOrderPrice, PerpetualsOrderSide, type PerpetualsOrderState, PerpetualsOrderType, type PerpetualsOrderbook, type PerpetualsOrderbookDeltas, type PerpetualsOrderbookItem, type PerpetualsPartialVaultCap, type PerpetualsPosition, type PerpetualsServerInjectedTxFields, type PerpetualsSponsorConfig, type PerpetualsStopOrderData, PerpetualsStopOrderTriggerPriceType, PerpetualsStopOrderType, type PerpetualsTopOfOrderbook, type PerpetualsTopOfOrderbookDataPoint, type PerpetualsTwapCreatePriceConditions, type PerpetualsTwapEvent, type PerpetualsTwapOrderAction, type PerpetualsTwapOrderData, type PerpetualsTwapOrderDetails, type PerpetualsTwapOrderDetailsData, type PerpetualsTwapOrderEdit, type PerpetualsTwapOrderLastError, type PerpetualsTwapOrderPriceConditions, type PerpetualsTwapOrderState, type PerpetualsTwapPriceCondition, type PerpetualsTwapPriceConditionDirection, PerpetualsVault, type PerpetualsVaultCap, type PerpetualsVaultLpCoin, type PerpetualsVaultMetatada, type PerpetualsVaultObject, type PerpetualsVaultWithdrawRequest, type PerpetualsVaultsAddresses, type PerpetualsVaultsConfig, type PerpetualsWsCandleResponseMessage, type PerpetualsWsUpdatesMarketCandlesPayload, type PerpetualsWsUpdatesMarketCandlesSubscriptionType, type PerpetualsWsUpdatesMarketOrdersPayload, type PerpetualsWsUpdatesMarketOrdersSubscriptionType, type PerpetualsWsUpdatesMarketSubscriptionType, type PerpetualsWsUpdatesOraclePayload, type PerpetualsWsUpdatesOracleSubscriptionType, type PerpetualsWsUpdatesOrderbookPayload, type PerpetualsWsUpdatesOrderbookSubscriptionType, type PerpetualsWsUpdatesResponseMessage, type PerpetualsWsUpdatesSubscriptionAction, type PerpetualsWsUpdatesSubscriptionMessage, type PerpetualsWsUpdatesSubscriptionType, type PerpetualsWsUpdatesTopOfOrderbookPayload, type PerpetualsWsUpdatesTopOfOrderbookSubscriptionType, type PerpetualsWsUpdatesUserCollateralChangesPayload, type PerpetualsWsUpdatesUserCollateralChangesSubscriptionType, type PerpetualsWsUpdatesUserOrdersPayload, type PerpetualsWsUpdatesUserOrdersSubscriptionType, type PerpetualsWsUpdatesUserPayload, type PerpetualsWsUpdatesUserSubscriptionType, Pool, type PoolCoin, type PoolCoins, type PoolCreationCoinInfo, type PoolCreationLpCoinMetadata, type PoolDataPoint, type PoolDepositEvent, type PoolDepositFee, type PoolFlatness, type PoolGraphDataTimeUnit, type PoolGraphDataTimeframe, type PoolGraphDataTimeframeKey, type PoolLpInfo, type PoolName, type PoolObject, type PoolStats, type PoolSummary, type PoolTradeEvent, type PoolTradeFee, type PoolWeight, type PoolWithdrawEvent, type PoolWithdrawFee, Pools, type PoolsAddresses, type PostedOrderEvent, type RateLimit, type ReceivedCollateralEvent, type ReducedOrderEvent, ReferralVault, type ReferralVaultAddresses, type ReferralsRefereeInfo, type RewardsClaimableReward, type RewardsDistributionAccountData, type RewardsDistributionCalculationVariables, type RewardsDistributionMakerData, type RewardsDistributionTakerData, type RewardsHistoryEntry, type RewardsHistoryEventType, type RewardsPaginationInfo, Router, type RouterAddresses, type RouterCompleteTradeRoute, type RouterCompleteTradeRouteWithFee, type RouterExternalFee, type RouterProtocolName, type RouterTradeCoin, type RouterTradeEvent, type RouterTradeInfo, type RouterTradePath, type RouterTradeRoute, type RpcEndpoint, type ScallopAddresses, type SdkPerpetualsCancelAndPlaceOrdersInputs, type SdkPerpetualsCancelOrdersPreviewInputs, type SdkPerpetualsCancelTwapOrdersInputs, type SdkPerpetualsCreateTwapOrdersInputs, type SdkPerpetualsEditTwapOrdersInputs, type SdkPerpetualsPlaceLimitOrderInputs, type SdkPerpetualsPlaceLimitOrderPreviewInputs, type SdkPerpetualsPlaceMarketOrderInputs, type SdkPerpetualsPlaceMarketOrderPreviewInputs, type SdkPerpetualsPlaceScaleOrderInputs, type SdkPerpetualsPlaceScaleOrderPreviewInputs, type SdkPerpetualsPlaceSlTpOrdersInputs, type SdkPerpetualsPlaceStopOrdersInputs, type SdkTransactionResponse, type SerializedTransaction, type ServiceCoinData, type ServiceCoinDataV2, type SetPositionInitialMarginRatioEvent, type SettledFundingEvent, type SharedCustodyAddresses, type SignMessageCallback, type Slippage, type StakeBalanceDynamicField, type StakeEvent, type StakePosition, type StakeSuiFrenEvent, type StakedEvent, StakedSuiFren, type StakedSuiFrenInfo, type StakedSuiFrenMetadataV1Object, type StakedSuiFrenPositionObject, type StakedSuiVaultStateObject, Staking, type StakingAddresses, type StakingApyDataPoint, type StakingApyTimeframeKey, type StakingPoolOneTimeAdminCapObject, type StakingPoolOwnerCapObject, type StakingPosition, type StringByte, Sui, type SuiAddress, type SuiCheckpoint, type SuiDelegatedStake, type SuiDelegatedStakeState, SuiFren, type SuiFrenAccessoryName, type SuiFrenAccessoryObject, type SuiFrenAccessoryType, type SuiFrenAttributes, type SuiFrenObject, type SuiFrenStats, type SuiFrenVaultStateV1Object, SuiFrens, type SuiFrensAddresses, SuiFrensSortOption, type SuiNetwork, type SuiObjectView, type Timestamp, type TransactionDigest, type TransactionsWithCursor, type TransferredDeallocatedCollateralEvent, type TranslatedMoveError, type TxBytes, type UniqueId, type UnstakeEvent, type UnstakePosition, type UnstakePositionState, type UnstakeRequestedEvent, type UnstakeSuiFrenEvent, type UnstakedEvent, type UpdatedFeeBpsEvent, type UpdatedFeeRecipientEvent, type UpdatedFundingEvent, type UpdatedMarketVersionEvent, type UpdatedPremiumTwapEvent, type UpdatedSpreadTwapEvent, type Url, type UserEventsInputs, type UserHistoryEventType, type ValidatorConfigObject, type ValidatorOperationCapObject, type ValueOf, type WithdrewCollateralEvent, isAftermathTransportError, isAllocatedCollateralEvent, isCanceledOrderEvent, isDeallocatedCollateralEvent, isDepositedCollateralEvent, isFarmsDepositedPrincipalEvent, isFarmsHarvestedRewardsEvent, isFarmsLockedEvent, isFarmsStakedEvent, isFarmsUnlockedEvent, isFarmsWithdrewPrincipalEvent, isFilledMakerOrdersEvent, isFilledTakerOrderEvent, isLiquidatedEvent, isPostedOrderEvent, isReducedOrderEvent, isSettledFundingEvent, isStakeEvent, isStakePosition, isSuiDelegatedStake, isUnstakeEvent, isUnstakePosition, isUpdatedFundingEvent, isUpdatedMarketVersion, isUpdatedPremiumTwapEvent, isUpdatedSpreadTwapEvent, isWithdrewCollateralEvent };
|