MCPcopy Create free account
hub / github.com/BarcodeAPI/server / spend

Method spend

src/main/java/org/barcodeapi/server/core/Tokens.java:181–213  ·  view source on GitHub ↗

Spend a number of tokens. @param cost number of tokens to spend @return token spend successful

(double cost)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

onRequestMethod · 0.80

Calls 1

isEnforcedMethod · 0.95

Tested by

no test coverage detected