@codex-data/sdk 2.3.29 → 2.3.31

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/schema.graphql CHANGED
@@ -288,12 +288,6 @@ type Query {
288
288
  walletNftCollectionAssets(
289
289
  input: WalletNftCollectionAssetsInput!
290
290
  ): WalletNftCollectionAssetsResponse! @deprecated(reason: "NFT data coverage will be removed on March 31, 2026")
291
- """Returns the full vocabulary of wallet label types and their metadata."""
292
- walletLabelTypes: [WalletLabelType!]!
293
- """Returns community gathered notes."""
294
- getCommunityNotes(
295
- input: CommunityNotesInput
296
- ): CommunityNotesResponse!
297
291
  """Returns windowed and all-time stats for a prediction market."""
298
292
  detailedPredictionMarketStats(
299
293
  """Input parameters used to select a market and stat windows."""
@@ -472,6 +466,18 @@ type Query {
472
466
  """Where in the list the server should start when returning items."""
473
467
  offset: Int
474
468
  ): PredictionTraderFilterConnection
469
+ """Get all active short-lived api tokens for this api key"""
470
+ apiTokens: [ApiToken!]!
471
+ """Get the active short-lived api token for this api key by the short-lived token"""
472
+ apiToken(
473
+ token: String!
474
+ ): ApiToken!
475
+ """Returns the full vocabulary of wallet label types and their metadata."""
476
+ walletLabelTypes: [WalletLabelType!]!
477
+ """Returns community gathered notes."""
478
+ getCommunityNotes(
479
+ input: CommunityNotesInput
480
+ ): CommunityNotesResponse!
475
481
  """Returns block data for the input blockNumbers or timestamps, maximum 25 inputs."""
476
482
  blocks(
477
483
  input: BlocksInput!
@@ -500,12 +506,6 @@ type Query {
500
506
  getNetworkConfigs(
501
507
  networkIds: [Int!]
502
508
  ): [NetworkConfig!]!
503
- """Get all active short-lived api tokens for this api key"""
504
- apiTokens: [ApiToken!]!
505
- """Get the active short-lived api token for this api key by the short-lived token"""
506
- apiToken(
507
- token: String!
508
- ): ApiToken!
509
509
  """Discover, screen, and rank tokens across every supported network using 100+ on-chain signals: trading activity, liquidity, holder behavior, fee economics, and launchpad lifecycle."""
510
510
  filterTokens(
511
511
  """A set of filters to apply."""
@@ -894,6 +894,14 @@ type Query {
894
894
  }
895
895
 
896
896
  type Mutation {
897
+ """Create a new set of short-lived api access tokens"""
898
+ createApiTokens(
899
+ input: CreateApiTokensInput!
900
+ ): [ApiToken!]!
901
+ """Delete a single short-lived api access token by id"""
902
+ deleteApiToken(
903
+ id: String!
904
+ ): String!
897
905
  """Create event webhooks for price, token/pair, transfer, market cap, and prediction market trades."""
898
906
  createWebhooks(
899
907
  """input: Input for creating webhooks."""
@@ -904,14 +912,6 @@ type Mutation {
904
912
  """input: Input for deleting webhooks."""
905
913
  input: DeleteWebhooksInput!
906
914
  ): DeleteWebhooksOutput
907
- """Create a new set of short-lived api access tokens"""
908
- createApiTokens(
909
- input: CreateApiTokensInput!
910
- ): [ApiToken!]!
911
- """Delete a single short-lived api access token by id"""
912
- deleteApiToken(
913
- id: String!
914
- ): String!
915
915
  """Force refreshes the balance for a token in a wallet. EVM only."""
916
916
  refreshBalances(
917
917
  input: [RefreshBalancesInput!]!
@@ -4658,792 +4658,128 @@ type AddNftPoolEventsOutput {
4658
4658
 
4659
4659
  scalar JSON
4660
4660
 
4661
- scalar Void
4661
+ """A prediction sub-subcategory (3rd level, terminal)."""
4662
+ type PredictionSubSubcategory {
4663
+ """The display name."""
4664
+ name: String!
4665
+ """The URL slug."""
4666
+ slug: String!
4667
+ }
4662
4668
 
4663
- """Type of the community gathered note."""
4664
- enum CommunityNoteType {
4665
- """An contract attribute change."""
4666
- ATTRIBUTE
4667
- """A scam report."""
4668
- SCAM
4669
- """A logo change."""
4670
- LOGO
4669
+ """A prediction subcategory (2nd level)."""
4670
+ type PredictionSubcategory {
4671
+ """The display name."""
4672
+ name: String!
4673
+ """The URL slug."""
4674
+ slug: String!
4675
+ """Nested subcategories (3rd level)."""
4676
+ subcategories: [PredictionSubSubcategory!]
4671
4677
  }
4672
4678
 
4673
- """Type of the contract."""
4674
- enum ContractType {
4675
- TOKEN
4676
- WALLET
4679
+ """A prediction category with optional nested subcategories."""
4680
+ type PredictionCategory {
4681
+ """The display name."""
4682
+ name: String!
4683
+ """The URL slug."""
4684
+ slug: String!
4685
+ """Nested subcategories (2nd level)."""
4686
+ subcategories: [PredictionSubcategory!]
4677
4687
  }
4678
4688
 
4679
- enum ContractProposalStatus {
4680
- ACCEPTED
4681
- PENDING
4682
- REJECTED
4683
- REVERTED
4689
+ """The duration used to request windowed prediction stats."""
4690
+ enum PredictionStatsDuration {
4691
+ week1
4692
+ day1
4693
+ hour12
4694
+ hour4
4695
+ hour1
4696
+ min5
4684
4697
  }
4685
4698
 
4686
- """The attribute used to rank tokens."""
4687
- enum TokenRankingAttribute {
4688
- createdAt
4689
- tokenCreatedAt
4690
- lastTransaction
4691
- age @deprecated(reason: "Use createdAt instead")
4692
- buyCount5m
4693
- buyCount1
4694
- buyCount4
4695
- buyCount12
4696
- buyCount24
4697
- change5m
4698
- change1
4699
- change4
4700
- change12
4701
- change24
4702
- volumeChange5m
4703
- volumeChange1
4704
- volumeChange4
4705
- volumeChange12
4706
- volumeChange24
4707
- high5m
4708
- high1
4709
- high4
4710
- high12
4711
- high24
4712
- holders
4713
- notableHolderCount
4714
- liquidity
4715
- low5m
4716
- low1
4717
- low4
4718
- low12
4719
- low24
4720
- marketCap
4721
- circulatingMarketCap
4722
- priceUSD
4723
- sellCount5m
4724
- sellCount1
4725
- sellCount4
4726
- sellCount12
4727
- sellCount24
4728
- trendingScore
4729
- trendingScore5m
4730
- trendingScore1
4731
- trendingScore4
4732
- trendingScore12
4733
- trendingScore24
4734
- txnCount5m
4735
- txnCount1
4736
- txnCount4
4737
- txnCount12
4738
- txnCount24
4739
- uniqueBuys5m
4740
- uniqueBuys1
4741
- uniqueBuys4
4742
- uniqueBuys12
4743
- uniqueBuys24
4744
- uniqueSells5m
4745
- uniqueSells1
4746
- uniqueSells4
4747
- uniqueSells12
4748
- uniqueSells24
4749
- uniqueTransactions5m
4750
- uniqueTransactions1
4751
- uniqueTransactions4
4752
- uniqueTransactions12
4753
- uniqueTransactions24
4754
- volume5m
4755
- volume1
4756
- volume4
4757
- volume12
4758
- volume24
4759
- buyVolume5m
4760
- buyVolume1
4761
- buyVolume4
4762
- buyVolume12
4763
- buyVolume24
4764
- sellVolume5m
4765
- sellVolume1
4766
- sellVolume4
4767
- sellVolume12
4768
- sellVolume24
4769
- poolFees5m
4770
- poolFees1
4771
- poolFees4
4772
- poolFees12
4773
- poolFees24
4774
- baseFees5m
4775
- baseFees1
4776
- baseFees4
4777
- baseFees12
4778
- baseFees24
4779
- priorityFees5m
4780
- priorityFees1
4781
- priorityFees4
4782
- priorityFees12
4783
- priorityFees24
4784
- builderTips5m
4785
- builderTips1
4786
- builderTips4
4787
- builderTips12
4788
- builderTips24
4789
- l1DataFees5m
4790
- l1DataFees1
4791
- l1DataFees4
4792
- l1DataFees12
4793
- l1DataFees24
4794
- totalFees5m
4795
- totalFees1
4796
- totalFees4
4797
- totalFees12
4798
- totalFees24
4799
- feeToVolumeRatio5m
4800
- feeToVolumeRatio1
4801
- feeToVolumeRatio4
4802
- feeToVolumeRatio12
4803
- feeToVolumeRatio24
4804
- launchpadCompletedAt
4805
- launchpadMigratedAt
4806
- graduationPercent
4807
- walletAgeAvg
4808
- walletAgeStd
4809
- swapPct1dOldWallet
4810
- swapPct7dOldWallet
4811
- sniperHeldPercentage
4812
- bundlerHeldPercentage
4813
- insiderHeldPercentage
4814
- suspiciousHeldPercentage
4815
- sniperCount
4816
- bundlerCount
4817
- insiderCount
4818
- suspiciousCount
4819
- devHeldPercentage
4820
- top10HoldersPercent
4821
- coinCommunityPostCount
4822
- coinCommunityMemberCount
4823
- coinCommunityLikeCount
4824
- coinCommunityLastPostAt
4699
+ """Input type of `detailedPredictionMarketStats`."""
4700
+ input DetailedPredictionMarketStatsInput {
4701
+ """The ID of the prediction market."""
4702
+ marketId: String!
4703
+ """The unix timestamp."""
4704
+ timestamp: Int
4705
+ """The stat durations to include."""
4706
+ durations: [PredictionStatsDuration!]
4707
+ """The number of stat buckets to return."""
4708
+ bucketCount: Int
4825
4709
  }
4826
4710
 
4827
- """Input type of `TokenRanking`."""
4828
- input TokenRanking {
4829
- """The attribute to rank tokens by."""
4830
- attribute: TokenRankingAttribute
4831
- """The direction to apply to the ranking attribute."""
4832
- direction: RankingDirection
4711
+ """A currency value pair containing both USD and collateral token values."""
4712
+ type CurrencyValuePair {
4713
+ """Value in USD."""
4714
+ usd: String!
4715
+ """Value in collateral token units."""
4716
+ ct: String!
4833
4717
  }
4834
4718
 
4835
- """Real-time or historical prices for a token."""
4836
- type Price {
4837
- """The contract address of the token."""
4838
- address: String!
4839
- """The unix timestamp for the price."""
4840
- timestamp: Int
4841
- """The network ID the token is deployed on."""
4842
- networkId: Int!
4843
- """The token price in USD."""
4844
- priceUsd: Float!
4845
- """The pool that emitted the swap generating this price"""
4846
- blockNumber: Int
4847
- """The token's cumulative route-backed liquidity in USD, summed across the token's pairs with valid routing liquidity. Null when this stat has not been computed for the token yet. Not available via subscription."""
4848
- liquidityUsd: String
4849
- """The percent price change in the past 24 hours. Decimal format. Not available via subscription."""
4850
- priceChange24: Float
4851
- """The pool that emitted the swap generating this price"""
4852
- poolAddress: String @deprecated(reason: "Pricing no longer based on specific pools")
4853
- """Ratio of how confident we are in the price"""
4854
- confidence: Float @deprecated(reason: "Pricing no longer based on specific pools")
4719
+ """OHLC (Open/High/Low/Close) values for a currency pair."""
4720
+ type CurrencyOHLC {
4721
+ """Opening value."""
4722
+ open: CurrencyValuePair!
4723
+ """Closing value."""
4724
+ close: CurrencyValuePair!
4725
+ """Low value."""
4726
+ low: CurrencyValuePair!
4727
+ """High value."""
4728
+ high: CurrencyValuePair!
4855
4729
  }
4856
4730
 
4857
- """Metadata for a token."""
4858
- type EnhancedToken {
4859
- """The ID of the token (`address:networkId`)."""
4860
- id: String!
4861
- """The contract address of the token."""
4862
- address: String!
4863
- """The token ID on CoinMarketCap."""
4864
- cmcId: Int
4865
- """The precision to which the token can be divided. For example, the smallest unit for USDC is 0.000001 (6 decimals)."""
4866
- decimals: Int!
4867
- """Whether the token has been flagged as a scam."""
4868
- isScam: Boolean
4869
- """The token name. For example, `ApeCoin`."""
4870
- name: String
4871
- """The network ID the token is deployed on."""
4872
- networkId: Int!
4873
- """The token symbol. For example, `APE`."""
4874
- symbol: String
4875
- """The total supply of the token."""
4876
- totalSupply: String @deprecated(reason: "Use the TokenInfo type")
4877
- """Community gathered links for the socials of this token."""
4878
- socialLinks: SocialLinks
4879
- """More metadata about the token."""
4880
- info: TokenInfo
4881
- """The Grid asset ID, if this token is linked to a Grid asset."""
4882
- gridAssetId: String
4883
- """The Grid bluechip rating for this token (e.g. `A+`, `B-`)."""
4884
- bluechipRating: String
4885
- """The Grid organization associated with this token."""
4886
- organization: Organization
4887
- """The Grid asset associated with this token."""
4888
- asset: Asset
4889
- """Information about the token from 3rd party sources."""
4890
- explorerData: ExplorerTokenData @deprecated(reason: "Use the TokenInfo type")
4891
- """A list of exchanges where the token has been traded."""
4892
- exchanges: [Exchange!]
4893
- """The thumbnail token logo URL."""
4894
- imageThumbUrl: String @deprecated(reason: "Use the TokenInfo type")
4895
- """The small token logo URL."""
4896
- imageSmallUrl: String @deprecated(reason: "Use the TokenInfo type")
4897
- """The large token logo URL."""
4898
- imageLargeUrl: String @deprecated(reason: "Use the TokenInfo type")
4899
- """The circulating supply of the token."""
4900
- circulatingSupply: String @deprecated(reason: "Use the TokenInfo type")
4901
- """The amount of this token in the pair."""
4902
- pooled: String @deprecated(reason: "Pooled can be found on the pair instead")
4903
- """The token creator's wallet address."""
4904
- creatorAddress: String
4905
- """The token creator's wallet identity and profile, resolved from creatorAddress. Null when the token has no known creator."""
4906
- creator: Wallet
4907
- """The block height the token was created at."""
4908
- createBlockNumber: Int
4909
- """The transaction hash of the token's creation."""
4910
- createTransactionHash: String
4911
- """The unix timestamp for the creation of the token."""
4912
- createdAt: Int
4913
- """Returns mint authority address if token is mintable. If null, verify against isMintableValid."""
4914
- mintable: String
4915
- """Returns freeze authority address if token is freezable. If null, verify against isFreezableValid."""
4916
- freezable: String
4917
- """Determines if freezable is a valid address or null value for the authority, or if the freezable state has not yet been determined."""
4918
- isFreezableValid: Boolean
4919
- """Determines if mintable is a valid address or null value for the authority, or if the mintable state has not yet been determined."""
4920
- isMintableValid: Boolean
4921
- """The launchpad data for the token, if applicable."""
4922
- launchpad: LaunchpadData
4923
- """The percentage of total supply held by the top 10 holders (excluding exchanges/pairs)."""
4924
- top10HoldersPercent: Float
4925
- """Whether the token name or symbol contains profanity."""
4926
- profanity: Boolean
4927
- """All-time high and low price/market cap data for the token."""
4928
- extrema: TokenExtrema
4929
- """The Coin Community data for the token"""
4930
- coinCommunity: CoinCommunity
4931
- """Token extension metadata, if available."""
4932
- extensions: TokenExtensions
4933
- """Token-standard-specific custom metadata — currently ERC-7572 `contractURI` fields, as used by Base B20 tokens. Null for tokens without a recognized token standard."""
4934
- tokenStandardCustomData: Erc7572CustomInfo
4935
- categories: [Category!]
4731
+ """A price value pair containing both USD and collateral token prices."""
4732
+ type PriceValuePair {
4733
+ """Price in USD."""
4734
+ usd: String!
4735
+ """Price in collateral token units."""
4736
+ ct: String!
4936
4737
  }
4937
4738
 
4938
- """A token matching a set of filter parameters."""
4939
- type TokenFilterResult {
4940
- """Metadata for the token."""
4941
- token: EnhancedToken
4942
- """The unix timestamp for the creation of the token's first pair."""
4943
- createdAt: Int
4944
- """The unix timestamp for the token's last transaction."""
4945
- lastTransaction: Int
4946
- age: Int @deprecated(reason: "Age isn't supported - use createdAt instead")
4947
- """The number of buys in the past 5 minutes."""
4948
- buyCount5m: Int
4949
- """The number of buys in the past hour."""
4950
- buyCount1: Int
4951
- """The number of buys in the past 12 hours."""
4952
- buyCount12: Int
4953
- """The number of buys in the past 24 hours."""
4954
- buyCount24: Int
4955
- """The number of buys in the past 4 hours."""
4956
- buyCount4: Int
4957
- """The percent price change in the past 5 minutes. Decimal format."""
4958
- change5m: String
4959
- """The percent price change in the past hour. Decimal format."""
4960
- change1: String
4961
- """The percent price change in the past 12 hours. Decimal format."""
4962
- change12: String
4963
- """The percent price change in the past 24 hours. Decimal format."""
4964
- change24: String
4965
- """The percent price change in the past 4 hours. Decimal format."""
4966
- change4: String
4967
- """The percent volume change in the past 5 minutes. Decimal format."""
4968
- volumeChange5m: String
4969
- """The percent volume change in the past hour. Decimal format."""
4970
- volumeChange1: String
4971
- """The percent volume change in the past 4 hours. Decimal format."""
4972
- volumeChange4: String
4973
- """The percent volume change in the past 12 hours. Decimal format."""
4974
- volumeChange12: String
4975
- """The percent volume change in the past 24 hours. Decimal format."""
4976
- volumeChange24: String
4977
- """The exchanges the token is listed on."""
4978
- exchanges: [Exchange]
4979
- fdv: String @deprecated(reason: "FDV isn't supported - use marketCap instead")
4980
- """The highest price in USD in the past 5 minutes."""
4981
- high5m: String
4982
- """The highest price in USD in the past hour."""
4983
- high1: String
4984
- """The highest price in USD in the past 12 hours."""
4985
- high12: String
4986
- """The highest price in USD in the past 24 hours."""
4987
- high24: String
4988
- """The highest price in USD in the past 4 hours."""
4989
- high4: String
4990
- """Amount of liquidity in the token's top pair."""
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
4994
- """The token of interest. Can be `token0` or `token1`."""
4995
- quoteToken: String
4996
- """The lowest price in USD in the past 5 minutes."""
4997
- low5m: String
4998
- """The lowest price in USD in the past hour."""
4999
- low1: String
5000
- """The lowest price in USD in the past 12 hours."""
5001
- low12: String
5002
- """The lowest price in USD in the past 24 hours."""
5003
- low24: String
5004
- """The lowest price in USD in the past 4 hours."""
5005
- low4: String
5006
- """The fully diluted market cap."""
5007
- marketCap: String
5008
- """The circulating market cap."""
5009
- circulatingMarketCap: String
5010
- """Metadata for the token's top pair."""
5011
- pair: Pair
5012
- """Metadata for the token's most liquid pair"""
5013
- liquidPair: Pair
5014
- """The liquidity of the token's most liquid pair"""
5015
- liquidPairLiquidity: String
5016
- """The liquid pairs price in USD."""
5017
- liquidPairPriceUSD: String
5018
- """The token price in USD."""
5019
- priceUSD: String
5020
- """A heuristic based on various factors used to rank tokens based on how trending they are."""
5021
- trendingScore: Float
5022
- """The number of sells in the past 5 minutes."""
5023
- sellCount5m: Int
5024
- """The number of sells in the past hour."""
5025
- sellCount1: Int
5026
- """The number of sells in the past 12 hours."""
5027
- sellCount12: Int
5028
- """The number of sells in the past 24 hours."""
5029
- sellCount24: Int
5030
- """The number of sells in the past 4 hours."""
5031
- sellCount4: Int
5032
- """The number of transactions in the past 5 minutes."""
5033
- txnCount5m: Int
5034
- """The number of transactions in the past hour."""
5035
- txnCount1: Int
5036
- """The number of transactions in the past 12 hours."""
5037
- txnCount12: Int
5038
- """The number of transactions in the past 24 hours."""
5039
- txnCount24: Int
5040
- """The number of transactions in the past 4 hours."""
5041
- txnCount4: Int
5042
- """The unique number of buys in the past 5 minutes."""
5043
- uniqueBuys5m: Int
5044
- """The unique number of buys in the past hour."""
5045
- uniqueBuys1: Int
5046
- """The unique number of buys in the past 12 hours."""
5047
- uniqueBuys12: Int
5048
- """The unique number of buys in the past 24 hours."""
5049
- uniqueBuys24: Int
5050
- """The unique number of buys in the past 4 hours."""
5051
- uniqueBuys4: Int
5052
- """The unique number of sells in the past 5 minutes."""
5053
- uniqueSells5m: Int
5054
- """The unique number of sells in the past hour."""
5055
- uniqueSells1: Int
5056
- """The unique number of sells in the past 12 hours."""
5057
- uniqueSells12: Int
5058
- """The unique number of sells in the past 24 hours."""
5059
- uniqueSells24: Int
5060
- """The unique number of sells in the past 4 hours."""
5061
- uniqueSells4: Int
5062
- """The unique number of transactions in the past 5 minutes."""
5063
- uniqueTransactions5m: Int
5064
- """The unique number of transactions in the past hour."""
5065
- uniqueTransactions1: Int
5066
- """The unique number of transactions in the past 12 hours."""
5067
- uniqueTransactions12: Int
5068
- """The unique number of transactions in the past 24 hours."""
5069
- uniqueTransactions24: Int
5070
- """The unique number of transactions in the past 4 hours."""
5071
- uniqueTransactions4: Int
5072
- """The trade volume in USD in the past hour."""
5073
- volume1: String
5074
- """The trade volume in USD in the past 5 minutes."""
5075
- volume5m: String
5076
- """The trade volume in USD in the past 12 hours."""
5077
- volume12: String
5078
- """The trade volume in USD in the past 24 hours."""
5079
- volume24: String
5080
- """The trade volume in USD in the past 4 hours."""
5081
- volume4: String
5082
- """The buy volume in USD in the past hour."""
5083
- buyVolume1: String
5084
- """The buy volume in USD in the past 12 hours."""
5085
- buyVolume12: String
5086
- """The buy volume in USD in the past 24 hours."""
5087
- buyVolume24: String
5088
- """The buy volume in USD in the past 4 hours."""
5089
- buyVolume4: String
5090
- """The buy volume in USD in the past 5 minutes."""
5091
- buyVolume5m: String
5092
- """The sell volume in USD in the past hour."""
5093
- sellVolume1: String
5094
- """The sell volume in USD in the past 12 hours."""
5095
- sellVolume12: String
5096
- """The sell volume in USD in the past 24 hours."""
5097
- sellVolume24: String
5098
- """The sell volume in USD in the past 4 hours."""
5099
- sellVolume4: String
5100
- """The sell volume in USD in the past 5 minutes."""
5101
- sellVolume5m: String
5102
- """The total pool fees in USD in the past 5 minutes."""
5103
- poolFees5m: String
5104
- """The total pool fees in USD in the past hour."""
5105
- poolFees1: String
5106
- """The total pool fees in USD in the past 4 hours."""
5107
- poolFees4: String
5108
- """The total pool fees in USD in the past 12 hours."""
5109
- poolFees12: String
5110
- """The total pool fees in USD in the past 24 hours."""
5111
- poolFees24: String
5112
- """The total base gas fees in USD in the past 5 minutes."""
5113
- baseFees5m: String
5114
- """The total base gas fees in USD in the past hour."""
5115
- baseFees1: String
5116
- """The total base gas fees in USD in the past 4 hours."""
5117
- baseFees4: String
5118
- """The total base gas fees in USD in the past 12 hours."""
5119
- baseFees12: String
5120
- """The total base gas fees in USD in the past 24 hours."""
5121
- baseFees24: String
5122
- """The total priority fees in USD in the past 5 minutes."""
5123
- priorityFees5m: String
5124
- """The total priority fees in USD in the past hour."""
5125
- priorityFees1: String
5126
- """The total priority fees in USD in the past 4 hours."""
5127
- priorityFees4: String
5128
- """The total priority fees in USD in the past 12 hours."""
5129
- priorityFees12: String
5130
- """The total priority fees in USD in the past 24 hours."""
5131
- priorityFees24: String
5132
- """The total builder tips (MEV) in USD in the past 5 minutes."""
5133
- builderTips5m: String
5134
- """The total builder tips (MEV) in USD in the past hour."""
5135
- builderTips1: String
5136
- """The total builder tips (MEV) in USD in the past 4 hours."""
5137
- builderTips4: String
5138
- """The total builder tips (MEV) in USD in the past 12 hours."""
5139
- builderTips12: String
5140
- """The total builder tips (MEV) in USD in the past 24 hours."""
5141
- builderTips24: String
5142
- """The total L1 data fees in USD in the past 5 minutes."""
5143
- l1DataFees5m: String
5144
- """The total L1 data fees in USD in the past hour."""
5145
- l1DataFees1: String
5146
- """The total L1 data fees in USD in the past 4 hours."""
5147
- l1DataFees4: String
5148
- """The total L1 data fees in USD in the past 12 hours."""
5149
- l1DataFees12: String
5150
- """The total L1 data fees in USD in the past 24 hours."""
5151
- l1DataFees24: String
5152
- """The total trading fees (pool + gas + tips) in USD in the past 5 minutes."""
5153
- totalFees5m: String
5154
- """The total trading fees (pool + gas + tips) in USD in the past hour."""
5155
- totalFees1: String
5156
- """The total trading fees (pool + gas + tips) in USD in the past 4 hours."""
5157
- totalFees4: String
5158
- """The total trading fees (pool + gas + tips) in USD in the past 12 hours."""
5159
- totalFees12: String
5160
- """The total trading fees (pool + gas + tips) in USD in the past 24 hours."""
5161
- totalFees24: String
5162
- """The ratio of total fees to volume in the past 5 minutes. Decimal format."""
5163
- feeToVolumeRatio5m: String
5164
- """The ratio of total fees to volume in the past hour. Decimal format."""
5165
- feeToVolumeRatio1: String
5166
- """The ratio of total fees to volume in the past 4 hours. Decimal format."""
5167
- feeToVolumeRatio4: String
5168
- """The ratio of total fees to volume in the past 12 hours. Decimal format."""
5169
- feeToVolumeRatio12: String
5170
- """The ratio of total fees to volume in the past 24 hours. Decimal format."""
5171
- feeToVolumeRatio24: String
5172
- """Whether the token has been flagged as a scam."""
5173
- isScam: Boolean
5174
- """The number of different wallets holding the token."""
5175
- holders: Int
5176
- """The average age of the wallets that traded in the last 24h"""
5177
- walletAgeAvg: String
5178
- """The standard deviation of age of the wallets that traded in the last 24h"""
5179
- walletAgeStd: String
5180
- """The percentage of wallets that are less than 1d old that have traded in the last 24h"""
5181
- swapPct1dOldWallet: String
5182
- """The percentage of wallets that are less than 7d old that have traded in the last 24h"""
5183
- swapPct7dOldWallet: String
5184
- """The number of wallets that have sniped the token"""
5185
- sniperCount: Int
5186
- """The percentage of tokens held by snipers"""
5187
- sniperHeldPercentage: Float
5188
- """The number of wallets that have bundled the token"""
5189
- bundlerCount: Int
5190
- """The percentage of tokens held by bundlers"""
5191
- bundlerHeldPercentage: Float
5192
- """The number of wallets that have been an insider of the token"""
5193
- insiderCount: Int
5194
- """The percentage of tokens held by insiders"""
5195
- insiderHeldPercentage: Float
5196
- """The number of suspicious wallets (deduplicated union of snipers, bundlers, and insiders)"""
5197
- suspiciousCount: Int
5198
- """The percentage of tokens held by suspicious wallets"""
5199
- suspiciousHeldPercentage: Float
5200
- """The percentage of tokens held by the dev"""
5201
- devHeldPercentage: Float
5202
- """The percentage of total supply held by the top 10 holders."""
5203
- top10HoldersPercent: Float
5204
- """The reasons the token has been flagged as a potential scam."""
5205
- potentialScamReasons: [PotentialScamReason]
5206
- """The all-time high price in USD."""
5207
- athPrice: String
5208
- """The unix timestamp when the all-time high price was reached."""
5209
- athPriceTimestamp: Int
5210
- """The all-time low price in USD."""
5211
- atlPrice: String
5212
- """The unix timestamp when the all-time low price was reached."""
5213
- atlPriceTimestamp: Int
5214
- """The all-time high fully diluted market cap."""
5215
- athFdv: String
5216
- """The unix timestamp when the all-time high FDV was reached."""
5217
- athFdvTimestamp: Int
5218
- """The all-time low fully diluted market cap."""
5219
- atlFdv: String
5220
- """The unix timestamp when the all-time low FDV was reached."""
5221
- atlFdvTimestamp: Int
5222
- """The all-time high circulating market cap."""
5223
- athCircMc: String
5224
- """The unix timestamp when the all-time high circulating market cap was reached."""
5225
- athCircMcTimestamp: Int
5226
- """The all-time low circulating market cap."""
5227
- atlCircMc: String
5228
- """The unix timestamp when the all-time low circulating market cap was reached."""
5229
- atlCircMcTimestamp: Int
4739
+ """OHLC (Open/High/Low/Close) values for prices."""
4740
+ type PriceOHLC {
4741
+ """Opening price."""
4742
+ open: PriceValuePair!
4743
+ """Closing price."""
4744
+ close: PriceValuePair!
4745
+ """Low price."""
4746
+ low: PriceValuePair!
4747
+ """High price."""
4748
+ high: PriceValuePair!
5230
4749
  }
5231
4750
 
5232
- """Metadata for a contract."""
5233
- union EnhancedContract = EnhancedToken | EnhancedNftContract
5234
-
5235
- """Community gathered proposals for an asset."""
5236
- type CommunityNote {
5237
- """The contract address of the contract."""
5238
- address: String!
5239
- contractType: ContractType!
5240
- currentContract: EnhancedContract
5241
- """The contract after the community note was applied."""
5242
- currentData: JSON
5243
- """The ID of the contract (`address:id`)."""
5244
- id: String!
5245
- """The unix timestamp of when the community note was moderated."""
5246
- moderatedAt: Int
5247
- """The network ID the contract is deployed on."""
5248
- networkId: Int!
5249
- """The contract before the community note was applied."""
5250
- previousData: JSON
5251
- """The data of the community note."""
5252
- proposalData: JSON!
5253
- """The ordinal number of the community note."""
5254
- proposalNum: Int!
5255
- """The type of the community note."""
5256
- proposalType: CommunityNoteType!
5257
- """The unix timestamp of when the community note was created."""
5258
- proposedAt: Int!
5259
- """The status of the community note."""
5260
- status: ContractProposalStatus!
5261
- sortKey: String!
4751
+ """All-time stats containing volume data."""
4752
+ type WindowedPredictionAllTimeStats {
4753
+ """Total volume."""
4754
+ volume: CurrencyValuePair!
4755
+ """Venue-specific volume (optional)."""
4756
+ venueVolume: CurrencyValuePair
5262
4757
  }
5263
4758
 
5264
- """Metadata for a decentralized exchange."""
5265
- type Exchange {
5266
- """The ID of the exchange (`address:id`)."""
5267
- id: String!
5268
- """The contract address of the exchange."""
5269
- address: String!
5270
- """The hex string for the exchange color."""
5271
- color: String
5272
- """The name of the exchange."""
5273
- name: String
5274
- """The version of the exchange, if applicable."""
5275
- exchangeVersion: String
5276
- """The exchange logo URL."""
5277
- iconUrl: String
5278
- """The network ID the exchange is deployed on."""
5279
- networkId: Int!
5280
- """The URL for the exchange."""
5281
- tradeUrl: String
4759
+ """Core market stats that are always available."""
4760
+ type WindowedPredictionMarketCoreStats {
4761
+ """Volume during this window."""
4762
+ volume: CurrencyValuePair!
4763
+ """Number of trades during this window."""
4764
+ trades: Int!
5282
4765
  }
5283
4766
 
5284
- """Filters for community notes."""
5285
- input CommunityNotesFilter {
5286
- """The contract address of the contract."""
5287
- address: String
5288
- contractType: ContractType
5289
- """The network ID the contract is deployed on."""
5290
- networkId: [Int]
5291
- """The type of the proposal."""
5292
- proposalType: CommunityNoteType
4767
+ """Unique trader count during the period."""
4768
+ type WindowedPredictionMarketUniqueTraderStats {
4769
+ """Number of unique traders."""
4770
+ uniqueTraders: Int!
5293
4771
  }
5294
4772
 
5295
- """Input type of `getCommunityNotes`."""
5296
- input CommunityNotesInput {
5297
- """A set of filters to apply"""
5298
- filter: CommunityNotesFilter
5299
- """The maximum number of community notes to return."""
5300
- limit: Int
5301
- """The cursor to use for pagination."""
5302
- cursor: String
4773
+ """Market-level liquidity OHLC data."""
4774
+ type WindowedPredictionMarketLiquidityStats {
4775
+ """Liquidity OHLC values."""
4776
+ liquidity: CurrencyOHLC!
5303
4777
  }
5304
4778
 
5305
- """Community notes data."""
5306
- type CommunityNotesResponse {
5307
- """The list of community notes matching the filter parameters."""
5308
- items: [CommunityNote!]!
5309
- """The number of community notes returned."""
5310
- count: Int!
5311
- """A cursor for use in pagination."""
5312
- cursor: String
5313
- }
5314
-
5315
- """Metadata for a wallet label from the WALLET_LABEL_TYPES vocabulary"""
5316
- type WalletLabelType {
5317
- """Label name (e.g. WHALE, CEX, KOL)"""
5318
- name: String!
5319
- """Human-readable display name"""
5320
- displayName: String!
5321
- """Description of what this label means"""
5322
- description: String!
5323
- }
5324
-
5325
- """A prediction sub-subcategory (3rd level, terminal)."""
5326
- type PredictionSubSubcategory {
5327
- """The display name."""
5328
- name: String!
5329
- """The URL slug."""
5330
- slug: String!
5331
- }
5332
-
5333
- """A prediction subcategory (2nd level)."""
5334
- type PredictionSubcategory {
5335
- """The display name."""
5336
- name: String!
5337
- """The URL slug."""
5338
- slug: String!
5339
- """Nested subcategories (3rd level)."""
5340
- subcategories: [PredictionSubSubcategory!]
5341
- }
5342
-
5343
- """A prediction category with optional nested subcategories."""
5344
- type PredictionCategory {
5345
- """The display name."""
5346
- name: String!
5347
- """The URL slug."""
5348
- slug: String!
5349
- """Nested subcategories (2nd level)."""
5350
- subcategories: [PredictionSubcategory!]
5351
- }
5352
-
5353
- """The duration used to request windowed prediction stats."""
5354
- enum PredictionStatsDuration {
5355
- week1
5356
- day1
5357
- hour12
5358
- hour4
5359
- hour1
5360
- min5
5361
- }
5362
-
5363
- """Input type of `detailedPredictionMarketStats`."""
5364
- input DetailedPredictionMarketStatsInput {
5365
- """The ID of the prediction market."""
5366
- marketId: String!
5367
- """The unix timestamp."""
5368
- timestamp: Int
5369
- """The stat durations to include."""
5370
- durations: [PredictionStatsDuration!]
5371
- """The number of stat buckets to return."""
5372
- bucketCount: Int
5373
- }
5374
-
5375
- """A currency value pair containing both USD and collateral token values."""
5376
- type CurrencyValuePair {
5377
- """Value in USD."""
5378
- usd: String!
5379
- """Value in collateral token units."""
5380
- ct: String!
5381
- }
5382
-
5383
- """OHLC (Open/High/Low/Close) values for a currency pair."""
5384
- type CurrencyOHLC {
5385
- """Opening value."""
5386
- open: CurrencyValuePair!
5387
- """Closing value."""
5388
- close: CurrencyValuePair!
5389
- """Low value."""
5390
- low: CurrencyValuePair!
5391
- """High value."""
5392
- high: CurrencyValuePair!
5393
- }
5394
-
5395
- """A price value pair containing both USD and collateral token prices."""
5396
- type PriceValuePair {
5397
- """Price in USD."""
5398
- usd: String!
5399
- """Price in collateral token units."""
5400
- ct: String!
5401
- }
5402
-
5403
- """OHLC (Open/High/Low/Close) values for prices."""
5404
- type PriceOHLC {
5405
- """Opening price."""
5406
- open: PriceValuePair!
5407
- """Closing price."""
5408
- close: PriceValuePair!
5409
- """Low price."""
5410
- low: PriceValuePair!
5411
- """High price."""
5412
- high: PriceValuePair!
5413
- }
5414
-
5415
- """All-time stats containing volume data."""
5416
- type WindowedPredictionAllTimeStats {
5417
- """Total volume."""
5418
- volume: CurrencyValuePair!
5419
- """Venue-specific volume (optional)."""
5420
- venueVolume: CurrencyValuePair
5421
- }
5422
-
5423
- """Core market stats that are always available."""
5424
- type WindowedPredictionMarketCoreStats {
5425
- """Volume during this window."""
5426
- volume: CurrencyValuePair!
5427
- """Number of trades during this window."""
5428
- trades: Int!
5429
- }
5430
-
5431
- """Unique trader count during the period."""
5432
- type WindowedPredictionMarketUniqueTraderStats {
5433
- """Number of unique traders."""
5434
- uniqueTraders: Int!
5435
- }
5436
-
5437
- """Market-level liquidity OHLC data."""
5438
- type WindowedPredictionMarketLiquidityStats {
5439
- """Liquidity OHLC values."""
5440
- liquidity: CurrencyOHLC!
5441
- }
5442
-
5443
- """Market-level open interest OHLC data."""
5444
- type WindowedPredictionMarketOpenInterestStats {
5445
- """Open interest OHLC values."""
5446
- openInterest: CurrencyOHLC!
4779
+ """Market-level open interest OHLC data."""
4780
+ type WindowedPredictionMarketOpenInterestStats {
4781
+ """Open interest OHLC values."""
4782
+ openInterest: CurrencyOHLC!
5447
4783
  }
5448
4784
 
5449
4785
  """Change percentages for a prediction market over a time window."""
@@ -9465,116 +8801,803 @@ type PredictionEventResolutionBarData {
9465
8801
  week1: PredictionEventBar
9466
8802
  }
9467
8803
 
9468
- """Input for fetching prediction market price data."""
9469
- input PredictionMarketPriceInput {
9470
- """The ID of the prediction market."""
9471
- marketId: String!
9472
- """The timestamp (unix seconds). If not provided, the latest price will be returned."""
9473
- timestamp: Int
9474
- }
8804
+ """Input for fetching prediction market price data."""
8805
+ input PredictionMarketPriceInput {
8806
+ """The ID of the prediction market."""
8807
+ marketId: String!
8808
+ """The timestamp (unix seconds). If not provided, the latest price will be returned."""
8809
+ timestamp: Int
8810
+ }
8811
+
8812
+ """Price data for a prediction market."""
8813
+ type PredictionMarketPrice {
8814
+ """The ID of the prediction market."""
8815
+ marketId: String!
8816
+ """The timestamp of the price data."""
8817
+ timestamp: Int!
8818
+ """The prices for the outcomes."""
8819
+ outcomes: [PredictionMarketOutcomePrice!]!
8820
+ }
8821
+
8822
+ """Price data for a single outcome within a prediction market."""
8823
+ type PredictionMarketOutcomePrice {
8824
+ """The ID of the outcome."""
8825
+ outcomeId: String!
8826
+ """The last trade price in USD."""
8827
+ lastTradePriceUsd: String
8828
+ """The last trade price in collateral token units."""
8829
+ lastTradePriceCT: String
8830
+ """The best bid in USD."""
8831
+ bestBidUsd: String
8832
+ """The best bid in collateral token units."""
8833
+ bestBidCT: String
8834
+ """The best ask in USD."""
8835
+ bestAskUsd: String
8836
+ """The best ask in collateral token units."""
8837
+ bestAskCT: String
8838
+ """The spread in USD."""
8839
+ spreadUsd: String
8840
+ """The spread in collateral token units."""
8841
+ spreadCT: String
8842
+ """Live top-of-book best bid in USD, sourced from the venue's CLOB. Polymarket and Kalshi; null for other venues. Fetched on-demand only when selected. Cached for up to 10s."""
8843
+ bestBookBidUsd: String
8844
+ """Live top-of-book best bid in collateral token units, sourced from the venue's CLOB. Polymarket and Kalshi; null for other venues. Fetched on-demand only when selected. Cached for up to 10s."""
8845
+ bestBookBidCT: String
8846
+ """Live top-of-book best ask in USD, sourced from the venue's CLOB. Polymarket and Kalshi; null for other venues. Fetched on-demand only when selected. Cached for up to 10s."""
8847
+ bestBookAskUsd: String
8848
+ """Live top-of-book best ask in collateral token units, sourced from the venue's CLOB. Polymarket and Kalshi; null for other venues. Fetched on-demand only when selected. Cached for up to 10s."""
8849
+ bestBookAskCT: String
8850
+ """Total bid-side notional liquidity in USD across all bid levels in the venue's CLOB. Polymarket and Kalshi; null for other venues. Fetched on-demand only when selected. Cached for up to 10s."""
8851
+ bookLiquidityUsd: String
8852
+ """Total bid-side notional liquidity in collateral token units across all bid levels in the venue's CLOB. Polymarket and Kalshi; null for other venues. Fetched on-demand only when selected. Cached for up to 10s."""
8853
+ bookLiquidityCT: String
8854
+ """The timestamp of the price data."""
8855
+ timestamp: Int!
8856
+ }
8857
+
8858
+ """A single price level within a prediction outcome's order book. Polymarket and Kalshi."""
8859
+ type PredictionOrderBookLevel {
8860
+ """The price in collateral token units."""
8861
+ price: Float!
8862
+ """The size at this price level, in shares."""
8863
+ size: Float!
8864
+ }
8865
+
8866
+ """A live order book snapshot for a single prediction outcome, sourced from the venue's CLOB. Polymarket and Kalshi; outcomes from other venues return no book. Cached for up to 10s."""
8867
+ type PredictionOutcomeOrderBook {
8868
+ """The composite outcome ID."""
8869
+ outcomeId: String!
8870
+ """The protocol that provides this market."""
8871
+ protocol: PredictionProtocol!
8872
+ """The venue-specific outcome / asset / token ID used by the venue's CLOB."""
8873
+ venueOutcomeId: String!
8874
+ """Bids ordered such that the last element is the best (highest) bid. Empty when no book is available."""
8875
+ bids: [PredictionOrderBookLevel!]!
8876
+ """Asks ordered such that the last element is the best (lowest) ask. Empty when no book is available."""
8877
+ asks: [PredictionOrderBookLevel!]!
8878
+ """Venue-reported timestamp for the snapshot, in unix seconds. 0 when no book is available."""
8879
+ timestamp: Int!
8880
+ """Total bid-side notional liquidity in USD across all bid levels in the venue's CLOB. Null when no book is available."""
8881
+ bookLiquidityUsd: String
8882
+ """Total bid-side notional liquidity in collateral token units across all bid levels in the venue's CLOB. Null when no book is available."""
8883
+ bookLiquidityCT: String
8884
+ }
8885
+
8886
+ """Response returned by `eventScopedFilterPredictionMarkets`. All markets belong to the same event, so `eventShape` and `eventId` are surfaced once at the connection level rather than repeated on every row."""
8887
+ type EventScopedPredictionMarketFilterConnection {
8888
+ """Total number of matching results."""
8889
+ count: Int!
8890
+ """The current page number."""
8891
+ page: Int!
8892
+ """Event-level shape (one per event; identical for all markets in a single-event query)."""
8893
+ eventShape: PredictionEventShape!
8894
+ """The ID of the prediction event."""
8895
+ eventId: String!
8896
+ """The list of results."""
8897
+ results: [EventScopedPredictionMarketFilterResult!]!
8898
+ }
8899
+
8900
+ """A prediction market scoped to a single event, paired with its structured classification metadata."""
8901
+ type EventScopedPredictionMarketFilterResult {
8902
+ """The prediction market filter result."""
8903
+ marketResult: PredictionMarketFilterResult!
8904
+ """Structured classification metadata. Discriminated by `classification.role`; carries `segment` (period/stat), `entrant` (with country code / image), `thresholdBucket` (parsed numeric rung + operator), and `dateBucket` (unix timestamp + operator) sub-blocks. See `MarketClassifier/CLASSIFICATION.md` for the consumer guide."""
8905
+ classification: PredictionMarketClassification!
8906
+ }
8907
+
8908
+ """Deprecated. Sort order for markets within a prediction event. This no longer affects market ordering."""
8909
+ enum PredictionEventMarketSort {
8910
+ """Deprecated. No longer affects market ordering."""
8911
+ SMART @deprecated(reason: "No longer affects market ordering.")
8912
+ """Deprecated. No longer affects market ordering."""
8913
+ NONE @deprecated(reason: "No longer affects market ordering.")
8914
+ }
8915
+
8916
+ type ApiToken {
8917
+ """Unique identifier for the token"""
8918
+ id: String!
8919
+ """JWT to be passed into the Authorization header for API requests"""
8920
+ token: String!
8921
+ """ISO time string for the expiry of the token"""
8922
+ expiresTimeString: String!
8923
+ """Number of root fields this api token is allowed to resolve before it's rate limited"""
8924
+ requestLimit: String!
8925
+ """Approximate number of remaining resolutions before this token is rate limited"""
8926
+ remaining: String
8927
+ }
8928
+
8929
+ input CreateApiTokensInput {
8930
+ """Number of tokens to create, default is 1"""
8931
+ count: Int
8932
+ """Number of requests allowed per token, represented as a string, default is 5000"""
8933
+ requestLimit: String
8934
+ """Number of milliseconds until the token expires, defaults to 1 hour (3600000)"""
8935
+ expiresIn: Int
8936
+ }
8937
+
8938
+ scalar Void
8939
+
8940
+ """Type of the community gathered note."""
8941
+ enum CommunityNoteType {
8942
+ """An contract attribute change."""
8943
+ ATTRIBUTE
8944
+ """A scam report."""
8945
+ SCAM
8946
+ """A logo change."""
8947
+ LOGO
8948
+ }
8949
+
8950
+ """Type of the contract."""
8951
+ enum ContractType {
8952
+ TOKEN
8953
+ WALLET
8954
+ }
8955
+
8956
+ enum ContractProposalStatus {
8957
+ ACCEPTED
8958
+ PENDING
8959
+ REJECTED
8960
+ REVERTED
8961
+ }
8962
+
8963
+ """The attribute used to rank tokens."""
8964
+ enum TokenRankingAttribute {
8965
+ createdAt
8966
+ tokenCreatedAt
8967
+ lastTransaction
8968
+ age @deprecated(reason: "Use createdAt instead")
8969
+ buyCount5m
8970
+ buyCount1
8971
+ buyCount4
8972
+ buyCount12
8973
+ buyCount24
8974
+ change5m
8975
+ change1
8976
+ change4
8977
+ change12
8978
+ change24
8979
+ volumeChange5m
8980
+ volumeChange1
8981
+ volumeChange4
8982
+ volumeChange12
8983
+ volumeChange24
8984
+ high5m
8985
+ high1
8986
+ high4
8987
+ high12
8988
+ high24
8989
+ holders
8990
+ notableHolderCount
8991
+ liquidity
8992
+ totalLiquidityUsd
8993
+ low5m
8994
+ low1
8995
+ low4
8996
+ low12
8997
+ low24
8998
+ marketCap
8999
+ circulatingMarketCap
9000
+ priceUSD
9001
+ sellCount5m
9002
+ sellCount1
9003
+ sellCount4
9004
+ sellCount12
9005
+ sellCount24
9006
+ trendingScore
9007
+ trendingScore5m
9008
+ trendingScore1
9009
+ trendingScore4
9010
+ trendingScore12
9011
+ trendingScore24
9012
+ txnCount5m
9013
+ txnCount1
9014
+ txnCount4
9015
+ txnCount12
9016
+ txnCount24
9017
+ uniqueBuys5m
9018
+ uniqueBuys1
9019
+ uniqueBuys4
9020
+ uniqueBuys12
9021
+ uniqueBuys24
9022
+ uniqueSells5m
9023
+ uniqueSells1
9024
+ uniqueSells4
9025
+ uniqueSells12
9026
+ uniqueSells24
9027
+ uniqueTransactions5m
9028
+ uniqueTransactions1
9029
+ uniqueTransactions4
9030
+ uniqueTransactions12
9031
+ uniqueTransactions24
9032
+ volume5m
9033
+ volume1
9034
+ volume4
9035
+ volume12
9036
+ volume24
9037
+ buyVolume5m
9038
+ buyVolume1
9039
+ buyVolume4
9040
+ buyVolume12
9041
+ buyVolume24
9042
+ sellVolume5m
9043
+ sellVolume1
9044
+ sellVolume4
9045
+ sellVolume12
9046
+ sellVolume24
9047
+ poolFees5m
9048
+ poolFees1
9049
+ poolFees4
9050
+ poolFees12
9051
+ poolFees24
9052
+ baseFees5m
9053
+ baseFees1
9054
+ baseFees4
9055
+ baseFees12
9056
+ baseFees24
9057
+ priorityFees5m
9058
+ priorityFees1
9059
+ priorityFees4
9060
+ priorityFees12
9061
+ priorityFees24
9062
+ builderTips5m
9063
+ builderTips1
9064
+ builderTips4
9065
+ builderTips12
9066
+ builderTips24
9067
+ l1DataFees5m
9068
+ l1DataFees1
9069
+ l1DataFees4
9070
+ l1DataFees12
9071
+ l1DataFees24
9072
+ totalFees5m
9073
+ totalFees1
9074
+ totalFees4
9075
+ totalFees12
9076
+ totalFees24
9077
+ feeToVolumeRatio5m
9078
+ feeToVolumeRatio1
9079
+ feeToVolumeRatio4
9080
+ feeToVolumeRatio12
9081
+ feeToVolumeRatio24
9082
+ launchpadCompletedAt
9083
+ launchpadMigratedAt
9084
+ graduationPercent
9085
+ walletAgeAvg
9086
+ walletAgeStd
9087
+ swapPct1dOldWallet
9088
+ swapPct7dOldWallet
9089
+ sniperHeldPercentage
9090
+ bundlerHeldPercentage
9091
+ insiderHeldPercentage
9092
+ suspiciousHeldPercentage
9093
+ sniperCount
9094
+ bundlerCount
9095
+ insiderCount
9096
+ suspiciousCount
9097
+ devHeldPercentage
9098
+ top10HoldersPercent
9099
+ coinCommunityPostCount
9100
+ coinCommunityMemberCount
9101
+ coinCommunityLikeCount
9102
+ coinCommunityLastPostAt
9103
+ }
9104
+
9105
+ """Input type of `TokenRanking`."""
9106
+ input TokenRanking {
9107
+ """The attribute to rank tokens by."""
9108
+ attribute: TokenRankingAttribute
9109
+ """The direction to apply to the ranking attribute."""
9110
+ direction: RankingDirection
9111
+ }
9112
+
9113
+ """Real-time or historical prices for a token."""
9114
+ type Price {
9115
+ """The contract address of the token."""
9116
+ address: String!
9117
+ """The unix timestamp for the price."""
9118
+ timestamp: Int
9119
+ """The network ID the token is deployed on."""
9120
+ networkId: Int!
9121
+ """The token price in USD."""
9122
+ priceUsd: Float!
9123
+ """The pool that emitted the swap generating this price"""
9124
+ blockNumber: Int
9125
+ """The token's cumulative route-backed liquidity in USD, summed across the token's pairs with valid routing liquidity. Null when this stat has not been computed for the token yet. Not available via subscription."""
9126
+ liquidityUsd: String
9127
+ """The percent price change in the past 24 hours. Decimal format. Not available via subscription."""
9128
+ priceChange24: Float
9129
+ """The pool that emitted the swap generating this price"""
9130
+ poolAddress: String @deprecated(reason: "Pricing no longer based on specific pools")
9131
+ """Ratio of how confident we are in the price"""
9132
+ confidence: Float @deprecated(reason: "Pricing no longer based on specific pools")
9133
+ }
9134
+
9135
+ """Metadata for a token."""
9136
+ type EnhancedToken {
9137
+ """The ID of the token (`address:networkId`)."""
9138
+ id: String!
9139
+ """The contract address of the token."""
9140
+ address: String!
9141
+ """The token ID on CoinMarketCap."""
9142
+ cmcId: Int
9143
+ """The precision to which the token can be divided. For example, the smallest unit for USDC is 0.000001 (6 decimals)."""
9144
+ decimals: Int!
9145
+ """Whether the token has been flagged as a scam."""
9146
+ isScam: Boolean
9147
+ """The token name. For example, `ApeCoin`."""
9148
+ name: String
9149
+ """The network ID the token is deployed on."""
9150
+ networkId: Int!
9151
+ """The token symbol. For example, `APE`."""
9152
+ symbol: String
9153
+ """The total supply of the token."""
9154
+ totalSupply: String @deprecated(reason: "Use the TokenInfo type")
9155
+ """Community gathered links for the socials of this token."""
9156
+ socialLinks: SocialLinks
9157
+ """More metadata about the token."""
9158
+ info: TokenInfo
9159
+ """The Grid asset ID, if this token is linked to a Grid asset."""
9160
+ gridAssetId: String
9161
+ """The Grid bluechip rating for this token (e.g. `A+`, `B-`)."""
9162
+ bluechipRating: String
9163
+ """The Grid organization associated with this token."""
9164
+ organization: Organization
9165
+ """The Grid asset associated with this token."""
9166
+ asset: Asset
9167
+ """Information about the token from 3rd party sources."""
9168
+ explorerData: ExplorerTokenData @deprecated(reason: "Use the TokenInfo type")
9169
+ """A list of exchanges where the token has been traded."""
9170
+ exchanges: [Exchange!]
9171
+ """The thumbnail token logo URL."""
9172
+ imageThumbUrl: String @deprecated(reason: "Use the TokenInfo type")
9173
+ """The small token logo URL."""
9174
+ imageSmallUrl: String @deprecated(reason: "Use the TokenInfo type")
9175
+ """The large token logo URL."""
9176
+ imageLargeUrl: String @deprecated(reason: "Use the TokenInfo type")
9177
+ """The circulating supply of the token."""
9178
+ circulatingSupply: String @deprecated(reason: "Use the TokenInfo type")
9179
+ """The amount of this token in the pair."""
9180
+ pooled: String @deprecated(reason: "Pooled can be found on the pair instead")
9181
+ """The token creator's wallet address."""
9182
+ creatorAddress: String
9183
+ """The token creator's wallet identity and profile, resolved from creatorAddress. Null when the token has no known creator."""
9184
+ creator: Wallet
9185
+ """The block height the token was created at."""
9186
+ createBlockNumber: Int
9187
+ """The transaction hash of the token's creation."""
9188
+ createTransactionHash: String
9189
+ """The unix timestamp for the creation of the token."""
9190
+ createdAt: Int
9191
+ """Returns mint authority address if token is mintable. If null, verify against isMintableValid."""
9192
+ mintable: String
9193
+ """Returns freeze authority address if token is freezable. If null, verify against isFreezableValid."""
9194
+ freezable: String
9195
+ """Determines if freezable is a valid address or null value for the authority, or if the freezable state has not yet been determined."""
9196
+ isFreezableValid: Boolean
9197
+ """Determines if mintable is a valid address or null value for the authority, or if the mintable state has not yet been determined."""
9198
+ isMintableValid: Boolean
9199
+ """The launchpad data for the token, if applicable."""
9200
+ launchpad: LaunchpadData
9201
+ """The percentage of total supply held by the top 10 holders (excluding exchanges/pairs)."""
9202
+ top10HoldersPercent: Float
9203
+ """Whether the token name or symbol contains profanity."""
9204
+ profanity: Boolean
9205
+ """All-time high and low price/market cap data for the token."""
9206
+ extrema: TokenExtrema
9207
+ """The Coin Community data for the token"""
9208
+ coinCommunity: CoinCommunity
9209
+ """Token extension metadata, if available."""
9210
+ extensions: TokenExtensions
9211
+ """Token-standard-specific custom metadata — currently ERC-7572 `contractURI` fields, as used by Base B20 tokens. Null for tokens without a recognized token standard."""
9212
+ tokenStandardCustomData: Erc7572CustomInfo
9213
+ categories: [Category!]
9214
+ }
9215
+
9216
+ """A token matching a set of filter parameters."""
9217
+ type TokenFilterResult {
9218
+ """Metadata for the token."""
9219
+ token: EnhancedToken
9220
+ """The unix timestamp for the creation of the token's first pair."""
9221
+ createdAt: Int
9222
+ """The unix timestamp for the token's last transaction."""
9223
+ lastTransaction: Int
9224
+ age: Int @deprecated(reason: "Age isn't supported - use createdAt instead")
9225
+ """The number of buys in the past 5 minutes."""
9226
+ buyCount5m: Int
9227
+ """The number of buys in the past hour."""
9228
+ buyCount1: Int
9229
+ """The number of buys in the past 12 hours."""
9230
+ buyCount12: Int
9231
+ """The number of buys in the past 24 hours."""
9232
+ buyCount24: Int
9233
+ """The number of buys in the past 4 hours."""
9234
+ buyCount4: Int
9235
+ """The percent price change in the past 5 minutes. Decimal format."""
9236
+ change5m: String
9237
+ """The percent price change in the past hour. Decimal format."""
9238
+ change1: String
9239
+ """The percent price change in the past 12 hours. Decimal format."""
9240
+ change12: String
9241
+ """The percent price change in the past 24 hours. Decimal format."""
9242
+ change24: String
9243
+ """The percent price change in the past 4 hours. Decimal format."""
9244
+ change4: String
9245
+ """The percent volume change in the past 5 minutes. Decimal format."""
9246
+ volumeChange5m: String
9247
+ """The percent volume change in the past hour. Decimal format."""
9248
+ volumeChange1: String
9249
+ """The percent volume change in the past 4 hours. Decimal format."""
9250
+ volumeChange4: String
9251
+ """The percent volume change in the past 12 hours. Decimal format."""
9252
+ volumeChange12: String
9253
+ """The percent volume change in the past 24 hours. Decimal format."""
9254
+ volumeChange24: String
9255
+ """The exchanges the token is listed on."""
9256
+ exchanges: [Exchange]
9257
+ fdv: String @deprecated(reason: "FDV isn't supported - use marketCap instead")
9258
+ """The highest price in USD in the past 5 minutes."""
9259
+ high5m: String
9260
+ """The highest price in USD in the past hour."""
9261
+ high1: String
9262
+ """The highest price in USD in the past 12 hours."""
9263
+ high12: String
9264
+ """The highest price in USD in the past 24 hours."""
9265
+ high24: String
9266
+ """The highest price in USD in the past 4 hours."""
9267
+ high4: String
9268
+ """Amount of liquidity in the token's top pair."""
9269
+ liquidity: String
9270
+ """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."""
9271
+ totalLiquidityUsd: String
9272
+ """The token of interest. Can be `token0` or `token1`."""
9273
+ quoteToken: String
9274
+ """The lowest price in USD in the past 5 minutes."""
9275
+ low5m: String
9276
+ """The lowest price in USD in the past hour."""
9277
+ low1: String
9278
+ """The lowest price in USD in the past 12 hours."""
9279
+ low12: String
9280
+ """The lowest price in USD in the past 24 hours."""
9281
+ low24: String
9282
+ """The lowest price in USD in the past 4 hours."""
9283
+ low4: String
9284
+ """The fully diluted market cap."""
9285
+ marketCap: String
9286
+ """The circulating market cap."""
9287
+ circulatingMarketCap: String
9288
+ """Metadata for the token's top pair."""
9289
+ pair: Pair
9290
+ """Metadata for the token's most liquid pair"""
9291
+ liquidPair: Pair
9292
+ """The liquidity of the token's most liquid pair"""
9293
+ liquidPairLiquidity: String
9294
+ """The liquid pairs price in USD."""
9295
+ liquidPairPriceUSD: String
9296
+ """The token price in USD."""
9297
+ priceUSD: String
9298
+ """A heuristic based on various factors used to rank tokens based on how trending they are."""
9299
+ trendingScore: Float
9300
+ """The number of sells in the past 5 minutes."""
9301
+ sellCount5m: Int
9302
+ """The number of sells in the past hour."""
9303
+ sellCount1: Int
9304
+ """The number of sells in the past 12 hours."""
9305
+ sellCount12: Int
9306
+ """The number of sells in the past 24 hours."""
9307
+ sellCount24: Int
9308
+ """The number of sells in the past 4 hours."""
9309
+ sellCount4: Int
9310
+ """The number of transactions in the past 5 minutes."""
9311
+ txnCount5m: Int
9312
+ """The number of transactions in the past hour."""
9313
+ txnCount1: Int
9314
+ """The number of transactions in the past 12 hours."""
9315
+ txnCount12: Int
9316
+ """The number of transactions in the past 24 hours."""
9317
+ txnCount24: Int
9318
+ """The number of transactions in the past 4 hours."""
9319
+ txnCount4: Int
9320
+ """The unique number of buys in the past 5 minutes."""
9321
+ uniqueBuys5m: Int
9322
+ """The unique number of buys in the past hour."""
9323
+ uniqueBuys1: Int
9324
+ """The unique number of buys in the past 12 hours."""
9325
+ uniqueBuys12: Int
9326
+ """The unique number of buys in the past 24 hours."""
9327
+ uniqueBuys24: Int
9328
+ """The unique number of buys in the past 4 hours."""
9329
+ uniqueBuys4: Int
9330
+ """The unique number of sells in the past 5 minutes."""
9331
+ uniqueSells5m: Int
9332
+ """The unique number of sells in the past hour."""
9333
+ uniqueSells1: Int
9334
+ """The unique number of sells in the past 12 hours."""
9335
+ uniqueSells12: Int
9336
+ """The unique number of sells in the past 24 hours."""
9337
+ uniqueSells24: Int
9338
+ """The unique number of sells in the past 4 hours."""
9339
+ uniqueSells4: Int
9340
+ """The unique number of transactions in the past 5 minutes."""
9341
+ uniqueTransactions5m: Int
9342
+ """The unique number of transactions in the past hour."""
9343
+ uniqueTransactions1: Int
9344
+ """The unique number of transactions in the past 12 hours."""
9345
+ uniqueTransactions12: Int
9346
+ """The unique number of transactions in the past 24 hours."""
9347
+ uniqueTransactions24: Int
9348
+ """The unique number of transactions in the past 4 hours."""
9349
+ uniqueTransactions4: Int
9350
+ """The trade volume in USD in the past hour."""
9351
+ volume1: String
9352
+ """The trade volume in USD in the past 5 minutes."""
9353
+ volume5m: String
9354
+ """The trade volume in USD in the past 12 hours."""
9355
+ volume12: String
9356
+ """The trade volume in USD in the past 24 hours."""
9357
+ volume24: String
9358
+ """The trade volume in USD in the past 4 hours."""
9359
+ volume4: String
9360
+ """The buy volume in USD in the past hour."""
9361
+ buyVolume1: String
9362
+ """The buy volume in USD in the past 12 hours."""
9363
+ buyVolume12: String
9364
+ """The buy volume in USD in the past 24 hours."""
9365
+ buyVolume24: String
9366
+ """The buy volume in USD in the past 4 hours."""
9367
+ buyVolume4: String
9368
+ """The buy volume in USD in the past 5 minutes."""
9369
+ buyVolume5m: String
9370
+ """The sell volume in USD in the past hour."""
9371
+ sellVolume1: String
9372
+ """The sell volume in USD in the past 12 hours."""
9373
+ sellVolume12: String
9374
+ """The sell volume in USD in the past 24 hours."""
9375
+ sellVolume24: String
9376
+ """The sell volume in USD in the past 4 hours."""
9377
+ sellVolume4: String
9378
+ """The sell volume in USD in the past 5 minutes."""
9379
+ sellVolume5m: String
9380
+ """The total pool fees in USD in the past 5 minutes."""
9381
+ poolFees5m: String
9382
+ """The total pool fees in USD in the past hour."""
9383
+ poolFees1: String
9384
+ """The total pool fees in USD in the past 4 hours."""
9385
+ poolFees4: String
9386
+ """The total pool fees in USD in the past 12 hours."""
9387
+ poolFees12: String
9388
+ """The total pool fees in USD in the past 24 hours."""
9389
+ poolFees24: String
9390
+ """The total base gas fees in USD in the past 5 minutes."""
9391
+ baseFees5m: String
9392
+ """The total base gas fees in USD in the past hour."""
9393
+ baseFees1: String
9394
+ """The total base gas fees in USD in the past 4 hours."""
9395
+ baseFees4: String
9396
+ """The total base gas fees in USD in the past 12 hours."""
9397
+ baseFees12: String
9398
+ """The total base gas fees in USD in the past 24 hours."""
9399
+ baseFees24: String
9400
+ """The total priority fees in USD in the past 5 minutes."""
9401
+ priorityFees5m: String
9402
+ """The total priority fees in USD in the past hour."""
9403
+ priorityFees1: String
9404
+ """The total priority fees in USD in the past 4 hours."""
9405
+ priorityFees4: String
9406
+ """The total priority fees in USD in the past 12 hours."""
9407
+ priorityFees12: String
9408
+ """The total priority fees in USD in the past 24 hours."""
9409
+ priorityFees24: String
9410
+ """The total builder tips (MEV) in USD in the past 5 minutes."""
9411
+ builderTips5m: String
9412
+ """The total builder tips (MEV) in USD in the past hour."""
9413
+ builderTips1: String
9414
+ """The total builder tips (MEV) in USD in the past 4 hours."""
9415
+ builderTips4: String
9416
+ """The total builder tips (MEV) in USD in the past 12 hours."""
9417
+ builderTips12: String
9418
+ """The total builder tips (MEV) in USD in the past 24 hours."""
9419
+ builderTips24: String
9420
+ """The total L1 data fees in USD in the past 5 minutes."""
9421
+ l1DataFees5m: String
9422
+ """The total L1 data fees in USD in the past hour."""
9423
+ l1DataFees1: String
9424
+ """The total L1 data fees in USD in the past 4 hours."""
9425
+ l1DataFees4: String
9426
+ """The total L1 data fees in USD in the past 12 hours."""
9427
+ l1DataFees12: String
9428
+ """The total L1 data fees in USD in the past 24 hours."""
9429
+ l1DataFees24: String
9430
+ """The total trading fees (pool + gas + tips) in USD in the past 5 minutes."""
9431
+ totalFees5m: String
9432
+ """The total trading fees (pool + gas + tips) in USD in the past hour."""
9433
+ totalFees1: String
9434
+ """The total trading fees (pool + gas + tips) in USD in the past 4 hours."""
9435
+ totalFees4: String
9436
+ """The total trading fees (pool + gas + tips) in USD in the past 12 hours."""
9437
+ totalFees12: String
9438
+ """The total trading fees (pool + gas + tips) in USD in the past 24 hours."""
9439
+ totalFees24: String
9440
+ """The ratio of total fees to volume in the past 5 minutes. Decimal format."""
9441
+ feeToVolumeRatio5m: String
9442
+ """The ratio of total fees to volume in the past hour. Decimal format."""
9443
+ feeToVolumeRatio1: String
9444
+ """The ratio of total fees to volume in the past 4 hours. Decimal format."""
9445
+ feeToVolumeRatio4: String
9446
+ """The ratio of total fees to volume in the past 12 hours. Decimal format."""
9447
+ feeToVolumeRatio12: String
9448
+ """The ratio of total fees to volume in the past 24 hours. Decimal format."""
9449
+ feeToVolumeRatio24: String
9450
+ """Whether the token has been flagged as a scam."""
9451
+ isScam: Boolean
9452
+ """The number of different wallets holding the token."""
9453
+ holders: Int
9454
+ """The average age of the wallets that traded in the last 24h"""
9455
+ walletAgeAvg: String
9456
+ """The standard deviation of age of the wallets that traded in the last 24h"""
9457
+ walletAgeStd: String
9458
+ """The percentage of wallets that are less than 1d old that have traded in the last 24h"""
9459
+ swapPct1dOldWallet: String
9460
+ """The percentage of wallets that are less than 7d old that have traded in the last 24h"""
9461
+ swapPct7dOldWallet: String
9462
+ """The number of wallets that have sniped the token"""
9463
+ sniperCount: Int
9464
+ """The percentage of tokens held by snipers"""
9465
+ sniperHeldPercentage: Float
9466
+ """The number of wallets that have bundled the token"""
9467
+ bundlerCount: Int
9468
+ """The percentage of tokens held by bundlers"""
9469
+ bundlerHeldPercentage: Float
9470
+ """The number of wallets that have been an insider of the token"""
9471
+ insiderCount: Int
9472
+ """The percentage of tokens held by insiders"""
9473
+ insiderHeldPercentage: Float
9474
+ """The number of suspicious wallets (deduplicated union of snipers, bundlers, and insiders)"""
9475
+ suspiciousCount: Int
9476
+ """The percentage of tokens held by suspicious wallets"""
9477
+ suspiciousHeldPercentage: Float
9478
+ """The percentage of tokens held by the dev"""
9479
+ devHeldPercentage: Float
9480
+ """The percentage of total supply held by the top 10 holders."""
9481
+ top10HoldersPercent: Float
9482
+ """The reasons the token has been flagged as a potential scam."""
9483
+ potentialScamReasons: [PotentialScamReason]
9484
+ """The all-time high price in USD."""
9485
+ athPrice: String
9486
+ """The unix timestamp when the all-time high price was reached."""
9487
+ athPriceTimestamp: Int
9488
+ """The all-time low price in USD."""
9489
+ atlPrice: String
9490
+ """The unix timestamp when the all-time low price was reached."""
9491
+ atlPriceTimestamp: Int
9492
+ """The all-time high fully diluted market cap."""
9493
+ athFdv: String
9494
+ """The unix timestamp when the all-time high FDV was reached."""
9495
+ athFdvTimestamp: Int
9496
+ """The all-time low fully diluted market cap."""
9497
+ atlFdv: String
9498
+ """The unix timestamp when the all-time low FDV was reached."""
9499
+ atlFdvTimestamp: Int
9500
+ """The all-time high circulating market cap."""
9501
+ athCircMc: String
9502
+ """The unix timestamp when the all-time high circulating market cap was reached."""
9503
+ athCircMcTimestamp: Int
9504
+ """The all-time low circulating market cap."""
9505
+ atlCircMc: String
9506
+ """The unix timestamp when the all-time low circulating market cap was reached."""
9507
+ atlCircMcTimestamp: Int
9508
+ }
9509
+
9510
+ """Metadata for a contract."""
9511
+ union EnhancedContract = EnhancedToken | EnhancedNftContract
9475
9512
 
9476
- """Price data for a prediction market."""
9477
- type PredictionMarketPrice {
9478
- """The ID of the prediction market."""
9479
- marketId: String!
9480
- """The timestamp of the price data."""
9481
- timestamp: Int!
9482
- """The prices for the outcomes."""
9483
- outcomes: [PredictionMarketOutcomePrice!]!
9513
+ """Community gathered proposals for an asset."""
9514
+ type CommunityNote {
9515
+ """The contract address of the contract."""
9516
+ address: String!
9517
+ contractType: ContractType!
9518
+ currentContract: EnhancedContract
9519
+ """The contract after the community note was applied."""
9520
+ currentData: JSON
9521
+ """The ID of the contract (`address:id`)."""
9522
+ id: String!
9523
+ """The unix timestamp of when the community note was moderated."""
9524
+ moderatedAt: Int
9525
+ """The network ID the contract is deployed on."""
9526
+ networkId: Int!
9527
+ """The contract before the community note was applied."""
9528
+ previousData: JSON
9529
+ """The data of the community note."""
9530
+ proposalData: JSON!
9531
+ """The ordinal number of the community note."""
9532
+ proposalNum: Int!
9533
+ """The type of the community note."""
9534
+ proposalType: CommunityNoteType!
9535
+ """The unix timestamp of when the community note was created."""
9536
+ proposedAt: Int!
9537
+ """The status of the community note."""
9538
+ status: ContractProposalStatus!
9539
+ sortKey: String!
9484
9540
  }
9485
9541
 
9486
- """Price data for a single outcome within a prediction market."""
9487
- type PredictionMarketOutcomePrice {
9488
- """The ID of the outcome."""
9489
- outcomeId: String!
9490
- """The last trade price in USD."""
9491
- lastTradePriceUsd: String
9492
- """The last trade price in collateral token units."""
9493
- lastTradePriceCT: String
9494
- """The best bid in USD."""
9495
- bestBidUsd: String
9496
- """The best bid in collateral token units."""
9497
- bestBidCT: String
9498
- """The best ask in USD."""
9499
- bestAskUsd: String
9500
- """The best ask in collateral token units."""
9501
- bestAskCT: String
9502
- """The spread in USD."""
9503
- spreadUsd: String
9504
- """The spread in collateral token units."""
9505
- spreadCT: String
9506
- """Live top-of-book best bid in USD, sourced from the venue's CLOB. Polymarket and Kalshi; null for other venues. Fetched on-demand only when selected. Cached for up to 10s."""
9507
- bestBookBidUsd: String
9508
- """Live top-of-book best bid in collateral token units, sourced from the venue's CLOB. Polymarket and Kalshi; null for other venues. Fetched on-demand only when selected. Cached for up to 10s."""
9509
- bestBookBidCT: String
9510
- """Live top-of-book best ask in USD, sourced from the venue's CLOB. Polymarket and Kalshi; null for other venues. Fetched on-demand only when selected. Cached for up to 10s."""
9511
- bestBookAskUsd: String
9512
- """Live top-of-book best ask in collateral token units, sourced from the venue's CLOB. Polymarket and Kalshi; null for other venues. Fetched on-demand only when selected. Cached for up to 10s."""
9513
- bestBookAskCT: String
9514
- """Total bid-side notional liquidity in USD across all bid levels in the venue's CLOB. Polymarket and Kalshi; null for other venues. Fetched on-demand only when selected. Cached for up to 10s."""
9515
- bookLiquidityUsd: String
9516
- """Total bid-side notional liquidity in collateral token units across all bid levels in the venue's CLOB. Polymarket and Kalshi; null for other venues. Fetched on-demand only when selected. Cached for up to 10s."""
9517
- bookLiquidityCT: String
9518
- """The timestamp of the price data."""
9519
- timestamp: Int!
9542
+ """Metadata for a decentralized exchange."""
9543
+ type Exchange {
9544
+ """The ID of the exchange (`address:id`)."""
9545
+ id: String!
9546
+ """The contract address of the exchange."""
9547
+ address: String!
9548
+ """The hex string for the exchange color."""
9549
+ color: String
9550
+ """The name of the exchange."""
9551
+ name: String
9552
+ """The version of the exchange, if applicable."""
9553
+ exchangeVersion: String
9554
+ """The exchange logo URL."""
9555
+ iconUrl: String
9556
+ """The network ID the exchange is deployed on."""
9557
+ networkId: Int!
9558
+ """The URL for the exchange."""
9559
+ tradeUrl: String
9520
9560
  }
9521
9561
 
9522
- """A single price level within a prediction outcome's order book. Polymarket and Kalshi."""
9523
- type PredictionOrderBookLevel {
9524
- """The price in collateral token units."""
9525
- price: Float!
9526
- """The size at this price level, in shares."""
9527
- size: Float!
9562
+ """Filters for community notes."""
9563
+ input CommunityNotesFilter {
9564
+ """The contract address of the contract."""
9565
+ address: String
9566
+ contractType: ContractType
9567
+ """The network ID the contract is deployed on."""
9568
+ networkId: [Int]
9569
+ """The type of the proposal."""
9570
+ proposalType: CommunityNoteType
9528
9571
  }
9529
9572
 
9530
- """A live order book snapshot for a single prediction outcome, sourced from the venue's CLOB. Polymarket and Kalshi; outcomes from other venues return no book. Cached for up to 10s."""
9531
- type PredictionOutcomeOrderBook {
9532
- """The composite outcome ID."""
9533
- outcomeId: String!
9534
- """The protocol that provides this market."""
9535
- protocol: PredictionProtocol!
9536
- """The venue-specific outcome / asset / token ID used by the venue's CLOB."""
9537
- venueOutcomeId: String!
9538
- """Bids ordered such that the last element is the best (highest) bid. Empty when no book is available."""
9539
- bids: [PredictionOrderBookLevel!]!
9540
- """Asks ordered such that the last element is the best (lowest) ask. Empty when no book is available."""
9541
- asks: [PredictionOrderBookLevel!]!
9542
- """Venue-reported timestamp for the snapshot, in unix seconds. 0 when no book is available."""
9543
- timestamp: Int!
9544
- """Total bid-side notional liquidity in USD across all bid levels in the venue's CLOB. Null when no book is available."""
9545
- bookLiquidityUsd: String
9546
- """Total bid-side notional liquidity in collateral token units across all bid levels in the venue's CLOB. Null when no book is available."""
9547
- bookLiquidityCT: String
9573
+ """Input type of `getCommunityNotes`."""
9574
+ input CommunityNotesInput {
9575
+ """A set of filters to apply"""
9576
+ filter: CommunityNotesFilter
9577
+ """The maximum number of community notes to return."""
9578
+ limit: Int
9579
+ """The cursor to use for pagination."""
9580
+ cursor: String
9548
9581
  }
9549
9582
 
9550
- """Response returned by `eventScopedFilterPredictionMarkets`. All markets belong to the same event, so `eventShape` and `eventId` are surfaced once at the connection level rather than repeated on every row."""
9551
- type EventScopedPredictionMarketFilterConnection {
9552
- """Total number of matching results."""
9583
+ """Community notes data."""
9584
+ type CommunityNotesResponse {
9585
+ """The list of community notes matching the filter parameters."""
9586
+ items: [CommunityNote!]!
9587
+ """The number of community notes returned."""
9553
9588
  count: Int!
9554
- """The current page number."""
9555
- page: Int!
9556
- """Event-level shape (one per event; identical for all markets in a single-event query)."""
9557
- eventShape: PredictionEventShape!
9558
- """The ID of the prediction event."""
9559
- eventId: String!
9560
- """The list of results."""
9561
- results: [EventScopedPredictionMarketFilterResult!]!
9562
- }
9563
-
9564
- """A prediction market scoped to a single event, paired with its structured classification metadata."""
9565
- type EventScopedPredictionMarketFilterResult {
9566
- """The prediction market filter result."""
9567
- marketResult: PredictionMarketFilterResult!
9568
- """Structured classification metadata. Discriminated by `classification.role`; carries `segment` (period/stat), `entrant` (with country code / image), `thresholdBucket` (parsed numeric rung + operator), and `dateBucket` (unix timestamp + operator) sub-blocks. See `MarketClassifier/CLASSIFICATION.md` for the consumer guide."""
9569
- classification: PredictionMarketClassification!
9589
+ """A cursor for use in pagination."""
9590
+ cursor: String
9570
9591
  }
9571
9592
 
9572
- """Deprecated. Sort order for markets within a prediction event. This no longer affects market ordering."""
9573
- enum PredictionEventMarketSort {
9574
- """Deprecated. No longer affects market ordering."""
9575
- SMART @deprecated(reason: "No longer affects market ordering.")
9576
- """Deprecated. No longer affects market ordering."""
9577
- NONE @deprecated(reason: "No longer affects market ordering.")
9593
+ """Metadata for a wallet label from the WALLET_LABEL_TYPES vocabulary"""
9594
+ type WalletLabelType {
9595
+ """Label name (e.g. WHALE, CEX, KOL)"""
9596
+ name: String!
9597
+ """Human-readable display name"""
9598
+ displayName: String!
9599
+ """Description of what this label means"""
9600
+ description: String!
9578
9601
  }
9579
9602
 
9580
9603
  """The quote token within the pair."""
@@ -10678,28 +10701,6 @@ type WalletFilterResult {
10678
10701
  wallet: Wallet
10679
10702
  }
10680
10703
 
10681
- type ApiToken {
10682
- """Unique identifier for the token"""
10683
- id: String!
10684
- """JWT to be passed into the Authorization header for API requests"""
10685
- token: String!
10686
- """ISO time string for the expiry of the token"""
10687
- expiresTimeString: String!
10688
- """Number of root fields this api token is allowed to resolve before it's rate limited"""
10689
- requestLimit: String!
10690
- """Approximate number of remaining resolutions before this token is rate limited"""
10691
- remaining: String
10692
- }
10693
-
10694
- input CreateApiTokensInput {
10695
- """Number of tokens to create, default is 1"""
10696
- count: Int
10697
- """Number of requests allowed per token, represented as a string, default is 5000"""
10698
- requestLimit: String
10699
- """Number of milliseconds until the token expires, defaults to 1 hour (3600000)"""
10700
- expiresIn: Int
10701
- }
10702
-
10703
10704
  enum SparklineAttribute {
10704
10705
  PRICE
10705
10706
  }
@@ -10716,17 +10717,17 @@ enum QuoteCurrency {
10716
10717
 
10717
10718
  """The attribute to sort balances by."""
10718
10719
  enum BalancesSortAttribute {
10719
- """Sort by raw token balance amount (default)."""
10720
+ """Sort by raw token balance amount (default). Note this orders on `shiftedBalance`, not `uiBalance` — a list rendering `uiBalance` for B20 asset tokens can therefore look mis-ordered, since each token's multiplier differs. Sort by USD_VALUE if the displayed order must match the displayed column."""
10720
10721
  BALANCE
10721
10722
  """Sort by USD value (descending)."""
10722
10723
  USD_VALUE
10723
10724
  }
10724
10725
 
10725
- """Controls whether uiBalance returns the stored RPC UI balance or removes Token-2022 UI amount multipliers."""
10726
+ """Controls whether uiBalance is expressed in multiplier-adjusted or raw units. The two supported standards store opposite things, so the mode applies in opposite directions."""
10726
10727
  enum UiAmountMode {
10727
- """Return raw token amounts by removing Token-2022 UI amount multipliers where available."""
10728
+ """Return raw token amounts: Token-2022 balances have their UI amount multiplier removed; B20 balances are already raw and pass through unchanged."""
10728
10729
  RAW
10729
- """Return the stored RPC UI balance. This is the default."""
10730
+ """Return multiplier-adjusted amounts: Token-2022 balances are the stored RPC UI amount; B20 balances are multiplied by the token's active multiplier. This is the default."""
10730
10731
  SCALED
10731
10732
  }
10732
10733
 
@@ -11075,7 +11076,7 @@ input BalancesInput {
11075
11076
  sortBy: BalancesSortAttribute
11076
11077
  """The direction to sort the list. Defaults to DESC (highest value first)."""
11077
11078
  sortDirection: RankingDirection
11078
- """Controls how uiBalance is expressed. SCALED returns the stored RPC UI amount. RAW removes the active Token-2022 UI amount multiplier when available. Defaults to SCALED."""
11079
+ """Controls how uiBalance is expressed. SCALED returns the Token-2022 stored RPC UI amount, and multiplies B20 balances by their active multiplier. RAW removes the active Token-2022 UI amount multiplier and returns B20 balances unchanged. Defaults to SCALED."""
11079
11080
  uiAmountMode: UiAmountMode
11080
11081
  }
11081
11082
 
@@ -11095,11 +11096,11 @@ type Balance {
11095
11096
  balance: String!
11096
11097
  """The balance held by the wallet, adjusted by the number of decimals in the token."""
11097
11098
  shiftedBalance: Float!
11098
- """The wallet balance expressed for UI display. Defaults to shiftedBalance. When uiAmountMode is RAW, Token-2022 balances are divided by the active UI amount multiplier when available."""
11099
+ """The wallet balance expressed for UI display. Defaults to shiftedBalance. For Token-2022 tokens, RAW divides out the active UI amount multiplier. For B20 asset tokens, SCALED multiplies by the active multiplier so the value reflects redeemable units rather than raw token count. IMPORTANT: that B20 adjustment is applied ONLY by the `balances` query, which is the one place a `uiAmountMode` is resolved. Every other source of a Balance — `holders`, `refreshBalances`, `primeBalance`, and the subscriptions — returns the raw `shiftedBalance` here, so the same holding can read differently across them. Display only: it does not share units with `tokenPriceUsd`, so do not multiply the two."""
11099
11100
  uiBalance: Float
11100
- """The balance held by the wallet in USD."""
11101
+ """The balance held by the wallet in USD. Computed from `shiftedBalance`, NOT from `uiBalance` — for a B20 asset token those differ by the token's multiplier, so do not recompute this as `uiBalance * tokenPriceUsd`."""
11101
11102
  balanceUsd: String
11102
- """The token price in USD."""
11103
+ """The token price in USD, per raw token — the same units as `shiftedBalance`. For a B20 asset token this does NOT pair with `uiBalance`, which is multiplier-adjusted; multiplying the two over-counts by the multiplier. Use `balanceUsd` for position value."""
11103
11104
  tokenPriceUsd: String
11104
11105
  """The time that this address first held a token."""
11105
11106
  firstHeldTimestamp: Int
@@ -12320,6 +12321,8 @@ input TokenFilters {
12320
12321
  high4: NumberFilter
12321
12322
  """The amount of liquidity in the token's top pair."""
12322
12323
  liquidity: NumberFilter
12324
+ """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."""
12325
+ totalLiquidityUsd: NumberFilter
12323
12326
  """The lowest price in USD in the past hour."""
12324
12327
  low1: NumberFilter
12325
12328
  """The lowest price in USD in the past 5 minutes."""
@@ -14084,6 +14087,7 @@ enum LiquidityLockProtocol {
14084
14087
  METEORA_DAMM_V2
14085
14088
  DOPPLER
14086
14089
  O1_EXCHANGE
14090
+ PONS_V2
14087
14091
  }
14088
14092
 
14089
14093
  """Protocols that create trading pairs."""