@codex-data/sdk 1.0.17 → 1.0.18

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": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "engines": {
5
5
  "node": ">=17.5.0"
6
6
  },
@@ -41167,7 +41167,7 @@
41167
41167
  },
41168
41168
  {
41169
41169
  "name": "getTokenEventsForMaker",
41170
- "description": "Returns a list of token events for a given maker.",
41170
+ "description": "Returns a list of token events for a given maker across all pairs.",
41171
41171
  "args": [
41172
41172
  {
41173
41173
  "name": "cursor",
@@ -46404,6 +46404,30 @@
46404
46404
  "isDeprecated": false,
46405
46405
  "deprecationReason": null
46406
46406
  },
46407
+ {
46408
+ "name": "liquidPair",
46409
+ "description": "Metadata for the token's most liquid pair",
46410
+ "args": [],
46411
+ "type": {
46412
+ "kind": "OBJECT",
46413
+ "name": "Pair",
46414
+ "ofType": null
46415
+ },
46416
+ "isDeprecated": false,
46417
+ "deprecationReason": null
46418
+ },
46419
+ {
46420
+ "name": "liquidPairLiquidity",
46421
+ "description": "The liquidity of the token's most liquid pair",
46422
+ "args": [],
46423
+ "type": {
46424
+ "kind": "SCALAR",
46425
+ "name": "String",
46426
+ "ofType": null
46427
+ },
46428
+ "isDeprecated": false,
46429
+ "deprecationReason": null
46430
+ },
46407
46431
  {
46408
46432
  "name": "liquidity",
46409
46433
  "description": "Amount of liquidity in the token's top pair.",
@@ -48356,6 +48380,18 @@
48356
48380
  "isDeprecated": false,
48357
48381
  "deprecationReason": null
48358
48382
  },
48383
+ {
48384
+ "name": "imageThumbHash",
48385
+ "description": "The thumbhash of the token logo.",
48386
+ "args": [],
48387
+ "type": {
48388
+ "kind": "SCALAR",
48389
+ "name": "String",
48390
+ "ofType": null
48391
+ },
48392
+ "isDeprecated": false,
48393
+ "deprecationReason": null
48394
+ },
48359
48395
  {
48360
48396
  "name": "imageThumbUrl",
48361
48397
  "description": "The thumbnail token logo URL.",
@@ -6630,7 +6630,7 @@ export type Query = {
6630
6630
  getSymbol?: Maybe<SymbolResponse>;
6631
6631
  /** Returns transactions for a pair. */
6632
6632
  getTokenEvents?: Maybe<EventConnection>;
6633
- /** Returns a list of token events for a given maker. */
6633
+ /** Returns a list of token events for a given maker across all pairs. */
6634
6634
  getTokenEventsForMaker?: Maybe<MakerEventConnection>;
6635
6635
  /** Returns real-time or historical prices for a list of tokens, fetched in batches. */
6636
6636
  getTokenPrices?: Maybe<Array<Maybe<Price>>>;
@@ -7900,6 +7900,10 @@ export type TokenFilterResult = {
7900
7900
  isScam?: Maybe<Scalars['Boolean']['output']>;
7901
7901
  /** The unix timestamp for the token's last transaction. */
7902
7902
  lastTransaction?: Maybe<Scalars['Int']['output']>;
7903
+ /** Metadata for the token's most liquid pair */
7904
+ liquidPair?: Maybe<Pair>;
7905
+ /** The liquidity of the token's most liquid pair */
7906
+ liquidPairLiquidity?: Maybe<Scalars['String']['output']>;
7903
7907
  /** Amount of liquidity in the token's top pair. */
7904
7908
  liquidity?: Maybe<Scalars['String']['output']>;
7905
7909
  /** The lowest price in USD in the past hour. */
@@ -8227,6 +8231,8 @@ export type TokenInfo = {
8227
8231
  imageLargeUrl?: Maybe<Scalars['String']['output']>;
8228
8232
  /** The small token logo URL. */
8229
8233
  imageSmallUrl?: Maybe<Scalars['String']['output']>;
8234
+ /** The thumbhash of the token logo. */
8235
+ imageThumbHash?: Maybe<Scalars['String']['output']>;
8230
8236
  /** The thumbnail token logo URL. */
8231
8237
  imageThumbUrl?: Maybe<Scalars['String']['output']>;
8232
8238
  /** Whether the token has been flagged as a scam. */
@@ -435,7 +435,7 @@ type Query {
435
435
  """The order to receive the token events. Can be `DESC` (default) or `ASC`."""
436
436
  direction: RankingDirection
437
437
  ): EventConnection
438
- """Returns a list of token events for a given maker."""
438
+ """Returns a list of token events for a given maker across all pairs."""
439
439
  getTokenEventsForMaker(
440
440
  """The maximum number of events to return."""
441
441
  limit: Int
@@ -7559,6 +7559,10 @@ type TokenFilterResult {
7559
7559
  circulatingMarketCap: String
7560
7560
  """Metadata for the token's top pair."""
7561
7561
  pair: Pair
7562
+ """Metadata for the token's most liquid pair"""
7563
+ liquidPair: Pair
7564
+ """The liquidity of the token's most liquid pair"""
7565
+ liquidPairLiquidity: String
7562
7566
  """The token price in USD."""
7563
7567
  priceUSD: String
7564
7568
  """The number of sells in the past 5 minutes."""
@@ -7871,6 +7875,8 @@ type TokenInfo {
7871
7875
  symbol: String!
7872
7876
  """The total supply of the token."""
7873
7877
  totalSupply: String
7878
+ """The thumbhash of the token logo."""
7879
+ imageThumbHash: String
7874
7880
  """The thumbnail token logo URL."""
7875
7881
  imageThumbUrl: String
7876
7882
  """The small token logo URL."""
@@ -6632,7 +6632,7 @@ export type Query = {
6632
6632
  getSymbol?: Maybe<SymbolResponse>;
6633
6633
  /** Returns transactions for a pair. */
6634
6634
  getTokenEvents?: Maybe<EventConnection>;
6635
- /** Returns a list of token events for a given maker. */
6635
+ /** Returns a list of token events for a given maker across all pairs. */
6636
6636
  getTokenEventsForMaker?: Maybe<MakerEventConnection>;
6637
6637
  /** Returns real-time or historical prices for a list of tokens, fetched in batches. */
6638
6638
  getTokenPrices?: Maybe<Array<Maybe<Price>>>;
@@ -7902,6 +7902,10 @@ export type TokenFilterResult = {
7902
7902
  isScam?: Maybe<Scalars['Boolean']['output']>;
7903
7903
  /** The unix timestamp for the token's last transaction. */
7904
7904
  lastTransaction?: Maybe<Scalars['Int']['output']>;
7905
+ /** Metadata for the token's most liquid pair */
7906
+ liquidPair?: Maybe<Pair>;
7907
+ /** The liquidity of the token's most liquid pair */
7908
+ liquidPairLiquidity?: Maybe<Scalars['String']['output']>;
7905
7909
  /** Amount of liquidity in the token's top pair. */
7906
7910
  liquidity?: Maybe<Scalars['String']['output']>;
7907
7911
  /** The lowest price in USD in the past hour. */
@@ -8229,6 +8233,8 @@ export type TokenInfo = {
8229
8233
  imageLargeUrl?: Maybe<Scalars['String']['output']>;
8230
8234
  /** The small token logo URL. */
8231
8235
  imageSmallUrl?: Maybe<Scalars['String']['output']>;
8236
+ /** The thumbhash of the token logo. */
8237
+ imageThumbHash?: Maybe<Scalars['String']['output']>;
8232
8238
  /** The thumbnail token logo URL. */
8233
8239
  imageThumbUrl?: Maybe<Scalars['String']['output']>;
8234
8240
  /** Whether the token has been flagged as a scam. */