@codex-data/sdk 2.3.4 → 2.3.6

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.
@@ -249,6 +249,8 @@ export type Balance = {
249
249
  tokenAddress: Scalars['String']['output'];
250
250
  /** The ID of the token (`tokenAddress:networkId`). */
251
251
  tokenId: Scalars['String']['output'];
252
+ /** Unix timestamp (seconds) of the token's most recent trade/market event across all pools we track. Token-level (not specific to this wallet). Useful for filtering out dead/worthless tokens, e.g. no activity in months. */
253
+ tokenLastTradedTimestamp?: Maybe<Scalars['Int']['output']>;
252
254
  /** The token price in USD. */
253
255
  tokenPriceUsd?: Maybe<Scalars['String']['output']>;
254
256
  /** Identity and profile metadata for the wallet holding this balance. Not always available. */
@@ -3033,7 +3035,12 @@ export type NetworkBreakdown = {
3033
3035
  /** The stats for the last week */
3034
3036
  statsWeek1?: Maybe<WindowedWalletStats>;
3035
3037
  /** The stats for the last year */
3036
- statsYear1?: Maybe<WindowedWalletStatsYear>;
3038
+ statsYear?: Maybe<WindowedWalletStatsYear>;
3039
+ /**
3040
+ * The stats for the last year
3041
+ * @deprecated statsYear1 is no longer supported and will be removed on 2026-07-10 (we are removing uniqueTokens1y). Use statsYear instead.
3042
+ */
3043
+ statsYear1?: Maybe<WindowedWalletStats>;
3037
3044
  };
3038
3045
  export type NetworkConfig = AptosNetworkConfig | EvmNetworkConfig | SolanaNetworkConfig | StarknetNetworkConfig | SuiNetworkConfig;
3039
3046
  export type NetworkConfigBase = {
@@ -15952,6 +15959,7 @@ export type RefreshBalancesMutation = {
15952
15959
  shiftedBalance: number;
15953
15960
  tokenAddress: string;
15954
15961
  tokenId: string;
15962
+ tokenLastTradedTimestamp?: number | null;
15955
15963
  tokenPriceUsd?: string | null;
15956
15964
  walletId: string;
15957
15965
  token?: {
@@ -16768,6 +16776,7 @@ export type BalancesQuery = {
16768
16776
  shiftedBalance: number;
16769
16777
  tokenAddress: string;
16770
16778
  tokenId: string;
16779
+ tokenLastTradedTimestamp?: number | null;
16771
16780
  tokenPriceUsd?: string | null;
16772
16781
  walletId: string;
16773
16782
  token?: {
@@ -21852,7 +21861,7 @@ export type DetailedWalletStatsQuery = {
21852
21861
  volumeUsdAll: string;
21853
21862
  };
21854
21863
  } | null;
21855
- statsYear1?: {
21864
+ statsYear?: {
21856
21865
  __typename?: 'WindowedWalletStatsYear';
21857
21866
  end: number;
21858
21867
  lastTransactionAt: number;
@@ -37212,6 +37221,7 @@ export type HoldersQuery = {
37212
37221
  shiftedBalance: number;
37213
37222
  tokenAddress: string;
37214
37223
  tokenId: string;
37224
+ tokenLastTradedTimestamp?: number | null;
37215
37225
  tokenPriceUsd?: string | null;
37216
37226
  walletId: string;
37217
37227
  token?: {
@@ -46860,6 +46870,7 @@ export type OnBalanceUpdatedSubscription = {
46860
46870
  shiftedBalance: number;
46861
46871
  tokenAddress: string;
46862
46872
  tokenId: string;
46873
+ tokenLastTradedTimestamp?: number | null;
46863
46874
  tokenPriceUsd?: string | null;
46864
46875
  walletId: string;
46865
46876
  token?: {
@@ -55885,6 +55896,7 @@ export type OnHoldersUpdatedSubscription = {
55885
55896
  shiftedBalance: number;
55886
55897
  tokenAddress: string;
55887
55898
  tokenId: string;
55899
+ tokenLastTradedTimestamp?: number | null;
55888
55900
  tokenPriceUsd?: string | null;
55889
55901
  walletId: string;
55890
55902
  token?: {