@@ -717,6 +717,12 @@ type Query {
717717 gatewayTransaction (chainId : Int , hash : String ! ): GatewayTransaction
718718 getContractAbi (address : String ! , chainId : Int ): JSONObject
719719 isTokenOnTokenList (chainId : Int , name : String , token : String ! ): Boolean !
720+ tokenDetails (chainId : Int , tokenAddress : String ! , provider : String ): TokenDetails !
721+ historicalTokenPrice (chainId : Int , tokenAddress : String ! , provider : String , timePeriod : String ): HistoricalTokenPrices !
722+ poolsActivity (chainId : Int , tokenAddress : String ! , provider : String , page : Int , type : String ): PoolsActivities !
723+ numberOfTransactions (chainId : Int , tokenAddress : String ! , provider : String ): NumberOfTransactions !
724+ tradingHistory (chainId : Int , tokenAddress : String ! , provider : String , page : Int ): TradingHistories !
725+ marketDetails (chainId : Int , tokenAddress : String ! , provider : String ): MarketDetails !
720726 resolveName (chainId : Int , name : String ! ): NameResolutionsNodes
721727 nativeCurrencies : NativeCurrencies !
722728 nftList (account : String ! , chainId : Int ): NftList !
@@ -841,6 +847,81 @@ type TokenListToken {
841847 symbol : String
842848}
843849
850+ type TokenDetails {
851+ usdPrice : number !
852+ tokenAddress : string !
853+ liquidityUSD : number !
854+ tradingVolume : number !
855+ }
856+
857+ type HistoricalTokenPrice {
858+ usdPrice : number !
859+ tokenAddress : string !
860+ timestamp : number !
861+ }
862+
863+ type HistoricalTokenPrices {
864+ items : [HistoricalTokenPrice ! ]!
865+ }
866+
867+ type PoolsActivityTokensInOut {
868+ symbol : string !
869+ amm : string !
870+ network : string !
871+ priceUSD : number !
872+ priceETH : number !
873+ amount : number !
874+ }
875+
876+ type PoolsActivity {
877+ amm : string !
878+ transactionAddress : string !
879+ timestamp : number !
880+ amountUSD : number !
881+ transactionType : string !
882+ tokensIn : [PoolsActivityTokensInOut ! ]!
883+ tokensOut : [PoolsActivityTokensInOut ! ]!
884+ }
885+
886+ type PoolsActivities {
887+ items : [PoolsActivity ! ]!
888+ }
889+
890+ type NumberOfTransactions {
891+ totalTransactions : number !
892+ }
893+
894+ type TradingHistory {
895+ amm : string !
896+ direction : string !
897+ transactionAddress : string !
898+ timestamp : number !
899+ amountUSD : number !
900+ walletAddress : string !
901+ tokensIn : [PoolsActivityTokensInOut ! ]!
902+ tokensOut : [PoolsActivityTokensInOut ! ]!
903+ }
904+
905+ type TradingHistories {
906+ items : [TradingHistory ! ]!
907+ }
908+
909+ type MarketDetails {
910+ id : string !
911+ symbol : string !
912+ name : string !
913+ image ?: string !
914+ marketCap : number !
915+ allTimeHigh ?: number !
916+ allTimeLow ?: number !
917+ fullyDilutedValuation : number !
918+ priceChangePercentage1h : number !
919+ priceChangePercentage24h : number !
920+ priceChangePercentage7d : number !
921+ priceChangePercentage1m : number !
922+ priceChangePercentage1y ?: number !
923+ }
924+
844925type TokenLists {
845926 items : [TokenListPublic ! ]!
846927}
0 commit comments