We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f51c3f3 commit 2e2f3a8Copy full SHA for 2e2f3a8
1 file changed
services/api/main.js
@@ -10,6 +10,14 @@ export const fetchHead = async () => {
10
}
11
12
13
+export const fetchConstants = async () => {
14
+ try {
15
+ return await $fetch(`${useServerURL()}/constants`)
16
+ } catch (error) {
17
+ console.error(error)
18
+ }
19
+}
20
+
21
export const fetchMainnetConstants = async () => {
22
try {
23
return await $fetch(`https://api.celenium.io/v1/constants`)
0 commit comments