MCPcopy Create free account
hub / github.com/DOSNetwork/core / actionWalletBalance

Function actionWalletBalance

main.go:317–324  ·  view source on GitHub ↗
(c *cli.Context)

Source from the content-addressed store, hash-verified

315}
316
317func actionWalletBalance(c *cli.Context) error {
318 r, err := makeRequest("/balance")
319 if err == nil {
320 fmt.Println("show balance: ", string(r))
321 return nil
322 }
323 return err
324}
325
326func actionEnableGuardian(c *cli.Context) error {
327 _, err := makeRequest("/enableGuardian")

Callers

nothing calls this directly

Calls 1

makeRequestFunction · 0.85

Tested by

no test coverage detected