apiToken
apiTokenType: ApiToken!
Arguments for apiToken
apiToken| Name | Description |
|---|---|
| token (String!) |
apiTokens
apiTokensType: [ApiToken!]!
Arguments for apiTokens
apiTokensNone.
balances
balancesType: BalancesResponse!
Arguments for balances
balances| Name | Description |
|---|---|
| input (BalancesInput!) |
chartUrls
chartUrlsType: ChartUrlsResponse
Arguments for chartUrls
chartUrls| Name | Description |
|---|---|
| input (ChartInput!) | Input required to fetch a pair chart. |
detailedWalletStats
detailedWalletStatsType: DetailedWalletStats
Arguments for detailedWalletStats
detailedWalletStats| Name | Description |
|---|---|
| input (DetailedWalletStatsInput!) |
filterExchanges
filterExchangesType: ExchangeFilterConnection
Arguments for filterExchanges
filterExchanges| Name | Description |
|---|---|
| filters (ExchangeFilters) | A set of filters to apply. |
| limit (Int) | The maximum number of exchanges to return. |
| offset (Int) | Where in the list the server should start when returning items. Use |
| phrase (String) | A phrase to search for. Can match an exchange address or ID ( |
rankings ( ) | A list of ranking attributes to apply. |
filterNetworkWallets
filterNetworkWallets🔴 DEPRECATED 🔴
Use filterWallets instead
Type: NetworkWalletFilterConnection!
Arguments for filterNetworkWallets
filterNetworkWallets| Name | Description |
|---|---|
| input (FilterNetworkWalletsInput!) |
filterNftCollections
filterNftCollectionsType: NftCollectionFilterConnection
Arguments for filterNftCollections
filterNftCollections| Name | Description |
|---|---|
collections ( [String] ) | A list of collection contract addresses or IDs ( |
| filters (NftCollectionFilters) | A set of filters to apply. |
| limit (Int) | The maximum number of NFT collections to return. |
| offset (Int) | Where in the list the server should start when returning items. Use |
| phrase (String) | A phrase to search for. Can match a collection contract address or ID ( |
rankings ( ) | A list of ranking attributes to apply. |
filterNftParallelAssets
filterNftParallelAssetsType: ParallelAssetFilterConnection
Arguments for filterNftParallelAssets
filterNftParallelAssets| Name | Description |
|---|---|
| filters (ParallelAssetFilters) | A set of filters to apply. |
| limit (Int) | The maximum number of Parallel assets to return. |
| match (ParallelAssetMatchers) | A set of parameters to match. |
| offset (Int) | Where in the list the server should start when returning items. Use |
| phrase (String) | A phrase to search for. Can match a Parallel asset ID ( |
rankings ( ) | A list of ranking attributes to apply. |
filterNftPoolCollections
filterNftPoolCollectionsType: NftPoolCollectionFilterConnection
Arguments for filterNftPoolCollections
filterNftPoolCollections| Name | Description |
|---|---|
| filters (NftPoolCollectionFilters) | A set of filters to apply. |
| limit (Int) | The maximum number of NFT collections to return. |
| offset (Int) | Where in the list the server should start when returning items. Use |
| phrase (String) | A phrase to search for. Can partially match an NFT collection name. |
rankings ( ) | A list of ranking attributes to apply. |
filterNftPools
filterNftPoolsType: NftPoolFilterConnection
Arguments for filterNftPools
filterNftPools| Name | Description |
|---|---|
| filters (NftPoolFilters) | A set of filters to apply. |
| limit (Int) | The maximum number of NFT pools to return. |
| offset (Int) | Where in the list the server should start when returning items. Use |
| phrase (String) | |
rankings ( ) | A list of ranking attributes to apply. |
filterPairs
filterPairsType: PairFilterConnection
Arguments for filterPairs
filterPairs| Name | Description |
|---|---|
| filters (PairFilters) | A set of filters to apply. |
| limit (Int) | The maximum number of pairs to return. |
| matchTokens (PairFilterMatchTokens) | A set of token contract addresses that make up a pair. Can be used in place of a pair contract address. |
| offset (Int) | Where in the list the server should start when returning items. Use |
pairs ( [String] ) | A list of pair or token contract addresses or IDs ( |
| phrase (String) | A phrase to search for. Can match a token or pair contract address or ID ( |
rankings ( ) | A list of ranking attributes to apply. |
| statsType (TokenPairStatisticsType) | The type of statistics returned. Can be |
filterTokens
filterTokensType: TokenFilterConnection
Arguments for filterTokens
filterTokens| Name | Description |
|---|---|
excludeTokens ( [String] ) | A list of token IDs ( |
| filters (TokenFilters) | A set of filters to apply. |
| limit (Int) | The maximum number of tokens to return. |
| offset (Int) | Where in the list the server should start when returning items. Use |
| phrase (String) | A phrase to search for. Can match a token contract address or partially match a token's name or symbol. |
rankings ( ) | A list of ranking attributes to apply. |
| statsType (TokenPairStatisticsType) | The type of statistics returned. Can be |
tokens ( [String] ) | A list of token IDs ( |
filterTokenWallets
filterTokenWalletsType: TokenWalletFilterConnection!
Arguments for filterTokenWallets
filterTokenWallets| Name | Description |
|---|---|
| input (FilterTokenWalletsInput!) |
filterWallets
filterWalletsType: WalletFilterConnection!
Arguments for filterWallets
filterWallets| Name | Description |
|---|---|
| input (FilterWalletsInput!) |
getBars
getBarsType: BarsResponse
Arguments for getBars
getBars| Name | Description |
|---|---|
| countback (Int) | guarantees number of bars returned is at most this number |
| currencyCode (String) | The currency to use for the response. Can be |
| from (Int!) | The unix timestamp for the start of the requested range. |
| quoteToken (QuoteToken) | The token of interest within the token's top pair. Can be |
| removeEmptyBars (Boolean) | Whether to remove empty bars from the response. Default is |
| removeLeadingNullValues (Boolean) | Whether to remove leading null values from the response. To fetch a token's entire history, set resolution to |
| resolution (String!) | The time frame for each candle. Available options are |
| statsType (TokenPairStatisticsType) | The type of statistics returned. Can be |
| symbol (String!) | The ID of the pair or token ( |
| symbolType (SymbolType) | specify the type of symbol you want to fetch values for (TOKEN POOL) |
| to (Int!) | The unix timestamp for the end of the requested range. |
getCommunityNotes
getCommunityNotesType: CommunityNotesResponse!
Arguments for getCommunityNotes
getCommunityNotes| Name | Description |
|---|---|
| input (CommunityNotesInput) |
getDetailedNftStats
getDetailedNftStatsType: DetailedNftStats
Arguments for getDetailedNftStats
getDetailedNftStats| Name | Description |
|---|---|
| bucketCount (Int) | The number of aggregated values to receive. |
| collectionAddress (String!) | The contract address of the NFT collection. |
durations ( ) | The list of durations to get detailed pair stats for. |
| grouping (String) | The marketplace address to filter by. Can be used to get marketplace-specific metrics, otherwise uses all. |
| networkId (Int!) | The network ID the NFT collection is deployed on. |
| timestamp (Int) | The unix timestamp for the stats. Defaults to current. |
getDetailedPairsStats
getDetailedPairsStatsType: [DetailedPairStats]
Arguments for getDetailedPairsStats
getDetailedPairsStats| Name | Description |
|---|---|
input ( !) |
getDetailedPairStats
getDetailedPairStatsType: DetailedPairStats
Arguments for getDetailedPairStats
getDetailedPairStats| Name | Description |
|---|---|
| bucketCount (Int) | The number of aggregated values to receive. Note: Each duration has predetermined bucket sizes. |
durations ( ) | The list of durations to get detailed pair stats for. |
| networkId (Int!) | The network ID the pair is deployed on. |
| pairAddress (String!) | The contract address of the pair. |
| statsType (TokenPairStatisticsType) | The type of statistics returned. Can be |
| timestamp (Int) | The unix timestamp for the stats. Defaults to current. |
| tokenOfInterest (TokenOfInterest) | The token of interest used to calculate token-specific stats for the pair. Can be |
getDetailedStats
getDetailedStats🔴 DEPRECATED 🔴
Use getDetailedPairStats instead, it has more resolutions and better support
Type: DetailedStats
Arguments for getDetailedStats
getDetailedStats| Name | Description |
|---|---|
| bucketCount (Int) | The number of aggregated values to receive. Note: Each duration has predetermined bucket sizes. |
| pairId (String!) | The ID of the pair ( |
| statsType (TokenPairStatisticsType) | The type of statistics returned. Can be |
| timestamp (Int) | The unix timestamp for the stats. Defaults to current. |
| tokenOfInterest (TokenOfInterest) | The token of interest used to calculate token-specific stats for the pair. Can be |
windowSizes ( ) | The list of window sizes to get detailed stats for. |
getEventLabels
getEventLabelsType: EventLabelConnection
Arguments for getEventLabels
getEventLabels| Name | Description |
|---|---|
| cursor (String) | The cursor to use for pagination. |
| direction (RankingDirection) | The order to receive the token event labels. Can be |
| id (String!) | The ID of the pair ( |
| limit (Int) | The maximum number of event labels to return. |
getExchanges
getExchangesType: [Exchange!]!
Arguments for getExchanges
getExchanges| Name | Description |
|---|---|
| showNameless (Boolean) | Get exchanges with missing fields. Default is |
getLatestPairs
getLatestPairs🔴 DEPRECATED 🔴
This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
Type: LatestPairConnection
Arguments for getLatestPairs
getLatestPairs| Name | Description |
|---|---|
| cursor (String) | The cursor to use for pagination. |
exchangeFilter ( [String!] ) | The list of exchanges to filter by. |
| limit (Int) | The maximum number of tokens to return. |
| minLiquidityFilter (Int) | The minimum amount of liquidity to filter by. |
networkFilter ( [Int!] ) | The list of network IDs to filter by. |
getLatestTokens
getLatestTokens🔴 DEPRECATED 🔴
This query is no longer supported. Use filterTokens with a createdAt: DESC filter instead.
Type: LatestTokenConnection
Arguments for getLatestTokens
getLatestTokensgetNetworks
getNetworksType: [Network!]!
Arguments for getNetworks
getNetworksNone
getNetworkStats
getNetworkStatsType: GetNetworkStatsResponse
Arguments for getNetworkStats
getNetworkStatsgetNetworkStatus
getNetworkStatusType: [MetadataResponse!]
Arguments for getNetworkStatus
getNetworkStatus| Name | Description |
|---|---|
networkIds ( [Int!] !) | The list of network IDs. |
getNftAssets
getNftAssetsType: NftAssetsConnection
Arguments for getNftAssets
getNftAssets| Name | Description |
|---|---|
| address (String!) | The contract address of the NFT collection. |
| cursor (String) | The cursor to use for pagination. |
| fetchMissingAssets (Boolean) | Whether to trigger fetching onchain metadata for missing assets. Defaults to false. Fetch results are delayed and can be ingested realtime via onNftAssetsCreated subscription. Free tier API users are limited to 1 missing asset fetch per request, and may only retry fetching a missing asset once per week. To remove these limitations, please upgrade your API plan at https://www.dashboard.defined.fi/plan. |
| limit (Int) | The maximum number of NFT assets to return. |
| networkId (Int!) | The network ID the NFT collection is deployed on. |
tokenIds ( [String] ) | An optional list of token IDs to filter by. |
getNftCollectionMetadata
getNftCollectionMetadataType: NftCollectionMetadataResponse
Arguments for getNftCollectionMetadata
getNftCollectionMetadata| Name | Description |
|---|---|
| address (String) | The contract address of the NFT collection. |
| collectionId (String) | The ID of the NFT collection ( 🔴 DEPRECATED 🔴 |
| networkId (Int) | The network ID the NFT collection is deployed on. |
getNftContracts
getNftContractsType: [EnhancedNftContract]
Arguments for getNftContracts
getNftContracts| Name | Description |
|---|---|
contracts ( ) | A list of NFT contract address and network IDs. |
getNftEvents
getNftEventsType: NftEventsConnection
Arguments for getNftEvents
getNftEvents| Name | Description |
|---|---|
| address (String) | The contract address of the NFT collection. |
| cursor (String) | The cursor to use for pagination. |
| exchangeAddress (String) | The NFT marketplace address to filter by. |
| includeTransfers (Boolean) | |
| limit (Int) | The maximum number of NFT events to return. |
| networkId (Int!) | The network ID the NFT collection is deployed on. |
| poolAddress (String) | The NFT pool address to filter by. |
| timestamp (EventQueryTimestampInput) | The time range to filter by. |
| tokenId (String) | The token ID to filter by. |
getNftPool
getNftPoolType: NftPoolResponse
Arguments for getNftPool
getNftPoolgetNftPoolCollection
getNftPoolCollectionType: NftPoolCollectionResponse
Arguments for getNftPoolCollection
getNftPoolCollectiongetNftPoolCollectionsByExchange
getNftPoolCollectionsByExchangeType: GetNftPoolCollectionsResponse
Arguments for getNftPoolCollectionsByExchange
getNftPoolCollectionsByExchangegetNftPoolEvents
getNftPoolEventsType: NftPoolEventsResponse
Arguments for getNftPoolEvents
getNftPoolEvents| Name | Description |
|---|---|
| collectionAddress (String) | The contract address of the NFT collection. |
| cursor (String) | The cursor to use for pagination. |
eventTypes ( ) | The event types to filter by. |
| exchangeAddress (String) | The NFT AMM marketplace address to filter by. |
| limit (Int) | The maximum number of NFT pool events to return. |
| networkId (Int!) | The network ID the NFT collection is deployed on. |
| poolAddress (String) | The NFT pool address to filter by. |
| timestamp (EventQueryTimestampInput) | The time range to filter by. |
getNftPoolsByCollectionAndExchange
getNftPoolsByCollectionAndExchangeType: GetNftPoolsResponse
Arguments for getNftPoolsByCollectionAndExchange
getNftPoolsByCollectionAndExchange| Name | Description |
|---|---|
| collectionAddress (String!) | The contract address of the NFT collection. |
| cursor (String) | The cursor to use for pagination. |
| exchangeAddress (String!) | The NFT AMM marketplace address to filter by. |
| limit (Int) | The maximum number of NFT pools to return. |
| networkId (Int!) | The network ID the NFT collection is deployed on. |
getNftPoolsByOwner
getNftPoolsByOwnerType: GetNftPoolsResponse
Arguments for getNftPoolsByOwner
getNftPoolsByOwner| Name | Description |
|---|---|
| cursor (String) | The cursor to use for pagination. |
| exchangeAddress (String) | The NFT AMM marketplace address to filter by. |
| limit (Int) | The maximum number of NFT pools to return. |
| networkId (Int!) | The network ID the NFT collection is deployed on. |
| ownerAddress (String!) | The contract address of the pool owner. |
getNftPoolStats
getNftPoolStatsType: NftPoolStatsResponse
Arguments for getNftPoolStats
getNftPoolStats| Name | Description |
|---|---|
| collectionAddress (String!) | The contract address of the NFT collection. |
| endTime (Int!) | The unix timestamp for the end of the requested range. |
| exchangeAddress (String!) | The NFT AMM marketplace address to filter by. |
| networkId (Int!) | The network ID the NFT collection is deployed on. |
| poolAddress (String) | The NFT pool address to filter by. |
| startTime (Int!) | The unix timestamp for the start of the requested range. |
getParallelCardChanges
getParallelCardChangesType: ParallelCardChangesConnection
Arguments for getParallelCardChanges
getParallelCardChanges| Name | Description |
|---|---|
| cursor (String) | The cursor to use for pagination. |
| limit (Int) | The maximum number of Parallel card changes to return. |
| timestamp (ParallelCardChangeQueryTimestampInput) | The time frame to request card changes. |
| tokenId (String) | The token ID for a Parallel asset. |
getPrimePoolAssets
getPrimePoolAssetsType: PrimePoolAssetConnection
Arguments for getPrimePoolAssets
getPrimePoolAssets| Name | Description |
|---|---|
| cursor (String) | The cursor to use for pagination. |
| limit (Int) | The maximum number of Prime Pool assets to return. |
| networkId (Int!) | The network ID the Prime pool is deployed on. |
| poolContractAddress (String) | The contract address of the Prime pool. |
| poolId (String) | The pool ID for the Prime pool, within the contract. |
| walletAddress (String) | The owner wallet address to filter assets by. |
getPrimePoolEvents
getPrimePoolEventsType: PrimePoolEventConnection
Arguments for getPrimePoolEvents
getPrimePoolEvents| Name | Description |
|---|---|
| cursor (String) | The cursor to use for pagination. |
eventTypes ( ) | The event types to query for. |
| limit (Int) | The maximum number of Prime Pool events to return. |
| networkId (Int!) | The network ID the Prime pool is deployed on. |
| poolContractAddress (String) | The contract address of the Prime pool. |
| poolId (String) | The pool ID for the Prime pool, within the contract. |
| walletAddress (String) | The calling wallet address to filter events by. |
getPrimePools
getPrimePoolsType: PrimePoolConnection
Arguments for getPrimePools
getPrimePoolsgetSimulateTokenContractResults
getSimulateTokenContractResultsType: GetSimulateTokenContractResultsConnection!
Arguments for getSimulateTokenContractResults
getSimulateTokenContractResultsgetSymbol
getSymbolType: SymbolResponse
Arguments for getSymbol
getSymbolgetTokenEvents
getTokenEventsType: EventConnection
Arguments for getTokenEvents
getTokenEvents| Name | Description |
|---|---|
| cursor (String) | The cursor to use for pagination. |
| direction (RankingDirection) | The order to receive the token events. Can be |
| limit (Int) | The maximum number of transactions to return. |
| query (EventsQueryInput!) | The query filters to apply to the results. |
getTokenEventsForMaker
getTokenEventsForMakerType: MakerEventConnection
Arguments for getTokenEventsForMaker
getTokenEventsForMaker| Name | Description |
|---|---|
| cursor (String) | The cursor to use for pagination. |
| direction (RankingDirection) | The order to receive the token events. Can be |
| limit (Int) | The maximum number of events to return. |
| query (MakerEventsQueryInput!) | The query filters to apply to the results. |
getTokenPrices
getTokenPricesType: [Price]
Arguments for getTokenPrices
getTokenPrices| Name | Description |
|---|---|
inputs ( ) | A list of |
getWebhooks
getWebhooksType: GetWebhooksResponse
Arguments for getWebhooks
getWebhooks| Name | Description |
|---|---|
| bucketId (String) | bucketId: The bucketId of the webhooks you want to retrieve. Note that bucketId and webhookId are mutually exclusive, do not send both. |
| bucketSortkey (String) | bucketSortkey: The bucketSortkey of the webhooks you want to retrieve. |
| cursor (String) | The cursor to use for pagination. |
| limit (Int) | limit: The maximum number of webhooks to return. |
| webhookId (String) | webhookId: The id of the webhook you want to retrieve. |
holders
holdersType: HoldersResponse!
Arguments for holders
holders| Name | Description |
|---|---|
| input (HoldersInput!) |
liquidityLocks
liquidityLocksType: LiquidityLockConnection
Arguments for liquidityLocks
liquidityLocksliquidityMetadata
liquidityMetadataType: LiquidityMetadata
Arguments for liquidityMetadata
liquidityMetadataliquidityMetadataByToken
liquidityMetadataByTokenType: LiquidityMetadataByToken!
Arguments for liquidityMetadataByToken
liquidityMetadataByTokenlistPairsForToken
listPairsForTokenType: [Pair]!
Arguments for listPairsForToken
listPairsForTokenlistPairsWithMetadataForToken
listPairsWithMetadataForTokenType: ListPairsForTokenResponse!
Arguments for listPairsWithMetadataForToken
listPairsWithMetadataForTokenlistTopTokens
listTopTokens🔴 DEPRECATED 🔴
This query is no longer supported and will not return up to date data. Use filterTokens instead.
Type: [TokenWithMetadata!]
Arguments for listTopTokens
listTopTokensnftHolders
nftHoldersType: NftHoldersResponse!
Arguments for nftHolders
nftHolders| Name | Description |
|---|---|
| input (NftHoldersInput!) |
pairMetadata
pairMetadataType: PairMetadata!
Arguments for pairMetadata
pairMetadata| Name | Description |
|---|---|
| pairId (String!) | The ID of the pair ( |
| quoteToken (QuoteToken) | The token of interest within the pair. Can be |
| statsType (TokenPairStatisticsType) | The type of statistics returned. Can be |
primeHolders
primeHoldersType: PrimeHolders!
Arguments for primeHolders
primeHolders| Name | Description |
|---|---|
| cursor (String) | Included in the results. Use the string as an argument to paginate through all the holders. |
searchNfts
searchNftsType: NftSearchResponse
Arguments for searchNfts
searchNfts| Name | Description |
|---|---|
| filterWashTrading (Boolean) | Whether to filter collections that could be linked to wash trading |
include ( ) | The level of NFTs to include in the search. Can be |
| limit (Int) | The maximum number of NFTs to return. |
networkFilter ( [Int!] ) | The list of network IDs to filter by. |
| search (String) | The query string to search for. Can match an NFT collection contract address or partially match a collection's name or symbol. |
| window (String) | The time frame to use for calculating stats. Can be |
searchTokens
searchTokens🔴 DEPRECATED 🔴
This query is no longer supported and will not return up to date data. Use filterTokens instead.
Type: TokenSearchResponse
Arguments for searchTokens
searchTokens| Name | Description |
|---|---|
| limit (Int) | The maximum number of tokens to return. |
| lowVolumeFilter (Boolean) | Whether to filter out low volume results from the response. Low volume is less than $500 USD. This setting has no effect when only low volume results are found. Default is |
networkFilter ( [Int!] ) | The list of network IDs to filter by. |
| resolution (String) | The time frame to use for token metadata. Can be |
| search (String!) | The query string to search for. Can match a token or pair contract address or partially match a token's name or symbol. Automatically filters out tokens marked as scams. |
token
tokenType: EnhancedToken!
Arguments for token
token| Name | Description |
|---|---|
| input (TokenInput!) | Input for a token ID. |
tokenLifecycleEvents
tokenLifecycleEventsType: TokenLifecycleEventConnection
Arguments for tokenLifecycleEvents
tokenLifecycleEvents| Name | Description |
|---|---|
| cursor (String) | The cursor to use for pagination. |
| limit (Int) | The maximum number of events to return. |
| query (TokenLifecycleEventsQueryInput!) | The query filters to apply to the results. |
tokens
tokensType: [EnhancedToken]!
Arguments for tokens
tokens| Name | Description |
|---|---|
ids ( [TokenInput!] ) | A list of token ID input. |
tokenSparklines
tokenSparklinesType: [TokenSparkline!]!
Arguments for tokenSparklines
tokenSparklines| Name | Description |
|---|---|
| input (TokenSparklineInput!) |
tokenTopTraders
tokenTopTradersType: TokenTopTradersConnection!
Arguments for tokenTopTraders
tokenTopTraders| Name | Description |
|---|---|
| input (TokenTopTradersInput!) |
top10HoldersPercent
top10HoldersPercentType: Float
Arguments for top10HoldersPercent
top10HoldersPercent| Name | Description |
|---|---|
| tokenId (String!) |
walletChart
walletChartType: WalletChartResponse
Arguments for walletChart
walletChart| Name | Description |
|---|---|
| input (WalletChartInput!) |
walletNftCollectionAssets
walletNftCollectionAssetsType: WalletNftCollectionAssetsResponse!
Arguments for walletNftCollectionAssets
walletNftCollectionAssets| Name | Description |
|---|---|
| input (WalletNftCollectionAssetsInput!) |
walletNftCollections
walletNftCollectionsType: WalletNftCollectionsResponse!
Arguments for walletNftCollections
walletNftCollections| Name | Description |
|---|---|
| input (WalletNftCollectionsInput!) |