MCPcopy Create free account
hub / github.com/CPChain/chain / nextID

Method nextID

api/rpc/client.go:249–252  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

247}
248
249func (c *Client) nextID() json.RawMessage {
250 id := atomic.AddUint32(&c.idCounter, 1)
251 return []byte(strconv.FormatUint(uint64(id), 10))
252}
253
254// SupportedModules calls the rpc_modules method, retrieving the list of
255// APIs that are available on the server.

Callers 1

newMessageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected