@codex-data/sdk 2.3.23 → 2.3.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codex-data/sdk",
3
- "version": "2.3.23",
3
+ "version": "2.3.26",
4
4
  "engines": {
5
5
  "node": ">=17.5.0"
6
6
  },
package/schema.graphql CHANGED
@@ -527,16 +527,19 @@ type Query {
527
527
  """Where in the list the server should start when returning items. Use `count`+`page` from the previous query to request the next page of results."""
528
528
  offset: Int
529
529
  ): TokenFilterConnection
530
+ """Returns the list of token categories, optionally filtered by kind (canonical or narrative) and lifecycle status. Defaults to active categories."""
530
531
  categories(
531
532
  """Filter by category kind."""
532
533
  type: CategoryType
533
534
  """Filter by lifecycle status. Defaults to `ACTIVE`."""
534
535
  status: CategoryStatus
535
536
  ): [Category!]!
537
+ """Returns a single token category by its slug, or null if none matches."""
536
538
  category(
537
539
  """The category slug."""
538
540
  slug: String!
539
541
  ): Category
542
+ """Returns the tokens assigned to a category (including its subcategories), with optional `filterTokens`-style filters and rankings applied."""
540
543
  categoryTokens(
541
544
  """The category slug."""
542
545
  slug: String!
@@ -4986,6 +4989,8 @@ type TokenFilterResult {
4986
4989
  high4: String
4987
4990
  """Amount of liquidity in the token's top pair."""
4988
4991
  liquidity: String
4992
+ """The token's cumulative route-backed liquidity in USD, summed across the token's pairs with valid routing liquidity. Distinct from `liquidity`, which covers the top pair only. Null when this stat has not been computed for the token yet."""
4993
+ totalLiquidityUsd: String
4989
4994
  """The token of interest. Can be `token0` or `token1`."""
4990
4995
  quoteToken: String
4991
4996
  """The lowest price in USD in the past 5 minutes."""
@@ -11098,6 +11103,8 @@ type Balance {
11098
11103
  tokenPriceUsd: String
11099
11104
  """The time that this address first held a token."""
11100
11105
  firstHeldTimestamp: Int
11106
+ """The block number at which this balance was last updated. Null when the block is unknown (e.g. native balances) or the underlying balance record cannot be found."""
11107
+ updatedAtBlock: Int
11101
11108
  """Metadata for the token."""
11102
11109
  token: EnhancedToken
11103
11110
  """The token's route-backed liquidity in USD: the real liquidity supporting the token price, summed across the token's pairs with valid routing liquidity. Null when this stat has not been computed for the token yet."""
@@ -12686,10 +12693,18 @@ type TokenExtensions {
12686
12693
  }
12687
12694
 
12688
12695
  type B20Extensions {
12689
- """Current rebasing multiplier as a decimal string (e.g. "1.5"); absent means 1.0×."""
12696
+ """Current rebasing multiplier as a decimal string (e.g. "1.5"); absent means 1.0× or a non-asset variant."""
12690
12697
  multiplier: String
12691
- """Unix-seconds timestamp when this multiplier value was observed (the MultiplierUpdated block time, or the enrichment read time when seeded)."""
12698
+ """Unix-seconds timestamp when the multiplier value was last read from chain by us."""
12692
12699
  multiplierObservedAt: String
12700
+ """Whether token transfers are currently paused. B20 pausing is granular — transfers, mints, and burns pause independently."""
12701
+ pausedTransfer: Boolean
12702
+ """Whether minting is currently paused."""
12703
+ pausedMint: Boolean
12704
+ """Whether burning is currently paused."""
12705
+ pausedBurn: Boolean
12706
+ """Maximum mintable supply in raw (pre-multiplier) units, as a decimal string. The sentinel value 340282366920938463463374607431768211455 (2^128-1) means uncapped."""
12707
+ supplyCap: String
12693
12708
  }
12694
12709
 
12695
12710
  type Token2022Extensions {