gitlab.com/jokerrs1/Sia@v1.3.2/node/api/client/consensus.go (about)

     1  package client
     2  
     3  import "github.com/NebulousLabs/Sia/node/api"
     4  
     5  // ConsensusGet requests the /consensus api resource
     6  func (c *Client) ConsensusGet() (cg api.ConsensusGET, err error) {
     7  	err = c.get("/consensus", &cg)
     8  	return
     9  }