@codex-data/sdk 1.0.28 → 1.0.30

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.
@@ -484,7 +484,7 @@ export declare enum ContractType {
484
484
  export type CreateApiTokensInput = {
485
485
  /** Number of tokens to create, default is 1 */
486
486
  count?: InputMaybe<Scalars['Int']['input']>;
487
- /** Number of seconds until the token expires, defaults to 1 hour (3600) */
487
+ /** Number of milliseconds until the token expires, defaults to 1 hour (3600000) */
488
488
  expiresIn?: InputMaybe<Scalars['Int']['input']>;
489
489
  /** Number of requests allowed per token, represented as a string, default is 5000 */
490
490
  requestLimit?: InputMaybe<Scalars['String']['input']>;
@@ -5471,6 +5471,8 @@ export type PairMetadata = {
5471
5471
  priceChange12?: Maybe<Scalars['Float']['output']>;
5472
5472
  /** The percent price change in the past 24 hours. Decimal format. */
5473
5473
  priceChange24?: Maybe<Scalars['Float']['output']>;
5474
+ /** The non-quote token price in USD. */
5475
+ priceNonQuoteToken: Scalars['String']['output'];
5474
5476
  /** The token of interest within the pair. Can be `token0` or `token1`. */
5475
5477
  quoteToken?: Maybe<QuoteToken>;
5476
5478
  /** The type of statistics returned. Can be `FILTERED` or `UNFILTERED` */
@@ -7217,7 +7219,7 @@ export type Subscription = {
7217
7219
  onDetailedStatsUpdated?: Maybe<DetailedStats>;
7218
7220
  /** Live-streamed event labels for a token. */
7219
7221
  onEventLabelCreated?: Maybe<EventLabel>;
7220
- /** Live-streamed transactions for a token. */
7222
+ /** Live-streamed transactions for a pair. */
7221
7223
  onEventsCreated?: Maybe<AddEventsOutput>;
7222
7224
  /** Live-streamed transactions for a maker. */
7223
7225
  onEventsCreatedByMaker?: Maybe<AddEventsByMakerOutput>;
@@ -8474,8 +8476,12 @@ export type TokenWalletFilterResult = {
8474
8476
  tokenAmountSoldAll1y: Scalars['String']['output'];
8475
8477
  /** Token amount sold all in the past 30 days */
8476
8478
  tokenAmountSoldAll30d: Scalars['String']['output'];
8477
- /** The current token balance */
8479
+ /** The token balance in the wallet. This value does not update with every transfer and can be slightly stale. Use tokenBalanceLive for live data. */
8478
8480
  tokenBalance: Scalars['String']['output'];
8481
+ /** The current token balance in the wallet. */
8482
+ tokenBalanceLive?: Maybe<Scalars['String']['output']>;
8483
+ /** The current USD value of the token balance. */
8484
+ tokenBalanceLiveUsd?: Maybe<Scalars['String']['output']>;
8479
8485
  };
8480
8486
  /** A token with metadata. */
8481
8487
  export type TokenWithMetadata = {
@@ -8677,6 +8683,8 @@ export type UnconfirmedSwapEventData = {
8677
8683
  };
8678
8684
  export type UniswapV4Data = {
8679
8685
  __typename?: 'UniswapV4Data';
8686
+ /** Whether the token is the network token for the Uniswap V4 pool. */
8687
+ isToken0NetworkToken?: Maybe<Scalars['Boolean']['output']>;
8680
8688
  type: Scalars['String']['output'];
8681
8689
  /** The address of the hook contract for Uniswap V4 pools. */
8682
8690
  uniswapV4HookAddress?: Maybe<Scalars['String']['output']>;