@codex-data/sdk 2.3.10 → 2.3.11

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.
@@ -3128,13 +3128,13 @@ export type NetworkWalletFilterResult = {
3128
3128
  averageSwapAmountUsd1y: Scalars['String']['output'];
3129
3129
  /** Average swap amount in USD in the past 30 days */
3130
3130
  averageSwapAmountUsd30d: Scalars['String']['output'];
3131
- /** Average hold period, in seconds, for positions sold during the past day. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
3131
+ /** Average hold period, in seconds, for positions sold during the past day. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
3132
3132
  avgHoldPeriodSec1d?: Maybe<Scalars['Float']['output']>;
3133
- /** Average hold period, in seconds, for positions sold during the past week. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
3133
+ /** Average hold period, in seconds, for positions sold during the past week. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
3134
3134
  avgHoldPeriodSec1w?: Maybe<Scalars['Float']['output']>;
3135
- /** Average hold period, in seconds, for positions sold during the past year. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
3135
+ /** Average hold period, in seconds, for positions sold during the past year. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
3136
3136
  avgHoldPeriodSec1y?: Maybe<Scalars['Float']['output']>;
3137
- /** Average hold period, in seconds, for positions sold during the past 30 days. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
3137
+ /** Average hold period, in seconds, for positions sold during the past 30 days. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
3138
3138
  avgHoldPeriodSec30d?: Maybe<Scalars['Float']['output']>;
3139
3139
  /** The backfill state of the wallet. */
3140
3140
  backfillState?: Maybe<WalletAggregateBackfillState>;
@@ -13660,13 +13660,13 @@ export type TokenWalletFilterResult = {
13660
13660
  amountSoldUsdAll1y: Scalars['String']['output'];
13661
13661
  /** Amount sold USD all in the past 30 days */
13662
13662
  amountSoldUsdAll30d: Scalars['String']['output'];
13663
- /** Average hold period, in seconds, for positions sold during the past day. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
13663
+ /** Average hold period, in seconds, for positions sold during the past day. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
13664
13664
  avgHoldPeriodSec1d?: Maybe<Scalars['Float']['output']>;
13665
- /** Average hold period, in seconds, for positions sold during the past week. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
13665
+ /** Average hold period, in seconds, for positions sold during the past week. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
13666
13666
  avgHoldPeriodSec1w?: Maybe<Scalars['Float']['output']>;
13667
- /** Average hold period, in seconds, for positions sold during the past year. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
13667
+ /** Average hold period, in seconds, for positions sold during the past year. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
13668
13668
  avgHoldPeriodSec1y?: Maybe<Scalars['Float']['output']>;
13669
- /** Average hold period, in seconds, for positions sold during the past 30 days. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
13669
+ /** Average hold period, in seconds, for positions sold during the past 30 days. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
13670
13670
  avgHoldPeriodSec30d?: Maybe<Scalars['Float']['output']>;
13671
13671
  /** The backfill state of the wallet. */
13672
13672
  backfillState?: Maybe<WalletAggregateBackfillState>;
@@ -14150,13 +14150,13 @@ export type WalletFilterResult = {
14150
14150
  averageSwapAmountUsd1y: Scalars['String']['output'];
14151
14151
  /** Average swap amount in USD in the past 30 days */
14152
14152
  averageSwapAmountUsd30d: Scalars['String']['output'];
14153
- /** Average hold period, in seconds, for positions sold during the past day. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14153
+ /** Average hold period, in seconds, for positions sold during the past day. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14154
14154
  avgHoldPeriodSec1d?: Maybe<Scalars['Float']['output']>;
14155
- /** Average hold period, in seconds, for positions sold during the past week. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14155
+ /** Average hold period, in seconds, for positions sold during the past week. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14156
14156
  avgHoldPeriodSec1w?: Maybe<Scalars['Float']['output']>;
14157
- /** Average hold period, in seconds, for positions sold during the past year. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14157
+ /** Average hold period, in seconds, for positions sold during the past year. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14158
14158
  avgHoldPeriodSec1y?: Maybe<Scalars['Float']['output']>;
14159
- /** Average hold period, in seconds, for positions sold during the past 30 days. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14159
+ /** Average hold period, in seconds, for positions sold during the past 30 days. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14160
14160
  avgHoldPeriodSec30d?: Maybe<Scalars['Float']['output']>;
14161
14161
  /** The backfill state of the wallet. */
14162
14162
  backfillState?: Maybe<WalletAggregateBackfillState>;
@@ -14270,13 +14270,13 @@ export type WalletFilters = {
14270
14270
  averageSwapAmountUsd1y?: InputMaybe<NumberFilter>;
14271
14271
  /** Average swap amount in USD in the past 30 days */
14272
14272
  averageSwapAmountUsd30d?: InputMaybe<NumberFilter>;
14273
- /** Average hold period, in seconds, for positions sold during the past day. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14273
+ /** Average hold period, in seconds, for positions sold during the past day. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14274
14274
  avgHoldPeriodSec1d?: InputMaybe<NumberFilter>;
14275
- /** Average hold period, in seconds, for positions sold during the past week. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14275
+ /** Average hold period, in seconds, for positions sold during the past week. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14276
14276
  avgHoldPeriodSec1w?: InputMaybe<NumberFilter>;
14277
- /** Average hold period, in seconds, for positions sold during the past year. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14277
+ /** Average hold period, in seconds, for positions sold during the past year. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14278
14278
  avgHoldPeriodSec1y?: InputMaybe<NumberFilter>;
14279
- /** Average hold period, in seconds, for positions sold during the past 30 days. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14279
+ /** Average hold period, in seconds, for positions sold during the past 30 days. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14280
14280
  avgHoldPeriodSec30d?: InputMaybe<NumberFilter>;
14281
14281
  /** The bot score for the wallet. */
14282
14282
  botScore?: InputMaybe<NumberFilter>;
@@ -14435,13 +14435,13 @@ export type WalletNetworkFilters = {
14435
14435
  averageSwapAmountUsd1y?: InputMaybe<NumberFilter>;
14436
14436
  /** Average swap amount in USD in the past 30 days */
14437
14437
  averageSwapAmountUsd30d?: InputMaybe<NumberFilter>;
14438
- /** Average hold period, in seconds, for positions sold during the past day. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14438
+ /** Average hold period, in seconds, for positions sold during the past day. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14439
14439
  avgHoldPeriodSec1d?: InputMaybe<NumberFilter>;
14440
- /** Average hold period, in seconds, for positions sold during the past week. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14440
+ /** Average hold period, in seconds, for positions sold during the past week. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14441
14441
  avgHoldPeriodSec1w?: InputMaybe<NumberFilter>;
14442
- /** Average hold period, in seconds, for positions sold during the past year. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14442
+ /** Average hold period, in seconds, for positions sold during the past year. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14443
14443
  avgHoldPeriodSec1y?: InputMaybe<NumberFilter>;
14444
- /** Average hold period, in seconds, for positions sold during the past 30 days. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14444
+ /** Average hold period, in seconds, for positions sold during the past 30 days. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14445
14445
  avgHoldPeriodSec30d?: InputMaybe<NumberFilter>;
14446
14446
  /** The bot score for the wallet. Indicates the likelihood of the wallet being a bot. Zero being not a bot and 100 being a definite bot. */
14447
14447
  botScore?: InputMaybe<NumberFilter>;
@@ -14763,13 +14763,13 @@ export type WalletTokenFilters = {
14763
14763
  amountSoldUsd1y?: InputMaybe<WalletTokenFilterRange>;
14764
14764
  /** Filter by amount sold in USD in the past 30 days */
14765
14765
  amountSoldUsd30d?: InputMaybe<WalletTokenFilterRange>;
14766
- /** Average hold period, in seconds, for positions sold during the past day. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14766
+ /** Average hold period, in seconds, for positions sold during the past day. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14767
14767
  avgHoldPeriodSec1d?: InputMaybe<WalletTokenFilterRange>;
14768
- /** Average hold period, in seconds, for positions sold during the past week. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14768
+ /** Average hold period, in seconds, for positions sold during the past week. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14769
14769
  avgHoldPeriodSec1w?: InputMaybe<WalletTokenFilterRange>;
14770
- /** Average hold period, in seconds, for positions sold during the past year. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14770
+ /** Average hold period, in seconds, for positions sold during the past year. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14771
14771
  avgHoldPeriodSec1y?: InputMaybe<WalletTokenFilterRange>;
14772
- /** Average hold period, in seconds, for positions sold during the past 30 days. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14772
+ /** Average hold period, in seconds, for positions sold during the past 30 days. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14773
14773
  avgHoldPeriodSec30d?: InputMaybe<WalletTokenFilterRange>;
14774
14774
  /** Filter by bot score */
14775
14775
  botScore?: InputMaybe<WalletTokenFilterRange>;
@@ -14852,13 +14852,13 @@ export type WalletTokenFiltersV2 = {
14852
14852
  amountSoldUsd1y?: InputMaybe<NumberFilter>;
14853
14853
  /** Filter by amount sold in USD in the past 30 days */
14854
14854
  amountSoldUsd30d?: InputMaybe<NumberFilter>;
14855
- /** Average hold period, in seconds, for positions sold during the past day. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14855
+ /** Average hold period, in seconds, for positions sold during the past day. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14856
14856
  avgHoldPeriodSec1d?: InputMaybe<NumberFilter>;
14857
- /** Average hold period, in seconds, for positions sold during the past week. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14857
+ /** Average hold period, in seconds, for positions sold during the past week. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14858
14858
  avgHoldPeriodSec1w?: InputMaybe<NumberFilter>;
14859
- /** Average hold period, in seconds, for positions sold during the past year. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14859
+ /** Average hold period, in seconds, for positions sold during the past year. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14860
14860
  avgHoldPeriodSec1y?: InputMaybe<NumberFilter>;
14861
- /** Average hold period, in seconds, for positions sold during the past 30 days. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells. */
14861
+ /** Average hold period, in seconds, for positions sold during the past 30 days. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold. */
14862
14862
  avgHoldPeriodSec30d?: InputMaybe<NumberFilter>;
14863
14863
  /** Filter by bot score */
14864
14864
  botScore?: InputMaybe<NumberFilter>;
@@ -15184,7 +15184,7 @@ export type WindowedDetailedNonCurrencyPairStats = {
15184
15184
  /** The non-currency stats for a wallet over a time window. */
15185
15185
  export type WindowedDetailedNonCurrencyWalletStats = {
15186
15186
  __typename?: 'WindowedDetailedNonCurrencyWalletStats';
15187
- /** Average hold period, in seconds, for positions sold during the window. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells in the window. */
15187
+ /** Average hold period, in seconds, for positions sold during the window. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold in the window. */
15188
15188
  avgHoldPeriodSec?: Maybe<Scalars['Float']['output']>;
15189
15189
  /** The number of losses */
15190
15190
  losses: Scalars['Int']['output'];
@@ -15198,7 +15198,7 @@ export type WindowedDetailedNonCurrencyWalletStats = {
15198
15198
  /** The non-currency stats for a wallet over the 1-year window. Mirrors `WindowedDetailedNonCurrencyWalletStats`, but scopes the deprecation of `uniqueTokens` to the 1-year window only. */
15199
15199
  export type WindowedDetailedNonCurrencyWalletStatsYear = {
15200
15200
  __typename?: 'WindowedDetailedNonCurrencyWalletStatsYear';
15201
- /** Average hold period, in seconds, for positions sold during the window. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells in the window. */
15201
+ /** Average hold period, in seconds, for positions sold during the window. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold in the window. */
15202
15202
  avgHoldPeriodSec?: Maybe<Scalars['Float']['output']>;
15203
15203
  /** The number of losses */
15204
15204
  losses: Scalars['Int']['output'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codex-data/sdk",
3
- "version": "2.3.10",
3
+ "version": "2.3.11",
4
4
  "engines": {
5
5
  "node": ">=17.5.0"
6
6
  },