@codex-data/sdk 0.6.1 → 1.0.0-rc1

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.
Files changed (233) hide show
  1. package/dist/resources/generated_mutations/CreateApiTokens.graphql +9 -0
  2. package/dist/resources/generated_mutations/CreateWebhooks.graphql +80 -0
  3. package/dist/resources/generated_mutations/DeleteApiToken.graphql +3 -0
  4. package/{src/sdk/graphql → dist/resources/generated_mutations}/DeleteWebhooks.graphql +1 -1
  5. package/dist/resources/generated_queries/ApiToken.graphql +9 -0
  6. package/dist/resources/generated_queries/ApiTokens.graphql +9 -0
  7. package/dist/resources/generated_queries/Balances.graphql +12 -0
  8. package/dist/resources/generated_queries/ChartUrls.graphql +7 -0
  9. package/dist/resources/generated_queries/FilterExchanges.graphql +43 -0
  10. package/dist/resources/generated_queries/FilterNftCollections.graphql +569 -0
  11. package/dist/resources/generated_queries/FilterNftParallelAssets.graphql +60 -0
  12. package/dist/resources/generated_queries/FilterNftPoolCollections.graphql +71 -0
  13. package/dist/resources/generated_queries/FilterNftPools.graphql +124 -0
  14. package/dist/resources/generated_queries/FilterPairs.graphql +339 -0
  15. package/dist/resources/generated_queries/FilterTokens.graphql +279 -0
  16. package/{src/sdk/graphql → dist/resources/generated_queries}/GetBars.graphql +21 -9
  17. package/dist/resources/generated_queries/GetCommunityNotes.graphql +20 -0
  18. package/dist/resources/generated_queries/GetDetailedNftStats.graphql +831 -0
  19. package/{src/sdk/graphql → dist/resources/generated_queries}/GetDetailedPairStats.graphql +370 -373
  20. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +922 -0
  21. package/dist/resources/generated_queries/GetEventLabels.graphql +24 -0
  22. package/dist/resources/generated_queries/GetExchanges.graphql +12 -0
  23. package/dist/resources/generated_queries/GetLatestPairs.graphql +57 -0
  24. package/dist/resources/generated_queries/GetLatestTokens.graphql +39 -0
  25. package/dist/resources/generated_queries/GetNetworkStats.graphql +13 -0
  26. package/{src/sdk/graphql → dist/resources/generated_queries}/GetNetworkStatus.graphql +2 -1
  27. package/{src/sdk/graphql → dist/resources/generated_queries}/GetNetworks.graphql +1 -0
  28. package/dist/resources/generated_queries/GetNftAssets.graphql +59 -0
  29. package/dist/resources/generated_queries/GetNftCollectionMetadata.graphql +75 -0
  30. package/dist/resources/generated_queries/GetNftContracts.graphql +39 -0
  31. package/dist/resources/generated_queries/GetNftEvents.graphql +54 -0
  32. package/dist/resources/generated_queries/GetNftPool.graphql +74 -0
  33. package/dist/resources/generated_queries/GetNftPoolCollection.graphql +33 -0
  34. package/dist/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +38 -0
  35. package/dist/resources/generated_queries/GetNftPoolEvents.graphql +41 -0
  36. package/dist/resources/generated_queries/GetNftPoolStats.graphql +40 -0
  37. package/dist/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +89 -0
  38. package/dist/resources/generated_queries/GetNftPoolsByOwner.graphql +89 -0
  39. package/dist/resources/generated_queries/GetParallelAssets.graphql +50 -0
  40. package/dist/resources/generated_queries/GetParallelCardChanges.graphql +57 -0
  41. package/dist/resources/generated_queries/GetPrimePoolAssets.graphql +32 -0
  42. package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +38 -0
  43. package/dist/resources/generated_queries/GetPrimePools.graphql +62 -0
  44. package/dist/resources/generated_queries/GetSimulateTokenContractResults.graphql +128 -0
  45. package/{src/sdk/graphql → dist/resources/generated_queries}/GetSymbol.graphql +7 -7
  46. package/dist/resources/generated_queries/GetTokenCount.graphql +3 -0
  47. package/dist/resources/generated_queries/GetTokenEvents.graphql +49 -0
  48. package/dist/resources/generated_queries/GetTokenInfo.graphql +17 -0
  49. package/dist/resources/generated_queries/GetTokenPrices.graphql +9 -0
  50. package/dist/resources/generated_queries/GetTokensInfo.graphql +17 -0
  51. package/dist/resources/generated_queries/GetUniV3Ticks.graphql +22 -0
  52. package/dist/resources/generated_queries/GetWebhooks.graphql +36 -0
  53. package/dist/resources/generated_queries/Holders.graphql +14 -0
  54. package/dist/resources/generated_queries/LiquidityLocks.graphql +26 -0
  55. package/dist/resources/generated_queries/LiquidityMetadata.graphql +17 -0
  56. package/dist/resources/generated_queries/ListFavoriteTokens.graphql +58 -0
  57. package/{src/sdk/graphql → dist/resources/generated_queries}/ListPairsForToken.graphql +77 -41
  58. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +282 -0
  59. package/{src/sdk/graphql → dist/resources/generated_queries}/ListTopTokens.graphql +22 -16
  60. package/dist/resources/generated_queries/NftHolders.graphql +12 -0
  61. package/{src/sdk/graphql/OnPairMetadataUpdated.graphql → dist/resources/generated_queries/PairMetadata.graphql} +21 -3
  62. package/dist/resources/generated_queries/PrimeBalance.graphql +12 -0
  63. package/dist/resources/generated_queries/PrimeHolders.graphql +13 -0
  64. package/dist/resources/generated_queries/SearchNfts.graphql +35 -0
  65. package/dist/resources/generated_queries/Token.graphql +62 -0
  66. package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +22 -0
  67. package/{src/sdk/graphql/GetSparklines.graphql → dist/resources/generated_queries/TokenSparklines.graphql} +2 -2
  68. package/dist/resources/generated_queries/Tokens.graphql +62 -0
  69. package/dist/resources/generated_queries/WalletNftCollectionAssets.graphql +11 -0
  70. package/dist/resources/generated_queries/WalletNftCollections.graphql +10 -0
  71. package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +513 -0
  72. package/{src/sdk/graphql → dist/resources/generated_subscriptions}/OnDetailedStatsUpdated.graphql +119 -111
  73. package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
  74. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +46 -0
  75. package/dist/resources/generated_subscriptions/OnLatestPairUpdated.graphql +42 -0
  76. package/dist/resources/generated_subscriptions/OnLatestTokens.graphql +37 -0
  77. package/{src/sdk/graphql → dist/resources/generated_subscriptions}/OnNftAssetsCreated.graphql +30 -17
  78. package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +36 -0
  79. package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +37 -0
  80. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +73 -0
  81. package/{src/sdk/graphql → dist/resources/generated_subscriptions}/OnPriceUpdated.graphql +1 -1
  82. package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +9 -0
  83. package/dist/resources/generated_subscriptions/OnSimulateTokenContract.graphql +121 -0
  84. package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +39 -0
  85. package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +18 -0
  86. package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +32 -0
  87. package/dist/resources/graphql.d.ts +131 -0
  88. package/dist/resources/graphql.d.ts.map +1 -1
  89. package/dist/resources/graphql.js.map +1 -1
  90. package/dist/resources/graphql.schema.json +1570 -0
  91. package/dist/resources/graphql.ts +148 -0
  92. package/dist/resources/schema.graphql +184 -0
  93. package/dist/scripts/buildSdk.d.ts +2 -0
  94. package/dist/scripts/buildSdk.d.ts.map +1 -0
  95. package/dist/scripts/buildSdk.js +135 -0
  96. package/dist/scripts/buildSdk.js.map +1 -0
  97. package/dist/scripts/generateGraphql.d.ts +30 -0
  98. package/dist/scripts/generateGraphql.d.ts.map +1 -0
  99. package/dist/scripts/generateGraphql.js +179 -0
  100. package/dist/scripts/generateGraphql.js.map +1 -0
  101. package/dist/sdk/Mutation.d.ts +5 -8
  102. package/dist/sdk/Mutation.d.ts.map +1 -1
  103. package/dist/sdk/Mutation.js +3 -0
  104. package/dist/sdk/Mutation.js.map +1 -1
  105. package/dist/sdk/Query.d.ts +65 -14
  106. package/dist/sdk/Query.d.ts.map +1 -1
  107. package/dist/sdk/Query.js +64 -12
  108. package/dist/sdk/Query.js.map +1 -1
  109. package/dist/sdk/Subscribe.d.ts +18 -11
  110. package/dist/sdk/Subscribe.d.ts.map +1 -1
  111. package/dist/sdk/Subscribe.js +112 -9
  112. package/dist/sdk/Subscribe.js.map +1 -1
  113. package/dist/sdk/generated/gql.d.ts +636 -66
  114. package/dist/sdk/generated/gql.d.ts.map +1 -1
  115. package/dist/sdk/generated/gql.js +84 -22
  116. package/dist/sdk/generated/gql.js.map +1 -1
  117. package/dist/sdk/generated/graphql.d.ts +8407 -2195
  118. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  119. package/dist/sdk/generated/graphql.js +87 -25
  120. package/dist/sdk/generated/graphql.js.map +1 -1
  121. package/package.json +12 -4
  122. package/src/resources/generated_mutations/CreateApiTokens.graphql +9 -0
  123. package/src/resources/generated_mutations/CreateWebhooks.graphql +80 -0
  124. package/src/resources/generated_mutations/DeleteApiToken.graphql +3 -0
  125. package/src/resources/generated_mutations/DeleteWebhooks.graphql +5 -0
  126. package/src/resources/generated_queries/ApiToken.graphql +9 -0
  127. package/src/resources/generated_queries/ApiTokens.graphql +9 -0
  128. package/src/resources/generated_queries/Balances.graphql +12 -0
  129. package/src/resources/generated_queries/ChartUrls.graphql +7 -0
  130. package/src/resources/generated_queries/FilterExchanges.graphql +43 -0
  131. package/src/resources/generated_queries/FilterNftCollections.graphql +569 -0
  132. package/src/resources/generated_queries/FilterNftParallelAssets.graphql +60 -0
  133. package/src/resources/generated_queries/FilterNftPoolCollections.graphql +71 -0
  134. package/src/resources/generated_queries/FilterNftPools.graphql +124 -0
  135. package/src/resources/generated_queries/FilterPairs.graphql +339 -0
  136. package/src/resources/generated_queries/FilterTokens.graphql +279 -0
  137. package/src/resources/generated_queries/GetBars.graphql +44 -0
  138. package/src/resources/generated_queries/GetCommunityNotes.graphql +20 -0
  139. package/src/resources/generated_queries/GetDetailedNftStats.graphql +831 -0
  140. package/src/resources/generated_queries/GetDetailedPairStats.graphql +938 -0
  141. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +922 -0
  142. package/src/resources/generated_queries/GetEventLabels.graphql +24 -0
  143. package/src/resources/generated_queries/GetExchanges.graphql +12 -0
  144. package/src/resources/generated_queries/GetLatestPairs.graphql +57 -0
  145. package/src/resources/generated_queries/GetLatestTokens.graphql +39 -0
  146. package/src/resources/generated_queries/GetNetworkStats.graphql +13 -0
  147. package/src/resources/generated_queries/GetNetworkStatus.graphql +8 -0
  148. package/src/resources/generated_queries/GetNetworks.graphql +7 -0
  149. package/src/resources/generated_queries/GetNftAssets.graphql +59 -0
  150. package/src/resources/generated_queries/GetNftCollectionMetadata.graphql +75 -0
  151. package/src/resources/generated_queries/GetNftContracts.graphql +39 -0
  152. package/src/resources/generated_queries/GetNftEvents.graphql +54 -0
  153. package/src/resources/generated_queries/GetNftPool.graphql +74 -0
  154. package/src/resources/generated_queries/GetNftPoolCollection.graphql +33 -0
  155. package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +38 -0
  156. package/src/resources/generated_queries/GetNftPoolEvents.graphql +41 -0
  157. package/src/resources/generated_queries/GetNftPoolStats.graphql +40 -0
  158. package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +89 -0
  159. package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +89 -0
  160. package/src/resources/generated_queries/GetParallelAssets.graphql +50 -0
  161. package/src/resources/generated_queries/GetParallelCardChanges.graphql +57 -0
  162. package/src/resources/generated_queries/GetPrimePoolAssets.graphql +32 -0
  163. package/src/resources/generated_queries/GetPrimePoolEvents.graphql +38 -0
  164. package/src/resources/generated_queries/GetPrimePools.graphql +62 -0
  165. package/src/resources/generated_queries/GetSimulateTokenContractResults.graphql +128 -0
  166. package/src/resources/generated_queries/GetSymbol.graphql +11 -0
  167. package/src/resources/generated_queries/GetTokenCount.graphql +3 -0
  168. package/src/resources/generated_queries/GetTokenEvents.graphql +49 -0
  169. package/src/resources/generated_queries/GetTokenInfo.graphql +17 -0
  170. package/src/resources/generated_queries/GetTokenPrices.graphql +9 -0
  171. package/src/resources/generated_queries/GetTokensInfo.graphql +17 -0
  172. package/src/resources/generated_queries/GetUniV3Ticks.graphql +22 -0
  173. package/src/resources/generated_queries/GetWebhooks.graphql +36 -0
  174. package/src/resources/generated_queries/Holders.graphql +14 -0
  175. package/src/resources/generated_queries/LiquidityLocks.graphql +26 -0
  176. package/src/resources/generated_queries/LiquidityMetadata.graphql +17 -0
  177. package/src/resources/generated_queries/ListFavoriteTokens.graphql +58 -0
  178. package/src/resources/generated_queries/ListPairsForToken.graphql +141 -0
  179. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +282 -0
  180. package/src/resources/generated_queries/ListTopTokens.graphql +54 -0
  181. package/src/resources/generated_queries/NftHolders.graphql +12 -0
  182. package/src/resources/generated_queries/PairMetadata.graphql +73 -0
  183. package/src/resources/generated_queries/PrimeBalance.graphql +12 -0
  184. package/src/resources/generated_queries/PrimeHolders.graphql +13 -0
  185. package/src/resources/generated_queries/SearchNfts.graphql +35 -0
  186. package/src/resources/generated_queries/Token.graphql +62 -0
  187. package/src/resources/generated_queries/TokenLifecycleEvents.graphql +22 -0
  188. package/src/resources/generated_queries/TokenSparklines.graphql +10 -0
  189. package/src/resources/generated_queries/Tokens.graphql +62 -0
  190. package/src/resources/generated_queries/WalletNftCollectionAssets.graphql +11 -0
  191. package/src/resources/generated_queries/WalletNftCollections.graphql +10 -0
  192. package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +513 -0
  193. package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +332 -0
  194. package/src/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
  195. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +46 -0
  196. package/src/resources/generated_subscriptions/OnLatestPairUpdated.graphql +42 -0
  197. package/src/resources/generated_subscriptions/OnLatestTokens.graphql +37 -0
  198. package/src/resources/generated_subscriptions/OnNftAssetsCreated.graphql +42 -0
  199. package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +36 -0
  200. package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +37 -0
  201. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +73 -0
  202. package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +9 -0
  203. package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +9 -0
  204. package/src/resources/generated_subscriptions/OnSimulateTokenContract.graphql +121 -0
  205. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +39 -0
  206. package/src/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +18 -0
  207. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +32 -0
  208. package/src/resources/graphql.schema.json +1570 -0
  209. package/src/resources/graphql.ts +148 -0
  210. package/src/resources/schema.graphql +184 -0
  211. package/src/scripts/buildSdk.ts +173 -0
  212. package/src/scripts/generateGraphql.ts +236 -0
  213. package/src/sdk/Mutation.ts +13 -4
  214. package/src/sdk/Query.ts +252 -37
  215. package/src/sdk/Subscribe.ts +230 -41
  216. package/src/sdk/generated/gql.ts +354 -44
  217. package/src/sdk/generated/graphql.ts +889 -151
  218. package/src/sdk/graphql/GetPairEvents.graphql +6 -1
  219. package/dist/sdk/Query.test.d.ts +0 -2
  220. package/dist/sdk/Query.test.d.ts.map +0 -1
  221. package/dist/sdk/Query.test.js +0 -50
  222. package/dist/sdk/Query.test.js.map +0 -1
  223. package/src/sdk/Query.test.ts +0 -40
  224. package/src/sdk/graphql/CreateWebhooks.graphql +0 -464
  225. package/src/sdk/graphql/FilterExchanges.graphql +0 -23
  226. package/src/sdk/graphql/FilterPairs.graphql +0 -126
  227. package/src/sdk/graphql/FilterTokens.graphql +0 -131
  228. package/src/sdk/graphql/GetPrice.graphql +0 -9
  229. package/src/sdk/graphql/GetTokens.graphql +0 -14
  230. package/src/sdk/graphql/GetWebhooks.graphql +0 -120
  231. package/src/sdk/graphql/OnBarsUpdated.graphql +0 -68
  232. package/src/sdk/graphql/OnEventsCreated.graphql +0 -62
  233. package/src/sdk/graphql/OnNftEventsCreated.graphql +0 -83
@@ -0,0 +1,89 @@
1
+ query GetNftPoolsByOwner(
2
+ $cursor: String
3
+ $exchangeAddress: String
4
+ $limit: Int
5
+ $networkId: Int!
6
+ $ownerAddress: String!
7
+ ) {
8
+ getNftPoolsByOwner(
9
+ cursor: $cursor
10
+ exchangeAddress: $exchangeAddress
11
+ limit: $limit
12
+ networkId: $networkId
13
+ ownerAddress: $ownerAddress
14
+ ) {
15
+ cursor
16
+ items {
17
+ acceptedNftTokenIds
18
+ assetRecipientAddress
19
+ balanceNBT
20
+ balanceT
21
+ bondingCurveAddress
22
+ bondingCurveType
23
+ collectionAddress
24
+ collectionName
25
+ collectionSymbol
26
+ delta
27
+ exchangeAddress
28
+ fee
29
+ floorNBT
30
+ floorT
31
+ networkId
32
+ nftAssets {
33
+ address
34
+ attributes {
35
+ class
36
+ css
37
+ displayType
38
+ maxValue
39
+ name
40
+ value
41
+ valueType
42
+ }
43
+ description
44
+ id
45
+ media {
46
+ image
47
+ processed
48
+ thumbLg
49
+ thumbSm
50
+ }
51
+ name
52
+ networkId
53
+ originalImage
54
+ quantity
55
+ rawAssetData {
56
+ animationUrl
57
+ externalUrl
58
+ imageData
59
+ imageUrl
60
+ }
61
+ tokenId
62
+ uri
63
+ }
64
+ nftBalanceV2
65
+ nftVolumeAllTimeV2
66
+ offerNBT
67
+ offerT
68
+ owner
69
+ poolAddress
70
+ poolFeesAllTimeNBT
71
+ poolFeesAllTimeT
72
+ poolId
73
+ poolNftType
74
+ poolType
75
+ poolVariant
76
+ propertyChecker
77
+ royalties {
78
+ percent
79
+ recipient
80
+ }
81
+ spotPriceNBT
82
+ spotPriceT
83
+ tokenAddress
84
+ version
85
+ volumeAllTimeNBT
86
+ volumeAllTimeT
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,50 @@
1
+ query GetParallelAssets($cursor: String, $limit: Int, $tokenIds: [String]) {
2
+ getParallelAssets(cursor: $cursor, limit: $limit, tokenIds: $tokenIds) {
3
+ cursor
4
+ items {
5
+ address
6
+ attributes {
7
+ class
8
+ css
9
+ displayType
10
+ maxValue
11
+ name
12
+ value
13
+ valueType
14
+ }
15
+ description
16
+ gameData {
17
+ attack
18
+ cardType
19
+ cost
20
+ functionText
21
+ health
22
+ parallel
23
+ passiveAbility
24
+ rarity
25
+ subtype
26
+ }
27
+ id
28
+ media {
29
+ image
30
+ processed
31
+ thumbLg
32
+ thumbSm
33
+ }
34
+ metadata {
35
+ artist
36
+ class
37
+ expansion
38
+ flavourText
39
+ parallelId
40
+ paraset
41
+ supply
42
+ }
43
+ name
44
+ networkId
45
+ originalImage
46
+ tokenId
47
+ uri
48
+ }
49
+ }
50
+ }
@@ -0,0 +1,57 @@
1
+ query GetParallelCardChanges(
2
+ $cursor: String
3
+ $limit: Int
4
+ $timestamp: ParallelCardChangeQueryTimestampInput
5
+ $tokenId: String
6
+ ) {
7
+ getParallelCardChanges(
8
+ cursor: $cursor
9
+ limit: $limit
10
+ timestamp: $timestamp
11
+ tokenId: $tokenId
12
+ ) {
13
+ cursor
14
+ items {
15
+ diff {
16
+ new {
17
+ artist
18
+ attack
19
+ cardType
20
+ class
21
+ cost
22
+ expansion
23
+ flavourText
24
+ functionText
25
+ health
26
+ parallel
27
+ parallelId
28
+ paraset
29
+ passiveAbility
30
+ rarity
31
+ subtype
32
+ supply
33
+ }
34
+ old {
35
+ artist
36
+ attack
37
+ cardType
38
+ class
39
+ cost
40
+ expansion
41
+ flavourText
42
+ functionText
43
+ health
44
+ parallel
45
+ parallelId
46
+ paraset
47
+ passiveAbility
48
+ rarity
49
+ subtype
50
+ supply
51
+ }
52
+ }
53
+ timestamp
54
+ tokenId
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,32 @@
1
+ query GetPrimePoolAssets(
2
+ $cursor: String
3
+ $limit: Int
4
+ $networkId: Int!
5
+ $poolContractAddress: String
6
+ $poolId: String
7
+ $walletAddress: String
8
+ ) {
9
+ getPrimePoolAssets(
10
+ cursor: $cursor
11
+ limit: $limit
12
+ networkId: $networkId
13
+ poolContractAddress: $poolContractAddress
14
+ poolId: $poolId
15
+ walletAddress: $walletAddress
16
+ ) {
17
+ cursor
18
+ items {
19
+ amount
20
+ ethRewardDebt
21
+ from
22
+ fromHashKey
23
+ fromSortKey
24
+ id
25
+ networkId
26
+ poolContractAddress
27
+ poolId
28
+ primeRewardDebt
29
+ sortKey
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,38 @@
1
+ query GetPrimePoolEvents(
2
+ $cursor: String
3
+ $eventTypes: [PrimePoolEventType]
4
+ $limit: Int
5
+ $networkId: Int!
6
+ $poolContractAddress: String
7
+ $poolId: String
8
+ $walletAddress: String
9
+ ) {
10
+ getPrimePoolEvents(
11
+ cursor: $cursor
12
+ eventTypes: $eventTypes
13
+ limit: $limit
14
+ networkId: $networkId
15
+ poolContractAddress: $poolContractAddress
16
+ poolId: $poolId
17
+ walletAddress: $walletAddress
18
+ ) {
19
+ cursor
20
+ items {
21
+ blockHash
22
+ blockNumber
23
+ eventType
24
+ from
25
+ fromHashKey
26
+ id
27
+ logIndex
28
+ networkId
29
+ poolContractAddress
30
+ poolId
31
+ poolType
32
+ sortKey
33
+ timestamp
34
+ transactionHash
35
+ transactionIndex
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,62 @@
1
+ query GetPrimePools(
2
+ $address: String!
3
+ $cursor: String
4
+ $limit: Int
5
+ $networkId: Int!
6
+ $poolIds: [String]
7
+ ) {
8
+ getPrimePools(
9
+ address: $address
10
+ cursor: $cursor
11
+ limit: $limit
12
+ networkId: $networkId
13
+ poolIds: $poolIds
14
+ ) {
15
+ cursor
16
+ items {
17
+ calcData {
18
+ poolAccumulatedEth
19
+ poolAccumulatedPrime
20
+ poolEthAmount
21
+ poolEthPerDay
22
+ poolEthPerSecond
23
+ poolPrimeAmount
24
+ poolPrimePerDay
25
+ poolPrimePerSecond
26
+ shareAccumulatedEth
27
+ shareAccumulatedPrime
28
+ shareEthPerDay
29
+ shareEthPerSecond
30
+ sharePrimePerDay
31
+ sharePrimePerSecond
32
+ }
33
+ chainData {
34
+ cachingPaused
35
+ ethAllocPoint
36
+ ethClaimed
37
+ ethEndTimestamp
38
+ ethLastRewardTimestamp
39
+ ethReward
40
+ ethStartTimestamp
41
+ ethTimedCachePeriod
42
+ ethTotalAllocPoint
43
+ primeAllocPoint
44
+ primeEndTimestamp
45
+ primeLastRewardTimestamp
46
+ primeStartTimestamp
47
+ primeTotalAllocPoint
48
+ }
49
+ createdAt
50
+ discoveryBlockNumber
51
+ discoveryTransactionHash
52
+ id
53
+ networkId
54
+ nftContractAddress
55
+ poolContractAddress
56
+ poolId
57
+ poolType
58
+ tokenIds
59
+ totalSupply
60
+ }
61
+ }
62
+ }
@@ -0,0 +1,128 @@
1
+ query GetSimulateTokenContractResults(
2
+ $contractAddress: String!
3
+ $cursor: String
4
+ $limit: Int
5
+ $networkId: Int!
6
+ $simulationId: String
7
+ ) {
8
+ getSimulateTokenContractResults(
9
+ contractAddress: $contractAddress
10
+ cursor: $cursor
11
+ limit: $limit
12
+ networkId: $networkId
13
+ simulationId: $simulationId
14
+ ) {
15
+ cursor
16
+ results {
17
+ analysisType
18
+ blockNumber
19
+ contractBalance {
20
+ tokenContractEthBalance
21
+ tokenContractTokenBalance
22
+ }
23
+ contractHashKey
24
+ creator {
25
+ creatorAddress
26
+ creatorEthBalance
27
+ creatorTokenBalance
28
+ }
29
+ deploy {
30
+ deploySuccess
31
+ tokenMintedToDeployer
32
+ }
33
+ errors {
34
+ contractBalanceErrors {
35
+ tokenContractEthBalanceError
36
+ tokenContractTokenBalanceError
37
+ }
38
+ creatorErrors {
39
+ creatorEthBalanceError
40
+ creatorTokenBalanceError
41
+ }
42
+ deployErrors {
43
+ deployError
44
+ tokenMintedToDeployerError
45
+ }
46
+ liquidityErrors {
47
+ addLiquidityError
48
+ lpTotalSupplyError
49
+ postLiquidityEnableTradingError
50
+ preLiquidityEnableTradingError
51
+ }
52
+ ownerErrors {
53
+ ownerAddressError
54
+ ownerEthBalanceError
55
+ ownerTokenBalanceError
56
+ }
57
+ simulatorError
58
+ swapErrors {
59
+ buyError
60
+ buyErrorEnum
61
+ sellError
62
+ sellErrorEnum
63
+ }
64
+ tokenErrors {
65
+ canRenounceOwnershipError
66
+ canTransferOwnershipError
67
+ decimalsError
68
+ tokenNameError
69
+ tokenSymbolError
70
+ totalSupplyError
71
+ }
72
+ transferErrors {
73
+ tokenContractApprovalError
74
+ tokenTransferredToContractError
75
+ userApprovalError
76
+ }
77
+ }
78
+ id
79
+ liquidity {
80
+ addLiquiditySuccess
81
+ liquiditySetByPreLiquidityOpenTradingCall
82
+ lpTotalSupply
83
+ pairAddress
84
+ postLiquidityEnableTradingCall
85
+ postLiquidityEnableTradingSuccess
86
+ preLiquidityEnableTradingCall
87
+ preLiquidityEnableTradingSuccess
88
+ preLiquidityEnableTradingSupportsTransfer
89
+ }
90
+ networkId
91
+ owner {
92
+ ownerAddress
93
+ ownerEthBalance
94
+ ownerTokenBalance
95
+ }
96
+ sortKey
97
+ status
98
+ swap {
99
+ buyGasUsed
100
+ buySuccess
101
+ buyTax
102
+ maxBuyAmount
103
+ maxSellAmount
104
+ sellGasUsed
105
+ sellSuccess
106
+ sellTax
107
+ }
108
+ timestamp
109
+ token {
110
+ canRenounceOwnership
111
+ canTransferOwnership
112
+ contractAddress
113
+ decimals
114
+ isOwnerRenounced
115
+ tokenName
116
+ tokenSymbol
117
+ totalSupply
118
+ }
119
+ transfer {
120
+ tokenContractApprovalSuccess
121
+ tokenTransferredToContractSuccess
122
+ userApprovalSuccess
123
+ }
124
+ uuid
125
+ uuidHashKey
126
+ }
127
+ }
128
+ }
@@ -1,11 +1,11 @@
1
- query GetSymbol($symbol: String!, $currencyCode: String) {
2
- getSymbol(symbol: $symbol, currencyCode: $currencyCode) {
3
- name
4
- description
1
+ query GetSymbol($currencyCode: String, $symbol: String!) {
2
+ getSymbol(currencyCode: $currencyCode, symbol: $symbol) {
5
3
  currency_code
6
- supported_resolutions
4
+ description
5
+ name
6
+ original_currency_code
7
7
  pricescale
8
+ supported_resolutions
8
9
  ticker
9
- original_currency_code
10
10
  }
11
- }
11
+ }
@@ -0,0 +1,3 @@
1
+ query GetTokenCount {
2
+ getTokenCount
3
+ }
@@ -0,0 +1,49 @@
1
+ query GetTokenEvents(
2
+ $cursor: String
3
+ $direction: RankingDirection
4
+ $limit: Int
5
+ $query: EventsQueryInput!
6
+ ) {
7
+ getTokenEvents(
8
+ cursor: $cursor
9
+ direction: $direction
10
+ limit: $limit
11
+ query: $query
12
+ ) {
13
+ cursor
14
+ items {
15
+ address
16
+ baseTokenPrice
17
+ blockHash
18
+ blockNumber
19
+ eventDisplayType
20
+ eventType
21
+ id
22
+ labels {
23
+ sandwich {
24
+ label
25
+ sandwichType
26
+ token0DrainedAmount
27
+ token1DrainedAmount
28
+ }
29
+ washtrade {
30
+ label
31
+ }
32
+ }
33
+ liquidityToken
34
+ logIndex
35
+ maker
36
+ networkId
37
+ quoteToken
38
+ timestamp
39
+ token0PoolValueUsd
40
+ token0SwapValueUsd
41
+ token0ValueBase
42
+ token1PoolValueUsd
43
+ token1SwapValueUsd
44
+ token1ValueBase
45
+ transactionHash
46
+ transactionIndex
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,17 @@
1
+ query GetTokenInfo($address: String!, $networkId: Int!) {
2
+ getTokenInfo(address: $address, networkId: $networkId) {
3
+ address
4
+ circulatingSupply
5
+ cmcId
6
+ description
7
+ id
8
+ imageLargeUrl
9
+ imageSmallUrl
10
+ imageThumbUrl
11
+ isScam
12
+ name
13
+ networkId
14
+ symbol
15
+ totalSupply
16
+ }
17
+ }
@@ -0,0 +1,9 @@
1
+ query GetTokenPrices($inputs: [GetPriceInput]) {
2
+ getTokenPrices(inputs: $inputs) {
3
+ address
4
+ confidence
5
+ networkId
6
+ priceUsd
7
+ timestamp
8
+ }
9
+ }
@@ -0,0 +1,17 @@
1
+ query GetTokensInfo($input: [GetTokensInfoInput!]!) {
2
+ getTokensInfo(input: $input) {
3
+ address
4
+ circulatingSupply
5
+ cmcId
6
+ description
7
+ id
8
+ imageLargeUrl
9
+ imageSmallUrl
10
+ imageThumbUrl
11
+ isScam
12
+ name
13
+ networkId
14
+ symbol
15
+ totalSupply
16
+ }
17
+ }
@@ -0,0 +1,22 @@
1
+ query GetUniV3Ticks(
2
+ $limit: Int
3
+ $networkId: Int!
4
+ $offset: Int
5
+ $poolAddress: String!
6
+ ) {
7
+ getUniV3Ticks(
8
+ limit: $limit
9
+ networkId: $networkId
10
+ offset: $offset
11
+ poolAddress: $poolAddress
12
+ ) {
13
+ count
14
+ offset
15
+ results {
16
+ liquidityNet
17
+ price0
18
+ price1
19
+ tick
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,36 @@
1
+ query GetWebhooks(
2
+ $bucketId: String
3
+ $bucketSortkey: String
4
+ $cursor: String
5
+ $limit: Int
6
+ $webhookId: String
7
+ ) {
8
+ getWebhooks(
9
+ bucketId: $bucketId
10
+ bucketSortkey: $bucketSortkey
11
+ cursor: $cursor
12
+ limit: $limit
13
+ webhookId: $webhookId
14
+ ) {
15
+ cursor
16
+ items {
17
+ alertRecurrence
18
+ bucketId
19
+ bucketSortkey
20
+ callbackUrl
21
+ created
22
+ groupId
23
+ id
24
+ name
25
+ publishingType
26
+ retrySettings {
27
+ maxRetries
28
+ maxRetryDelay
29
+ maxTimeElapsed
30
+ minRetryDelay
31
+ }
32
+ status
33
+ webhookType
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,14 @@
1
+ query Holders($input: HoldersInput!) {
2
+ holders(input: $input) {
3
+ count
4
+ cursor
5
+ items {
6
+ balance
7
+ firstHeldTimestamp
8
+ shiftedBalance
9
+ tokenId
10
+ walletId
11
+ }
12
+ status
13
+ }
14
+ }
@@ -0,0 +1,26 @@
1
+ query LiquidityLocks($cursor: String, $networkId: Int!, $pairAddress: String!) {
2
+ liquidityLocks(
3
+ cursor: $cursor
4
+ networkId: $networkId
5
+ pairAddress: $pairAddress
6
+ ) {
7
+ cursor
8
+ items {
9
+ createdAt
10
+ initialAmountToken0
11
+ initialAmountToken1
12
+ liquidityAmount
13
+ liquidityNftData {
14
+ nftPositionManagerAddress
15
+ nftTokenId
16
+ }
17
+ liquidityProtocol
18
+ lockProtocol
19
+ lockerAddress
20
+ networkId
21
+ ownerAddress
22
+ pairAddress
23
+ unlockAt
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,17 @@
1
+ query LiquidityMetadata($networkId: Int!, $pairAddress: String!) {
2
+ liquidityMetadata(networkId: $networkId, pairAddress: $pairAddress) {
3
+ liquidity {
4
+ active
5
+ inactive
6
+ }
7
+ lockedLiquidity {
8
+ active
9
+ inactive
10
+ lockBreakdown {
11
+ active
12
+ inactive
13
+ lockProtocol
14
+ }
15
+ }
16
+ }
17
+ }