Skip to content
BLOBPEDIAby Unity Nodes
Documentation/rpc/JSON-RPC methodView on rpc
rpc/JSON-RPC method

p2p.BandwidthStats

**BandwidthStats returns a Stats struct with bandwidth metrics for all data sent/received by the local peer, regardless of protocol or remote peer IDs. **

Auth level: admin

Params:

[]

Result:

{"name":"metrics.Stats","description":"metrics.Stats","summary":"","schema":{"examples":[{"TotalIn":42,"TotalOut":42,"RateIn":42,"RateOut":42}],"additionalProperties":false,"properties":{"RateIn":{"type":"number"},"RateOut":{"type":"number"},"TotalIn":{"type":"integer"},"TotalOut":{"type":"integer"}},"type":["object"]},"required":true,"deprecated":false}