apiToken
apiToken
Type: ApiToken!
Arguments for apiToken
apiToken
Name | Description |
---|---|
token (String!) |
apiTokens
apiTokens
Type: [ApiToken!]!
Arguments for apiTokens
apiTokens
None
balances
balances
Type: BalancesResponse!
Arguments for balances
balances
Name | Description |
---|---|
input (BalancesInput!) |
chartUrls
chartUrls
Type: ChartUrlsResponse
Arguments for chartUrls
chartUrls
Name | Description |
---|---|
input (ChartInput!) | Input required to fetch a pair chart. |
filterExchanges
filterExchanges
Type: 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 ([ExchangeRanking]) | A list of ranking attributes to apply. |
filterNftCollections
filterNftCollections
Type: 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 ([NftCollectionRanking]) | A list of ranking attributes to apply. |
filterNftParallelAssets
filterNftParallelAssets
Type: 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 ([ParallelAssetRanking]) | A list of ranking attributes to apply. |
filterNftPoolCollections
filterNftPoolCollections
Type: 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 ([NftPoolCollectionRanking]) | A list of ranking attributes to apply. |
filterNftPools
filterNftPools
Type: 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 ([NftPoolRanking]) | A list of ranking attributes to apply. |
filterPairs
filterPairs
Type: 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 ([PairRanking]) | A list of ranking attributes to apply. |
statsType (TokenPairStatisticsType) | The type of statistics returned. Can be |
filterTokens
filterTokens
Type: TokenFilterConnection
Arguments for filterTokens
filterTokens
Name | Description |
---|---|
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 ([TokenRanking]) | A list of ranking attributes to apply. |
statsType (TokenPairStatisticsType) | The type of statistics returned. Can be |
tokens ([String]) | A list of token IDs ( |
getBars
getBars
Type: 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 ( |
to (Int!) | The unix timestamp for the end of the requested range. |
getCommunityNotes
getCommunityNotes
Type: CommunityNotesResponse!
Arguments for getCommunityNotes
getCommunityNotes
Name | Description |
---|---|
input (CommunityNotesInput) |
getDetailedNftStats
getDetailedNftStats
Type: 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 ([DetailedNftStatsDuration]) | 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
getDetailedPairsStats
Type: [DetailedPairStats]
Arguments for getDetailedPairsStats
getDetailedPairsStats
Name | Description |
---|---|
input ([GetDetailedPairsStatsInput!]!) |
getDetailedPairStats
getDetailedPairStats
Type: DetailedPairStats
Arguments for getDetailedPairStats
getDetailedPairStats
Name | Description |
---|---|
bucketCount (Int) | The number of aggregated values to receive. Note: Each duration has predetermined bucket sizes. |
durations ([DetailedPairStatsDuration]) | 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 ([DetailedStatsWindowSize]) | The list of window sizes to get detailed stats for. |
getEventLabels
getEventLabels
Type: 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
getExchanges
Type: [Exchange!]!
Arguments for getExchanges
getExchanges
Name | Description |
---|---|
showNameless (Boolean) | Get exchanges with missing fields. Default is |
getLatestPairs
getLatestPairs
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
Type: LatestTokenConnection
Arguments for getLatestTokens
getLatestTokens
getNetworks
getNetworks
Type: [Network!]!
Arguments for getNetworks
getNetworks
None
getNetworkStatus
getNetworkStatus
Type: [MetadataResponse!]
Arguments for getNetworkStatus
getNetworkStatus
Name | Description |
---|---|
networkIds ([Int!]!) | The list of network IDs. |
getNftAssets
getNftAssets
Type: 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
getNftCollectionMetadata
Type: 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
getNftContracts
Type: [EnhancedNftContract]
Arguments for getNftContracts
getNftContracts
Name | Description |
---|---|
contracts ([NftContractInput]) | A list of NFT contract address and network IDs. |
getNftEvents
getNftEvents
Type: 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
getNftPool
Type: NftPoolResponse
Arguments for getNftPool
getNftPool
getNftPoolCollection
getNftPoolCollection
Type: NftPoolCollectionResponse
Arguments for getNftPoolCollection
getNftPoolCollection
getNftPoolCollectionsByExchange
getNftPoolCollectionsByExchange
Type: GetNftPoolCollectionsResponse
Arguments for getNftPoolCollectionsByExchange
getNftPoolCollectionsByExchange
getNftPoolEvents
getNftPoolEvents
Type: 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 ([NftPoolEventType!]) | 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. |
getNftPoolsByCollectionAndExchange
getNftPoolsByCollectionAndExchange
Type: 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
getNftPoolsByOwner
Type: 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
getNftPoolStats
Type: 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. |
getParallelAssets
getParallelAssets
Type: ParallelAssetsConnection
Arguments for getParallelAssets
getParallelAssets
getParallelCardChanges
getParallelCardChanges
Type: 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
getPrimePoolAssets
Type: 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
getPrimePoolEvents
Type: PrimePoolEventConnection
Arguments for getPrimePoolEvents
getPrimePoolEvents
Name | Description |
---|---|
cursor (String) | The cursor to use for pagination. |
eventTypes ([PrimePoolEventType]) | 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
getPrimePools
Type: PrimePoolConnection
Arguments for getPrimePools
getPrimePools
getSimulateTokenContractResults
getSimulateTokenContractResults
Type: GetSimulateTokenContractResultsConnection!
Arguments for getSimulateTokenContractResults
getSimulateTokenContractResults
getSolanaLatestBlock
getSolanaLatestBlock
Type: SolanaLatestBlockResponse!
Arguments for getSolanaLatestBlock
getSolanaLatestBlock
None
getSolanaRawTransaction
getSolanaRawTransaction
Type: SolanaRawTransactionResponse!
Arguments for getSolanaRawTransaction
getSolanaRawTransaction
Name | Description |
---|---|
rawTransaction (String!) |
getSolanaTransactionConfirmation
getSolanaTransactionConfirmation
Type: SolanaTransactionConfirmationResponse
Arguments for getSolanaTransactionConfirmation
getSolanaTransactionConfirmation
Name | Description |
---|---|
txId (String!) |
getSymbol
getSymbol
Type: SymbolResponse
Arguments for getSymbol
getSymbol
getTokenCount
getTokenCount
Type: String!
Arguments for getTokenCount
getTokenCount
None
getTokenEvents
getTokenEvents
Type: 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. |
getTokenInfo
getTokenInfo
Type: TokenInfo
Arguments for getTokenInfo
getTokenInfo
getTokenPrices
getTokenPrices
Type: [Price]
Arguments for getTokenPrices
getTokenPrices
Name | Description |
---|---|
inputs ([GetPriceInput]) | A list of |
getTokensInfo
getTokensInfo
Type: [TokenInfo]
Arguments for getTokensInfo
getTokensInfo
Name | Description |
---|---|
input ([GetTokensInfoInput!]!) | A list of |
getTurnkeyUser
getTurnkeyUser
Type: TurnkeyPasskeyUser
Arguments for getTurnkeyUser
getTurnkeyUser
None
getUniV3Ticks
getUniV3Ticks
Type: UniV3TickConnection
Arguments for getUniV3Ticks
getUniV3Ticks
getWebhooks
getWebhooks
Type: GetWebhooksResponse
Arguments for getWebhooks
getWebhooks
holders
holders
Type: HoldersResponse!
Arguments for holders
holders
Name | Description |
---|---|
input (HoldersInput!) |
liquidityLocks
liquidityLocks
Type: LiquidityLockConnection
Arguments for liquidityLocks
liquidityLocks
liquidityMetadata
liquidityMetadata
Type: LiquidityMetadata
Arguments for liquidityMetadata
liquidityMetadata
listFavoriteTokens
listFavoriteTokens
Type: [TokenWithMetadata!]
Arguments for listFavoriteTokens
listFavoriteTokens
listPairsForToken
listPairsForToken
Type: [Pair]!
Arguments for listPairsForToken
listPairsForToken
listPairsWithMetadataForToken
listPairsWithMetadataForToken
Type: ListPairsForTokenResponse!
Arguments for listPairsWithMetadataForToken
listPairsWithMetadataForToken
listTopTokens
listTopTokens
Type: [TokenWithMetadata!]
Arguments for listTopTokens
listTopTokens
nftHolders
nftHolders
Type: NftHoldersResponse!
Arguments for nftHolders
nftHolders
Name | Description |
---|---|
input (NftHoldersInput!) |
pairMetadata
pairMetadata
Type: 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 |
primeBalance
primeBalance
Type: BalancesResponse!
Arguments for primeBalance
primeBalance
Name | Description |
---|---|
walletAddress (String!) |
primeHolders
primeHolders
Type: 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
searchNfts
Type: NftSearchResponse
Arguments for searchNfts
searchNfts
Name | Description |
---|---|
filterWashTrading (Boolean) | Whether to filter collections that could be linked to wash trading |
include ([NftSearchable!]) | 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
token
Type: EnhancedToken!
Arguments for token
token
Name | Description |
---|---|
input (TokenInput!) | Input for a token ID. |
tokenLifecycleEvents
tokenLifecycleEvents
Type: 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
tokens
Type: [EnhancedToken]!
Arguments for tokens
tokens
Name | Description |
---|---|
ids ([TokenInput!]) | A list of token ID input. |
tokenSparklines
tokenSparklines
Type: [TokenSparkline!]!
Arguments for tokenSparklines
tokenSparklines
Name | Description |
---|---|
input (TokenSparklineInput!) |
walletNftCollectionAssets
walletNftCollectionAssets
Type: WalletNftCollectionAssetsResponse!
Arguments for walletNftCollectionAssets
walletNftCollectionAssets
Name | Description |
---|---|
input (WalletNftCollectionAssetsInput!) |
walletNftCollections
walletNftCollections
Type: WalletNftCollectionsResponse!
Arguments for walletNftCollections
walletNftCollections
Name | Description |
---|---|
input (WalletNftCollectionsInput!) |