@codex-data/sdk 1.0.3 → 1.0.4

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 (80) hide show
  1. package/dist/resources/generated_queries/FilterPairs.graphql +44 -0
  2. package/dist/resources/generated_queries/FilterTokens.graphql +44 -0
  3. package/dist/resources/generated_queries/GetBars.graphql +165 -0
  4. package/dist/resources/generated_queries/GetCommunityNotes.graphql +11 -0
  5. package/dist/resources/generated_queries/GetDetailedPairStats.graphql +22 -0
  6. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +22 -0
  7. package/dist/resources/generated_queries/ListPairsForToken.graphql +22 -0
  8. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +44 -0
  9. package/dist/resources/generated_queries/PairMetadata.graphql +26 -0
  10. package/dist/resources/generated_queries/Token.graphql +11 -0
  11. package/dist/resources/generated_queries/Tokens.graphql +11 -0
  12. package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
  13. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +26 -0
  14. package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +1 -0
  15. package/dist/resources/graphql.d.ts +202 -109
  16. package/dist/resources/graphql.d.ts.map +1 -1
  17. package/dist/resources/graphql.js +18 -1
  18. package/dist/resources/graphql.js.map +1 -1
  19. package/dist/resources/graphql.schema.json +863 -760
  20. package/dist/resources/graphql.ts +208 -124
  21. package/dist/resources/schema.graphql +312 -154
  22. package/dist/sdk/Mutation.d.ts +2 -2
  23. package/dist/sdk/Mutation.js +2 -2
  24. package/dist/sdk/Query.d.ts +48 -57
  25. package/dist/sdk/Query.d.ts.map +1 -1
  26. package/dist/sdk/Query.js +47 -56
  27. package/dist/sdk/Query.js.map +1 -1
  28. package/dist/sdk/Subscribe.d.ts +13 -12
  29. package/dist/sdk/Subscribe.d.ts.map +1 -1
  30. package/dist/sdk/Subscribe.js +68 -61
  31. package/dist/sdk/Subscribe.js.map +1 -1
  32. package/dist/sdk/generated/gql.d.ts +34 -101
  33. package/dist/sdk/generated/gql.d.ts.map +1 -1
  34. package/dist/sdk/generated/gql.js +14 -22
  35. package/dist/sdk/generated/gql.js.map +1 -1
  36. package/dist/sdk/generated/graphql.d.ts +784 -499
  37. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  38. package/dist/sdk/generated/graphql.js +34 -25
  39. package/dist/sdk/generated/graphql.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/resources/generated_queries/FilterPairs.graphql +44 -0
  42. package/src/resources/generated_queries/FilterTokens.graphql +44 -0
  43. package/src/resources/generated_queries/GetBars.graphql +165 -0
  44. package/src/resources/generated_queries/GetCommunityNotes.graphql +11 -0
  45. package/src/resources/generated_queries/GetDetailedPairStats.graphql +22 -0
  46. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +22 -0
  47. package/src/resources/generated_queries/ListPairsForToken.graphql +22 -0
  48. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +44 -0
  49. package/src/resources/generated_queries/PairMetadata.graphql +26 -0
  50. package/src/resources/generated_queries/Token.graphql +11 -0
  51. package/src/resources/generated_queries/Tokens.graphql +11 -0
  52. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
  53. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +26 -0
  54. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +1 -0
  55. package/src/resources/graphql.schema.json +863 -760
  56. package/src/resources/graphql.ts +208 -124
  57. package/src/resources/schema.graphql +312 -154
  58. package/src/sdk/Mutation.ts +4 -4
  59. package/src/sdk/Query.ts +100 -136
  60. package/src/sdk/Subscribe.ts +112 -97
  61. package/src/sdk/generated/gql.ts +31 -71
  62. package/src/sdk/generated/graphql.ts +246 -233
  63. package/dist/resources/generated_queries/BackfillWalletState.graphql +0 -3
  64. package/dist/resources/generated_queries/GetLatestPairs.graphql +0 -57
  65. package/dist/resources/generated_queries/GetParallelAssets.graphql +0 -50
  66. package/dist/resources/generated_queries/GetTokenCount.graphql +0 -3
  67. package/dist/resources/generated_queries/GetTokenInfo.graphql +0 -18
  68. package/dist/resources/generated_queries/GetTokensInfo.graphql +0 -18
  69. package/dist/resources/generated_queries/GetUniV3Ticks.graphql +0 -22
  70. package/dist/resources/generated_queries/ListFavoriteTokens.graphql +0 -59
  71. package/dist/resources/generated_queries/PrimeBalance.graphql +0 -12
  72. package/src/resources/generated_queries/BackfillWalletState.graphql +0 -3
  73. package/src/resources/generated_queries/GetLatestPairs.graphql +0 -57
  74. package/src/resources/generated_queries/GetParallelAssets.graphql +0 -50
  75. package/src/resources/generated_queries/GetTokenCount.graphql +0 -3
  76. package/src/resources/generated_queries/GetTokenInfo.graphql +0 -18
  77. package/src/resources/generated_queries/GetTokensInfo.graphql +0 -18
  78. package/src/resources/generated_queries/GetUniV3Ticks.graphql +0 -22
  79. package/src/resources/generated_queries/ListFavoriteTokens.graphql +0 -59
  80. package/src/resources/generated_queries/PrimeBalance.graphql +0 -12
@@ -1,3 +0,0 @@
1
- query BackfillWalletState {
2
- backfillWalletState
3
- }
@@ -1,57 +0,0 @@
1
- query GetLatestPairs(
2
- $cursor: String
3
- $exchangeFilter: [String!]
4
- $limit: Int
5
- $minLiquidityFilter: Int
6
- $networkFilter: [Int!]
7
- ) {
8
- getLatestPairs(
9
- cursor: $cursor
10
- exchangeFilter: $exchangeFilter
11
- limit: $limit
12
- minLiquidityFilter: $minLiquidityFilter
13
- networkFilter: $networkFilter
14
- ) {
15
- cursor
16
- items {
17
- address
18
- exchangeHash
19
- id
20
- initialPriceUsd
21
- liquidAt
22
- liquidity
23
- liquidityToken
24
- networkId
25
- newToken
26
- nonLiquidityToken
27
- oldToken
28
- priceChange
29
- priceUsd
30
- token0 {
31
- address
32
- currentPoolAmount
33
- decimals
34
- id
35
- initialPoolAmount
36
- name
37
- networkId
38
- pairId
39
- poolVariation
40
- symbol
41
- }
42
- token1 {
43
- address
44
- currentPoolAmount
45
- decimals
46
- id
47
- initialPoolAmount
48
- name
49
- networkId
50
- pairId
51
- poolVariation
52
- symbol
53
- }
54
- transactionHash
55
- }
56
- }
57
- }
@@ -1,50 +0,0 @@
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
- }
@@ -1,3 +0,0 @@
1
- query GetTokenCount {
2
- getTokenCount
3
- }
@@ -1,18 +0,0 @@
1
- query GetTokenInfo($address: String!, $networkId: Int!) {
2
- getTokenInfo(address: $address, networkId: $networkId) {
3
- address
4
- circulatingSupply
5
- cmcId
6
- description
7
- id
8
- imageBannerUrl
9
- imageLargeUrl
10
- imageSmallUrl
11
- imageThumbUrl
12
- isScam
13
- name
14
- networkId
15
- symbol
16
- totalSupply
17
- }
18
- }
@@ -1,18 +0,0 @@
1
- query GetTokensInfo($input: [GetTokensInfoInput!]!) {
2
- getTokensInfo(input: $input) {
3
- address
4
- circulatingSupply
5
- cmcId
6
- description
7
- id
8
- imageBannerUrl
9
- imageLargeUrl
10
- imageSmallUrl
11
- imageThumbUrl
12
- isScam
13
- name
14
- networkId
15
- symbol
16
- totalSupply
17
- }
18
- }
@@ -1,22 +0,0 @@
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
- }
@@ -1,59 +0,0 @@
1
- query ListFavoriteTokens(
2
- $keys: [String!]!
3
- $networkFilter: [Int!]
4
- $resolution: String
5
- ) {
6
- listFavoriteTokens(
7
- keys: $keys
8
- networkFilter: $networkFilter
9
- resolution: $resolution
10
- ) {
11
- address
12
- createdAt
13
- decimals
14
- exchanges {
15
- address
16
- color
17
- exchangeVersion
18
- iconUrl
19
- id
20
- name
21
- networkId
22
- tradeUrl
23
- }
24
- id
25
- imageBannerUrl
26
- imageLargeUrl
27
- imageSmallUrl
28
- imageThumbUrl
29
- isScam
30
- lastTransaction
31
- liquidity
32
- marketCap
33
- name
34
- networkId
35
- price
36
- priceChange
37
- priceChange1
38
- priceChange4
39
- priceChange12
40
- priceChange24
41
- quoteToken
42
- resolution
43
- symbol
44
- topPairId
45
- txnCount1
46
- txnCount4
47
- txnCount12
48
- txnCount24
49
- uniqueBuys1
50
- uniqueBuys4
51
- uniqueBuys12
52
- uniqueBuys24
53
- uniqueSells1
54
- uniqueSells4
55
- uniqueSells12
56
- uniqueSells24
57
- volume
58
- }
59
- }
@@ -1,12 +0,0 @@
1
- query PrimeBalance($walletAddress: String!) {
2
- primeBalance(walletAddress: $walletAddress) {
3
- cursor
4
- items {
5
- balance
6
- firstHeldTimestamp
7
- shiftedBalance
8
- tokenId
9
- walletId
10
- }
11
- }
12
- }
@@ -1,3 +0,0 @@
1
- query BackfillWalletState {
2
- backfillWalletState
3
- }
@@ -1,57 +0,0 @@
1
- query GetLatestPairs(
2
- $cursor: String
3
- $exchangeFilter: [String!]
4
- $limit: Int
5
- $minLiquidityFilter: Int
6
- $networkFilter: [Int!]
7
- ) {
8
- getLatestPairs(
9
- cursor: $cursor
10
- exchangeFilter: $exchangeFilter
11
- limit: $limit
12
- minLiquidityFilter: $minLiquidityFilter
13
- networkFilter: $networkFilter
14
- ) {
15
- cursor
16
- items {
17
- address
18
- exchangeHash
19
- id
20
- initialPriceUsd
21
- liquidAt
22
- liquidity
23
- liquidityToken
24
- networkId
25
- newToken
26
- nonLiquidityToken
27
- oldToken
28
- priceChange
29
- priceUsd
30
- token0 {
31
- address
32
- currentPoolAmount
33
- decimals
34
- id
35
- initialPoolAmount
36
- name
37
- networkId
38
- pairId
39
- poolVariation
40
- symbol
41
- }
42
- token1 {
43
- address
44
- currentPoolAmount
45
- decimals
46
- id
47
- initialPoolAmount
48
- name
49
- networkId
50
- pairId
51
- poolVariation
52
- symbol
53
- }
54
- transactionHash
55
- }
56
- }
57
- }
@@ -1,50 +0,0 @@
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
- }
@@ -1,3 +0,0 @@
1
- query GetTokenCount {
2
- getTokenCount
3
- }
@@ -1,18 +0,0 @@
1
- query GetTokenInfo($address: String!, $networkId: Int!) {
2
- getTokenInfo(address: $address, networkId: $networkId) {
3
- address
4
- circulatingSupply
5
- cmcId
6
- description
7
- id
8
- imageBannerUrl
9
- imageLargeUrl
10
- imageSmallUrl
11
- imageThumbUrl
12
- isScam
13
- name
14
- networkId
15
- symbol
16
- totalSupply
17
- }
18
- }
@@ -1,18 +0,0 @@
1
- query GetTokensInfo($input: [GetTokensInfoInput!]!) {
2
- getTokensInfo(input: $input) {
3
- address
4
- circulatingSupply
5
- cmcId
6
- description
7
- id
8
- imageBannerUrl
9
- imageLargeUrl
10
- imageSmallUrl
11
- imageThumbUrl
12
- isScam
13
- name
14
- networkId
15
- symbol
16
- totalSupply
17
- }
18
- }
@@ -1,22 +0,0 @@
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
- }
@@ -1,59 +0,0 @@
1
- query ListFavoriteTokens(
2
- $keys: [String!]!
3
- $networkFilter: [Int!]
4
- $resolution: String
5
- ) {
6
- listFavoriteTokens(
7
- keys: $keys
8
- networkFilter: $networkFilter
9
- resolution: $resolution
10
- ) {
11
- address
12
- createdAt
13
- decimals
14
- exchanges {
15
- address
16
- color
17
- exchangeVersion
18
- iconUrl
19
- id
20
- name
21
- networkId
22
- tradeUrl
23
- }
24
- id
25
- imageBannerUrl
26
- imageLargeUrl
27
- imageSmallUrl
28
- imageThumbUrl
29
- isScam
30
- lastTransaction
31
- liquidity
32
- marketCap
33
- name
34
- networkId
35
- price
36
- priceChange
37
- priceChange1
38
- priceChange4
39
- priceChange12
40
- priceChange24
41
- quoteToken
42
- resolution
43
- symbol
44
- topPairId
45
- txnCount1
46
- txnCount4
47
- txnCount12
48
- txnCount24
49
- uniqueBuys1
50
- uniqueBuys4
51
- uniqueBuys12
52
- uniqueBuys24
53
- uniqueSells1
54
- uniqueSells4
55
- uniqueSells12
56
- uniqueSells24
57
- volume
58
- }
59
- }
@@ -1,12 +0,0 @@
1
- query PrimeBalance($walletAddress: String!) {
2
- primeBalance(walletAddress: $walletAddress) {
3
- cursor
4
- items {
5
- balance
6
- firstHeldTimestamp
7
- shiftedBalance
8
- tokenId
9
- walletId
10
- }
11
- }
12
- }