@codex-data/sdk 1.0.10 → 1.0.12

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 (79) hide show
  1. package/dist/resources/graphql.d.ts +179 -683
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +67 -79
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/sdk/Mutation.d.ts +1 -1
  6. package/dist/sdk/Mutation.d.ts.map +1 -1
  7. package/dist/sdk/Mutation.js +1 -1
  8. package/dist/sdk/Mutation.js.map +1 -1
  9. package/dist/sdk/Query.d.ts +56 -51
  10. package/dist/sdk/Query.d.ts.map +1 -1
  11. package/dist/sdk/Query.js +55 -50
  12. package/dist/sdk/Query.js.map +1 -1
  13. package/dist/sdk/Subscribe.d.ts +19 -20
  14. package/dist/sdk/Subscribe.d.ts.map +1 -1
  15. package/dist/sdk/Subscribe.js +91 -98
  16. package/dist/sdk/Subscribe.js.map +1 -1
  17. package/dist/sdk/generated/gql.d.ts +135 -101
  18. package/dist/sdk/generated/gql.d.ts.map +1 -1
  19. package/dist/sdk/generated/gql.js +44 -40
  20. package/dist/sdk/generated/gql.js.map +1 -1
  21. package/dist/sdk/generated/graphql.d.ts +1614 -1105
  22. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  23. package/dist/sdk/generated/graphql.js +113 -121
  24. package/dist/sdk/generated/graphql.js.map +1 -1
  25. package/package.json +2 -2
  26. package/src/resources/generated_queries/Balances.graphql +15 -0
  27. package/src/resources/generated_queries/DetailedWalletStats.graphql +4 -0
  28. package/src/resources/generated_queries/FilterNetworkWallets.graphql +57 -0
  29. package/src/resources/generated_queries/FilterNftPoolCollections.graphql +8 -0
  30. package/src/resources/generated_queries/FilterNftPools.graphql +7 -0
  31. package/src/resources/generated_queries/FilterPairs.graphql +60 -0
  32. package/src/resources/generated_queries/FilterTokenWallets.graphql +16 -0
  33. package/src/resources/generated_queries/FilterTokens.graphql +47 -0
  34. package/src/resources/generated_queries/FilterWallets.graphql +1 -0
  35. package/src/resources/generated_queries/GetBars.graphql +31 -0
  36. package/src/resources/generated_queries/GetCommunityNotes.graphql +16 -0
  37. package/src/resources/generated_queries/GetDetailedPairStats.graphql +30 -0
  38. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +30 -0
  39. package/src/resources/generated_queries/GetDetailedStats.graphql +338 -0
  40. package/src/resources/generated_queries/GetLatestPairs.graphql +57 -0
  41. package/src/resources/generated_queries/GetLatestTokens.graphql +39 -0
  42. package/src/resources/generated_queries/GetNftEvents.graphql +9 -0
  43. package/src/resources/generated_queries/GetNftPool.graphql +2 -0
  44. package/src/resources/generated_queries/GetNftPoolCollection.graphql +8 -0
  45. package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +8 -0
  46. package/src/resources/generated_queries/GetNftPoolEvents.graphql +2 -0
  47. package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +2 -0
  48. package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +2 -0
  49. package/src/resources/generated_queries/Holders.graphql +15 -0
  50. package/src/resources/generated_queries/LiquidityLocks.graphql +1 -0
  51. package/src/resources/generated_queries/ListPairsForToken.graphql +30 -0
  52. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +60 -0
  53. package/src/resources/generated_queries/ListTopTokens.graphql +55 -0
  54. package/src/resources/generated_queries/PairMetadata.graphql +30 -0
  55. package/src/resources/generated_queries/PrimeHolders.graphql +15 -0
  56. package/src/resources/generated_queries/SearchTokens.graphql +67 -0
  57. package/src/resources/generated_queries/Token.graphql +15 -0
  58. package/src/resources/generated_queries/Tokens.graphql +15 -0
  59. package/src/resources/generated_queries/WalletChart.graphql +1 -0
  60. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +15 -0
  61. package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +2 -10
  62. package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +1 -6
  63. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +0 -2
  64. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
  65. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +15 -0
  66. package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +9 -0
  67. package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +2 -0
  68. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +32 -10
  69. package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +2 -10
  70. package/src/resources/graphql.schema.json +522 -5208
  71. package/src/resources/graphql.ts +185 -745
  72. package/src/resources/schema.graphql +6755 -11061
  73. package/src/sdk/Mutation.ts +2 -2
  74. package/src/sdk/Query.ts +126 -107
  75. package/src/sdk/Subscribe.ts +149 -164
  76. package/src/sdk/generated/gql.ts +106 -86
  77. package/src/sdk/generated/graphql.ts +322 -844
  78. package/src/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
  79. package/src/resources/generated_subscriptions/OnSimulateTokenContract.graphql +0 -121
@@ -1,6 +1,7 @@
1
1
  query Token($input: TokenInput!) {
2
2
  token(input: $input) {
3
3
  address
4
+ circulatingSupply
4
5
  cmcId
5
6
  createBlockNumber
6
7
  createTransactionHash
@@ -17,8 +18,19 @@ query Token($input: TokenInput!) {
17
18
  networkId
18
19
  tradeUrl
19
20
  }
21
+ explorerData {
22
+ blueCheckmark
23
+ description
24
+ divisor
25
+ id
26
+ tokenPriceUSD
27
+ tokenType
28
+ }
20
29
  freezable
21
30
  id
31
+ imageLargeUrl
32
+ imageSmallUrl
33
+ imageThumbUrl
22
34
  info {
23
35
  address
24
36
  circulatingSupply
@@ -47,11 +59,13 @@ query Token($input: TokenInput!) {
47
59
  migratedAt
48
60
  migratedPoolAddress
49
61
  migratedSlot
62
+ name
50
63
  poolAddress
51
64
  }
52
65
  mintable
53
66
  name
54
67
  networkId
68
+ pooled
55
69
  socialLinks {
56
70
  bitcointalk
57
71
  blog
@@ -74,5 +88,6 @@ query Token($input: TokenInput!) {
74
88
  youtube
75
89
  }
76
90
  symbol
91
+ totalSupply
77
92
  }
78
93
  }
@@ -1,6 +1,7 @@
1
1
  query Tokens($ids: [TokenInput!]) {
2
2
  tokens(ids: $ids) {
3
3
  address
4
+ circulatingSupply
4
5
  cmcId
5
6
  createBlockNumber
6
7
  createTransactionHash
@@ -17,8 +18,19 @@ query Tokens($ids: [TokenInput!]) {
17
18
  networkId
18
19
  tradeUrl
19
20
  }
21
+ explorerData {
22
+ blueCheckmark
23
+ description
24
+ divisor
25
+ id
26
+ tokenPriceUSD
27
+ tokenType
28
+ }
20
29
  freezable
21
30
  id
31
+ imageLargeUrl
32
+ imageSmallUrl
33
+ imageThumbUrl
22
34
  info {
23
35
  address
24
36
  circulatingSupply
@@ -47,11 +59,13 @@ query Tokens($ids: [TokenInput!]) {
47
59
  migratedAt
48
60
  migratedPoolAddress
49
61
  migratedSlot
62
+ name
50
63
  poolAddress
51
64
  }
52
65
  mintable
53
66
  name
54
67
  networkId
68
+ pooled
55
69
  socialLinks {
56
70
  bitcointalk
57
71
  blog
@@ -74,5 +88,6 @@ query Tokens($ids: [TokenInput!]) {
74
88
  youtube
75
89
  }
76
90
  symbol
91
+ totalSupply
77
92
  }
78
93
  }
@@ -1,5 +1,6 @@
1
1
  query WalletChart($input: WalletChartInput!) {
2
2
  walletChart(input: $input) {
3
+ backfillState
3
4
  data {
4
5
  realizedProfitUsd
5
6
  resolution
@@ -8,6 +8,7 @@ subscription OnBalanceUpdated($walletAddress: String!) {
8
8
  shiftedBalance
9
9
  token {
10
10
  address
11
+ circulatingSupply
11
12
  cmcId
12
13
  createBlockNumber
13
14
  createTransactionHash
@@ -24,8 +25,19 @@ subscription OnBalanceUpdated($walletAddress: String!) {
24
25
  networkId
25
26
  tradeUrl
26
27
  }
28
+ explorerData {
29
+ blueCheckmark
30
+ description
31
+ divisor
32
+ id
33
+ tokenPriceUSD
34
+ tokenType
35
+ }
27
36
  freezable
28
37
  id
38
+ imageLargeUrl
39
+ imageSmallUrl
40
+ imageThumbUrl
29
41
  info {
30
42
  address
31
43
  circulatingSupply
@@ -54,11 +66,13 @@ subscription OnBalanceUpdated($walletAddress: String!) {
54
66
  migratedAt
55
67
  migratedPoolAddress
56
68
  migratedSlot
69
+ name
57
70
  poolAddress
58
71
  }
59
72
  mintable
60
73
  name
61
74
  networkId
75
+ pooled
62
76
  socialLinks {
63
77
  bitcointalk
64
78
  blog
@@ -81,6 +95,7 @@ subscription OnBalanceUpdated($walletAddress: String!) {
81
95
  youtube
82
96
  }
83
97
  symbol
98
+ totalSupply
84
99
  }
85
100
  tokenAddress
86
101
  tokenId
@@ -1,13 +1,5 @@
1
- subscription OnBarsUpdated(
2
- $pairId: String
3
- $quoteToken: QuoteToken
4
- $statsType: TokenPairStatisticsType
5
- ) {
6
- onBarsUpdated(
7
- pairId: $pairId
8
- quoteToken: $quoteToken
9
- statsType: $statsType
10
- ) {
1
+ subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken) {
2
+ onBarsUpdated(pairId: $pairId, quoteToken: $quoteToken) {
11
3
  aggregates {
12
4
  r1 {
13
5
  t
@@ -1,13 +1,8 @@
1
1
  subscription OnDetailedStatsUpdated(
2
2
  $pairId: String
3
- $statsType: TokenPairStatisticsType
4
3
  $tokenOfInterest: TokenOfInterest
5
4
  ) {
6
- onDetailedStatsUpdated(
7
- pairId: $pairId
8
- statsType: $statsType
9
- tokenOfInterest: $tokenOfInterest
10
- ) {
5
+ onDetailedStatsUpdated(pairId: $pairId, tokenOfInterest: $tokenOfInterest) {
11
6
  bucketCount
12
7
  pairId
13
8
  queryTimestamp
@@ -1,14 +1,12 @@
1
1
  subscription OnEventsCreated(
2
2
  $address: String
3
3
  $id: String
4
- $maker: String
5
4
  $networkId: Int
6
5
  $quoteToken: QuoteToken
7
6
  ) {
8
7
  onEventsCreated(
9
8
  address: $address
10
9
  id: $id
11
- maker: $maker
12
10
  networkId: $networkId
13
11
  quoteToken: $quoteToken
14
12
  ) {
@@ -9,6 +9,7 @@ subscription OnHoldersUpdated($tokenId: String!) {
9
9
  shiftedBalance
10
10
  token {
11
11
  address
12
+ circulatingSupply
12
13
  cmcId
13
14
  createBlockNumber
14
15
  createTransactionHash
@@ -25,8 +26,19 @@ subscription OnHoldersUpdated($tokenId: String!) {
25
26
  networkId
26
27
  tradeUrl
27
28
  }
29
+ explorerData {
30
+ blueCheckmark
31
+ description
32
+ divisor
33
+ id
34
+ tokenPriceUSD
35
+ tokenType
36
+ }
28
37
  freezable
29
38
  id
39
+ imageLargeUrl
40
+ imageSmallUrl
41
+ imageThumbUrl
30
42
  info {
31
43
  address
32
44
  circulatingSupply
@@ -55,11 +67,13 @@ subscription OnHoldersUpdated($tokenId: String!) {
55
67
  migratedAt
56
68
  migratedPoolAddress
57
69
  migratedSlot
70
+ name
58
71
  poolAddress
59
72
  }
60
73
  mintable
61
74
  name
62
75
  networkId
76
+ pooled
63
77
  socialLinks {
64
78
  bitcointalk
65
79
  blog
@@ -82,6 +96,7 @@ subscription OnHoldersUpdated($tokenId: String!) {
82
96
  youtube
83
97
  }
84
98
  symbol
99
+ totalSupply
85
100
  }
86
101
  tokenAddress
87
102
  tokenId
@@ -11,6 +11,7 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
11
11
  sellCount1
12
12
  token {
13
13
  address
14
+ circulatingSupply
14
15
  cmcId
15
16
  createBlockNumber
16
17
  createTransactionHash
@@ -27,8 +28,19 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
27
28
  networkId
28
29
  tradeUrl
29
30
  }
31
+ explorerData {
32
+ blueCheckmark
33
+ description
34
+ divisor
35
+ id
36
+ tokenPriceUSD
37
+ tokenType
38
+ }
30
39
  freezable
31
40
  id
41
+ imageLargeUrl
42
+ imageSmallUrl
43
+ imageThumbUrl
32
44
  info {
33
45
  address
34
46
  circulatingSupply
@@ -57,11 +69,13 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
57
69
  migratedAt
58
70
  migratedPoolAddress
59
71
  migratedSlot
72
+ name
60
73
  poolAddress
61
74
  }
62
75
  mintable
63
76
  name
64
77
  networkId
78
+ pooled
65
79
  socialLinks {
66
80
  bitcointalk
67
81
  blog
@@ -84,6 +98,7 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
84
98
  youtube
85
99
  }
86
100
  symbol
101
+ totalSupply
87
102
  }
88
103
  transactions1
89
104
  volume1
@@ -3,17 +3,24 @@ subscription OnNftEventsCreated($address: String, $networkId: Int) {
3
3
  address
4
4
  events {
5
5
  aggregatorAddress
6
+ baseTokenAddress
7
+ baseTokenPrice
6
8
  blockNumber
7
9
  contractAddress
8
10
  eventType
9
11
  exchangeAddress
10
12
  fillSource
11
13
  id
14
+ individualBaseTokenPrice
15
+ individualNetworkBaseTokenPrice
16
+ individualPrice
12
17
  individualPriceNetworkBaseToken
13
18
  individualPriceUsd
19
+ individualTokenPrice
14
20
  individualTradePrice
15
21
  logIndex
16
22
  maker
23
+ networkBaseTokenPrice
17
24
  networkId
18
25
  numberOfTokens
19
26
  orderDirection
@@ -24,6 +31,8 @@ subscription OnNftEventsCreated($address: String, $networkId: Int) {
24
31
  taker
25
32
  timestamp
26
33
  tokenId
34
+ tokenPrice
35
+ totalPrice
27
36
  totalPriceNetworkBaseToken
28
37
  totalPriceUsd
29
38
  totalTradePrice
@@ -312,6 +312,7 @@ subscription OnNftPoolEventsCreated(
312
312
  amountT
313
313
  nftQuantity
314
314
  nftTokenId
315
+ nftTokenQuantity
315
316
  }
316
317
  poolFeeT
317
318
  protocolFeeT
@@ -382,6 +383,7 @@ subscription OnNftPoolEventsCreated(
382
383
  amountT
383
384
  nftQuantity
384
385
  nftTokenId
386
+ nftTokenQuantity
385
387
  }
386
388
  poolFeeT
387
389
  protocolFeeT
@@ -1,16 +1,9 @@
1
- subscription OnPairMetadataUpdated(
2
- $id: String
3
- $quoteToken: QuoteToken
4
- $statsType: TokenPairStatisticsType
5
- ) {
6
- onPairMetadataUpdated(
7
- id: $id
8
- quoteToken: $quoteToken
9
- statsType: $statsType
10
- ) {
1
+ subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
2
+ onPairMetadataUpdated(id: $id, quoteToken: $quoteToken) {
11
3
  createdAt
12
4
  enhancedToken0 {
13
5
  address
6
+ circulatingSupply
14
7
  cmcId
15
8
  createBlockNumber
16
9
  createTransactionHash
@@ -27,8 +20,19 @@ subscription OnPairMetadataUpdated(
27
20
  networkId
28
21
  tradeUrl
29
22
  }
23
+ explorerData {
24
+ blueCheckmark
25
+ description
26
+ divisor
27
+ id
28
+ tokenPriceUSD
29
+ tokenType
30
+ }
30
31
  freezable
31
32
  id
33
+ imageLargeUrl
34
+ imageSmallUrl
35
+ imageThumbUrl
32
36
  info {
33
37
  address
34
38
  circulatingSupply
@@ -57,11 +61,13 @@ subscription OnPairMetadataUpdated(
57
61
  migratedAt
58
62
  migratedPoolAddress
59
63
  migratedSlot
64
+ name
60
65
  poolAddress
61
66
  }
62
67
  mintable
63
68
  name
64
69
  networkId
70
+ pooled
65
71
  socialLinks {
66
72
  bitcointalk
67
73
  blog
@@ -84,9 +90,11 @@ subscription OnPairMetadataUpdated(
84
90
  youtube
85
91
  }
86
92
  symbol
93
+ totalSupply
87
94
  }
88
95
  enhancedToken1 {
89
96
  address
97
+ circulatingSupply
90
98
  cmcId
91
99
  createBlockNumber
92
100
  createTransactionHash
@@ -103,8 +111,19 @@ subscription OnPairMetadataUpdated(
103
111
  networkId
104
112
  tradeUrl
105
113
  }
114
+ explorerData {
115
+ blueCheckmark
116
+ description
117
+ divisor
118
+ id
119
+ tokenPriceUSD
120
+ tokenType
121
+ }
106
122
  freezable
107
123
  id
124
+ imageLargeUrl
125
+ imageSmallUrl
126
+ imageThumbUrl
108
127
  info {
109
128
  address
110
129
  circulatingSupply
@@ -133,11 +152,13 @@ subscription OnPairMetadataUpdated(
133
152
  migratedAt
134
153
  migratedPoolAddress
135
154
  migratedSlot
155
+ name
136
156
  poolAddress
137
157
  }
138
158
  mintable
139
159
  name
140
160
  networkId
161
+ pooled
141
162
  socialLinks {
142
163
  bitcointalk
143
164
  blog
@@ -160,6 +181,7 @@ subscription OnPairMetadataUpdated(
160
181
  youtube
161
182
  }
162
183
  symbol
184
+ totalSupply
163
185
  }
164
186
  exchangeId
165
187
  fee
@@ -1,13 +1,5 @@
1
- subscription OnTokenBarsUpdated(
2
- $networkId: Int
3
- $statsType: TokenPairStatisticsType
4
- $tokenId: String
5
- ) {
6
- onTokenBarsUpdated(
7
- networkId: $networkId
8
- statsType: $statsType
9
- tokenId: $tokenId
10
- ) {
1
+ subscription OnTokenBarsUpdated($networkId: Int, $tokenId: String) {
2
+ onTokenBarsUpdated(networkId: $networkId, tokenId: $tokenId) {
11
3
  aggregates {
12
4
  r1 {
13
5
  t