MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / creditBalance

Method creditBalance

packages/cloud/src/CloudAPI.ts:138–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136 }
137
138 async creditBalance(): Promise<number> {
139 return this.request("/api/extension/credit-balance", {
140 method: "GET",
141 parseResponse: (data) => {
142 const result = z.object({ balance: z.number() }).parse(data)
143 return result.balance
144 },
145 })
146 }
147}

Callers 1

Calls 2

requestMethod · 0.95
parseMethod · 0.80

Tested by

no test coverage detected