@@ -15,6 +15,9 @@ type ValidMethods<T extends Record<string, unknown>> = Exclude<
15
15
> ;
16
16
17
17
const pathToRequestMap = {
18
+ "/rss/{path}" : {
19
+ get : "getRSSActivity" ,
20
+ } ,
18
21
"/decentralized/tx/{id}" : {
19
22
get : "getActivity" ,
20
23
} ,
@@ -24,14 +27,26 @@ const pathToRequestMap = {
24
27
"/decentralized/accounts" : {
25
28
post : "getActivitiesByAccounts" ,
26
29
} ,
27
- "/rss/{path}" : {
28
- get : "getRSSActivity" ,
29
- } ,
30
30
"/decentralized/network/{network}" : {
31
- get : "getNetworkActivity " ,
31
+ get : "getNetworkActivities " ,
32
32
} ,
33
33
"/decentralized/platform/{platform}" : {
34
- get : "getPlatformActivity" ,
34
+ get : "getPlatformActivities" ,
35
+ } ,
36
+ "/federated/tx/{id}" : {
37
+ get : "getFederatedActivity" ,
38
+ } ,
39
+ "/federated/{account}" : {
40
+ get : "getFederatedActivitiesByAccount" ,
41
+ } ,
42
+ "/federated/accounts" : {
43
+ post : "getFederatedActivitiesByAccounts" ,
44
+ } ,
45
+ "/federated/network/{network}" : {
46
+ get : "getFederatedNetworkActivities" ,
47
+ } ,
48
+ "/federated/platform/{platform}" : {
49
+ get : "getFederatedPlatformActivities" ,
35
50
} ,
36
51
"/nta/bridgings/transactions" : {
37
52
get : "getBridgingTransactions" ,
@@ -114,21 +129,21 @@ const pathToRequestMap = {
114
129
"/nta/epochs/apy" : {
115
130
get : "getAverageEpochsApy" ,
116
131
} ,
117
- "/nta/networks" : {
118
- get : "getCompatibleNetworks" ,
119
- } ,
120
- "/nta/networks/{network_name}/list_workers" : {
121
- get : "getAvailableWorkers" ,
122
- } ,
123
- "/nta/networks/{network_name}/workers/{worker_name}" : {
124
- get : "getWorkerConfig" ,
125
- } ,
126
132
"/nta/networks/assets" : {
127
133
get : "getNetworkAssets" ,
128
134
} ,
135
+ "/nta/networks/config" : {
136
+ get : "getNetworkConfig" ,
137
+ } ,
129
138
"/nta/dsl/total_requests" : {
130
139
get : "getTotalRequests" ,
131
140
} ,
141
+ "/nta/token/supply" : {
142
+ get : "getTokenSupply" ,
143
+ } ,
144
+ "/nta/token/tvl" : {
145
+ get : "getTokenTvl" ,
146
+ } ,
132
147
} satisfies {
133
148
[ K in keyof paths ] : {
134
149
[ M in ValidMethods < paths [ K ] > ] :
0 commit comments