@codex-data/sdk 2.1.1 → 2.1.2
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.
|
@@ -232,6 +232,8 @@ export type BalancesInput = {
|
|
|
232
232
|
removeScams?: InputMaybe<Scalars['Boolean']['input']>;
|
|
233
233
|
/** The attribute to sort the list on. Defaults to BALANCE (raw token amount). */
|
|
234
234
|
sortBy?: InputMaybe<BalancesSortAttribute>;
|
|
235
|
+
/** The direction to sort the list. Defaults to DESC (highest value first). */
|
|
236
|
+
sortDirection?: InputMaybe<RankingDirection>;
|
|
235
237
|
/** The token IDs (`address:networkId`) or addresses to request the balance for. Requires a list of `networks` if only passing addresses. Include native network balances using `native` as the token address. Only applied when using `walletAddress` (not `walletId`). Max 200 tokens. */
|
|
236
238
|
tokens?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
237
239
|
/** The wallet address to filter by. */
|
|
@@ -8592,10 +8594,10 @@ export type PredictionTraderBarsInput = {
|
|
|
8592
8594
|
};
|
|
8593
8595
|
/** The time resolution for prediction trader bar data. */
|
|
8594
8596
|
export declare enum PredictionTraderBarsResolution {
|
|
8595
|
-
Day1 = "
|
|
8596
|
-
Hour1 = "
|
|
8597
|
-
Hour4 = "
|
|
8598
|
-
Week1 = "
|
|
8597
|
+
Day1 = "day1",
|
|
8598
|
+
Hour1 = "hour1",
|
|
8599
|
+
Hour4 = "hour4",
|
|
8600
|
+
Week1 = "week1"
|
|
8599
8601
|
}
|
|
8600
8602
|
/** Response returned by `predictionTraderBars`. */
|
|
8601
8603
|
export type PredictionTraderBarsResponse = {
|
|
@@ -1558,10 +1558,10 @@ var PredictionTradeType;
|
|
|
1558
1558
|
/** The time resolution for prediction trader bar data. */
|
|
1559
1559
|
var PredictionTraderBarsResolution;
|
|
1560
1560
|
(function (PredictionTraderBarsResolution) {
|
|
1561
|
-
PredictionTraderBarsResolution["Day1"] = "
|
|
1562
|
-
PredictionTraderBarsResolution["Hour1"] = "
|
|
1563
|
-
PredictionTraderBarsResolution["Hour4"] = "
|
|
1564
|
-
PredictionTraderBarsResolution["Week1"] = "
|
|
1561
|
+
PredictionTraderBarsResolution["Day1"] = "day1";
|
|
1562
|
+
PredictionTraderBarsResolution["Hour1"] = "hour1";
|
|
1563
|
+
PredictionTraderBarsResolution["Hour4"] = "hour4";
|
|
1564
|
+
PredictionTraderBarsResolution["Week1"] = "week1";
|
|
1565
1565
|
})(PredictionTraderBarsResolution || (exports.PredictionTraderBarsResolution = PredictionTraderBarsResolution = {}));
|
|
1566
1566
|
/** The PnL status of a trader position in a market. */
|
|
1567
1567
|
var PredictionTraderMarketPnlStatus;
|
|
@@ -1552,10 +1552,10 @@ export var PredictionTradeType;
|
|
|
1552
1552
|
/** The time resolution for prediction trader bar data. */
|
|
1553
1553
|
export var PredictionTraderBarsResolution;
|
|
1554
1554
|
(function (PredictionTraderBarsResolution) {
|
|
1555
|
-
PredictionTraderBarsResolution["Day1"] = "
|
|
1556
|
-
PredictionTraderBarsResolution["Hour1"] = "
|
|
1557
|
-
PredictionTraderBarsResolution["Hour4"] = "
|
|
1558
|
-
PredictionTraderBarsResolution["Week1"] = "
|
|
1555
|
+
PredictionTraderBarsResolution["Day1"] = "day1";
|
|
1556
|
+
PredictionTraderBarsResolution["Hour1"] = "hour1";
|
|
1557
|
+
PredictionTraderBarsResolution["Hour4"] = "hour4";
|
|
1558
|
+
PredictionTraderBarsResolution["Week1"] = "week1";
|
|
1559
1559
|
})(PredictionTraderBarsResolution || (PredictionTraderBarsResolution = {}));
|
|
1560
1560
|
/** The PnL status of a trader position in a market. */
|
|
1561
1561
|
export var PredictionTraderMarketPnlStatus;
|