@codex-data/sdk 1.0.1 → 1.0.3
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.
- package/README.md +6 -0
- package/dist/resources/generated_queries/BackfillWalletState.graphql +3 -0
- package/dist/resources/generated_queries/GetTokenEvents.graphql +2 -0
- package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +2 -0
- package/dist/resources/generated_queries/Holders.graphql +1 -0
- package/dist/resources/generated_queries/PairMetadata.graphql +126 -0
- package/dist/resources/generated_queries/Top10HoldersPercent.graphql +3 -0
- package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +2 -0
- package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +126 -0
- package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +2 -0
- package/dist/resources/graphql.d.ts +264 -2
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +14 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +724 -228
- package/dist/resources/graphql.ts +268 -2
- package/dist/resources/schema.graphql +533 -6
- package/dist/sdk/Query.d.ts +3 -1
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +2 -0
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.js +3 -3
- package/dist/sdk/generated/gql.d.ts +28 -14
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +9 -7
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +561 -2
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +25 -11
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/BackfillWalletState.graphql +3 -0
- package/src/resources/generated_queries/GetTokenEvents.graphql +2 -0
- package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +2 -0
- package/src/resources/generated_queries/Holders.graphql +1 -0
- package/src/resources/generated_queries/PairMetadata.graphql +126 -0
- package/src/resources/generated_queries/Top10HoldersPercent.graphql +3 -0
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +2 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +126 -0
- package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +2 -0
- package/src/resources/graphql.schema.json +724 -228
- package/src/resources/graphql.ts +268 -2
- package/src/resources/schema.graphql +533 -6
- package/src/sdk/Query.ts +8 -0
- package/src/sdk/Subscribe.ts +3 -3
- package/src/sdk/generated/gql.ts +24 -14
- package/src/sdk/generated/graphql.ts +296 -16
package/package.json
CHANGED
|
@@ -8,6 +8,132 @@ query PairMetadata(
|
|
|
8
8
|
quoteToken: $quoteToken
|
|
9
9
|
statsType: $statsType
|
|
10
10
|
) {
|
|
11
|
+
enhancedToken0 {
|
|
12
|
+
address
|
|
13
|
+
cmcId
|
|
14
|
+
createBlockNumber
|
|
15
|
+
createTransactionHash
|
|
16
|
+
createdAt
|
|
17
|
+
creatorAddress
|
|
18
|
+
decimals
|
|
19
|
+
exchanges {
|
|
20
|
+
address
|
|
21
|
+
color
|
|
22
|
+
exchangeVersion
|
|
23
|
+
iconUrl
|
|
24
|
+
id
|
|
25
|
+
name
|
|
26
|
+
networkId
|
|
27
|
+
tradeUrl
|
|
28
|
+
}
|
|
29
|
+
freezable
|
|
30
|
+
id
|
|
31
|
+
info {
|
|
32
|
+
address
|
|
33
|
+
circulatingSupply
|
|
34
|
+
cmcId
|
|
35
|
+
description
|
|
36
|
+
id
|
|
37
|
+
imageBannerUrl
|
|
38
|
+
imageLargeUrl
|
|
39
|
+
imageSmallUrl
|
|
40
|
+
imageThumbUrl
|
|
41
|
+
isScam
|
|
42
|
+
name
|
|
43
|
+
networkId
|
|
44
|
+
symbol
|
|
45
|
+
totalSupply
|
|
46
|
+
}
|
|
47
|
+
isScam
|
|
48
|
+
mintable
|
|
49
|
+
name
|
|
50
|
+
networkId
|
|
51
|
+
socialLinks {
|
|
52
|
+
bitcointalk
|
|
53
|
+
blog
|
|
54
|
+
coingecko
|
|
55
|
+
coinmarketcap
|
|
56
|
+
discord
|
|
57
|
+
email
|
|
58
|
+
facebook
|
|
59
|
+
github
|
|
60
|
+
instagram
|
|
61
|
+
linkedin
|
|
62
|
+
reddit
|
|
63
|
+
slack
|
|
64
|
+
telegram
|
|
65
|
+
twitch
|
|
66
|
+
twitter
|
|
67
|
+
website
|
|
68
|
+
wechat
|
|
69
|
+
whitepaper
|
|
70
|
+
youtube
|
|
71
|
+
}
|
|
72
|
+
symbol
|
|
73
|
+
}
|
|
74
|
+
enhancedToken1 {
|
|
75
|
+
address
|
|
76
|
+
cmcId
|
|
77
|
+
createBlockNumber
|
|
78
|
+
createTransactionHash
|
|
79
|
+
createdAt
|
|
80
|
+
creatorAddress
|
|
81
|
+
decimals
|
|
82
|
+
exchanges {
|
|
83
|
+
address
|
|
84
|
+
color
|
|
85
|
+
exchangeVersion
|
|
86
|
+
iconUrl
|
|
87
|
+
id
|
|
88
|
+
name
|
|
89
|
+
networkId
|
|
90
|
+
tradeUrl
|
|
91
|
+
}
|
|
92
|
+
freezable
|
|
93
|
+
id
|
|
94
|
+
info {
|
|
95
|
+
address
|
|
96
|
+
circulatingSupply
|
|
97
|
+
cmcId
|
|
98
|
+
description
|
|
99
|
+
id
|
|
100
|
+
imageBannerUrl
|
|
101
|
+
imageLargeUrl
|
|
102
|
+
imageSmallUrl
|
|
103
|
+
imageThumbUrl
|
|
104
|
+
isScam
|
|
105
|
+
name
|
|
106
|
+
networkId
|
|
107
|
+
symbol
|
|
108
|
+
totalSupply
|
|
109
|
+
}
|
|
110
|
+
isScam
|
|
111
|
+
mintable
|
|
112
|
+
name
|
|
113
|
+
networkId
|
|
114
|
+
socialLinks {
|
|
115
|
+
bitcointalk
|
|
116
|
+
blog
|
|
117
|
+
coingecko
|
|
118
|
+
coinmarketcap
|
|
119
|
+
discord
|
|
120
|
+
email
|
|
121
|
+
facebook
|
|
122
|
+
github
|
|
123
|
+
instagram
|
|
124
|
+
linkedin
|
|
125
|
+
reddit
|
|
126
|
+
slack
|
|
127
|
+
telegram
|
|
128
|
+
twitch
|
|
129
|
+
twitter
|
|
130
|
+
website
|
|
131
|
+
wechat
|
|
132
|
+
whitepaper
|
|
133
|
+
youtube
|
|
134
|
+
}
|
|
135
|
+
symbol
|
|
136
|
+
}
|
|
11
137
|
exchangeId
|
|
12
138
|
fee
|
|
13
139
|
highPrice1
|
|
@@ -8,6 +8,132 @@ subscription OnPairMetadataUpdated(
|
|
|
8
8
|
quoteToken: $quoteToken
|
|
9
9
|
statsType: $statsType
|
|
10
10
|
) {
|
|
11
|
+
enhancedToken0 {
|
|
12
|
+
address
|
|
13
|
+
cmcId
|
|
14
|
+
createBlockNumber
|
|
15
|
+
createTransactionHash
|
|
16
|
+
createdAt
|
|
17
|
+
creatorAddress
|
|
18
|
+
decimals
|
|
19
|
+
exchanges {
|
|
20
|
+
address
|
|
21
|
+
color
|
|
22
|
+
exchangeVersion
|
|
23
|
+
iconUrl
|
|
24
|
+
id
|
|
25
|
+
name
|
|
26
|
+
networkId
|
|
27
|
+
tradeUrl
|
|
28
|
+
}
|
|
29
|
+
freezable
|
|
30
|
+
id
|
|
31
|
+
info {
|
|
32
|
+
address
|
|
33
|
+
circulatingSupply
|
|
34
|
+
cmcId
|
|
35
|
+
description
|
|
36
|
+
id
|
|
37
|
+
imageBannerUrl
|
|
38
|
+
imageLargeUrl
|
|
39
|
+
imageSmallUrl
|
|
40
|
+
imageThumbUrl
|
|
41
|
+
isScam
|
|
42
|
+
name
|
|
43
|
+
networkId
|
|
44
|
+
symbol
|
|
45
|
+
totalSupply
|
|
46
|
+
}
|
|
47
|
+
isScam
|
|
48
|
+
mintable
|
|
49
|
+
name
|
|
50
|
+
networkId
|
|
51
|
+
socialLinks {
|
|
52
|
+
bitcointalk
|
|
53
|
+
blog
|
|
54
|
+
coingecko
|
|
55
|
+
coinmarketcap
|
|
56
|
+
discord
|
|
57
|
+
email
|
|
58
|
+
facebook
|
|
59
|
+
github
|
|
60
|
+
instagram
|
|
61
|
+
linkedin
|
|
62
|
+
reddit
|
|
63
|
+
slack
|
|
64
|
+
telegram
|
|
65
|
+
twitch
|
|
66
|
+
twitter
|
|
67
|
+
website
|
|
68
|
+
wechat
|
|
69
|
+
whitepaper
|
|
70
|
+
youtube
|
|
71
|
+
}
|
|
72
|
+
symbol
|
|
73
|
+
}
|
|
74
|
+
enhancedToken1 {
|
|
75
|
+
address
|
|
76
|
+
cmcId
|
|
77
|
+
createBlockNumber
|
|
78
|
+
createTransactionHash
|
|
79
|
+
createdAt
|
|
80
|
+
creatorAddress
|
|
81
|
+
decimals
|
|
82
|
+
exchanges {
|
|
83
|
+
address
|
|
84
|
+
color
|
|
85
|
+
exchangeVersion
|
|
86
|
+
iconUrl
|
|
87
|
+
id
|
|
88
|
+
name
|
|
89
|
+
networkId
|
|
90
|
+
tradeUrl
|
|
91
|
+
}
|
|
92
|
+
freezable
|
|
93
|
+
id
|
|
94
|
+
info {
|
|
95
|
+
address
|
|
96
|
+
circulatingSupply
|
|
97
|
+
cmcId
|
|
98
|
+
description
|
|
99
|
+
id
|
|
100
|
+
imageBannerUrl
|
|
101
|
+
imageLargeUrl
|
|
102
|
+
imageSmallUrl
|
|
103
|
+
imageThumbUrl
|
|
104
|
+
isScam
|
|
105
|
+
name
|
|
106
|
+
networkId
|
|
107
|
+
symbol
|
|
108
|
+
totalSupply
|
|
109
|
+
}
|
|
110
|
+
isScam
|
|
111
|
+
mintable
|
|
112
|
+
name
|
|
113
|
+
networkId
|
|
114
|
+
socialLinks {
|
|
115
|
+
bitcointalk
|
|
116
|
+
blog
|
|
117
|
+
coingecko
|
|
118
|
+
coinmarketcap
|
|
119
|
+
discord
|
|
120
|
+
email
|
|
121
|
+
facebook
|
|
122
|
+
github
|
|
123
|
+
instagram
|
|
124
|
+
linkedin
|
|
125
|
+
reddit
|
|
126
|
+
slack
|
|
127
|
+
telegram
|
|
128
|
+
twitch
|
|
129
|
+
twitter
|
|
130
|
+
website
|
|
131
|
+
wechat
|
|
132
|
+
whitepaper
|
|
133
|
+
youtube
|
|
134
|
+
}
|
|
135
|
+
symbol
|
|
136
|
+
}
|
|
11
137
|
exchangeId
|
|
12
138
|
fee
|
|
13
139
|
highPrice1
|
|
@@ -74,9 +74,11 @@ subscription OnTokenEventsCreated($input: OnTokenEventsCreatedInput!) {
|
|
|
74
74
|
networkId
|
|
75
75
|
quoteToken
|
|
76
76
|
timestamp
|
|
77
|
+
token0Address
|
|
77
78
|
token0PoolValueUsd
|
|
78
79
|
token0SwapValueUsd
|
|
79
80
|
token0ValueBase
|
|
81
|
+
token1Address
|
|
80
82
|
token1PoolValueUsd
|
|
81
83
|
token1SwapValueUsd
|
|
82
84
|
token1ValueBase
|