# P2P

NewNetApi creates net module for client

func NewNetApi(c *rpc.Client) *NetApi

# OnlineRepresentatives

OnlineRepresentatives returns representatives that online at this moment

func (q *NetApi) OnlineRepresentatives() ([]types.Address, error)