// GetLedgerStatus calls the /ledger endpoint of the API. All arguments are
// optional.
GetLedgerStatus calls the /ledger endpoint of the API. All arguments are
optional.
// GetLedgerStatus calls the / ledger endpoint of the API . All arguments are // optional .
func (c *Client) LedgerStatus() (*LedgerStatusResponse, error) {
	var res LedgerStatusResponse
	if err := c.RequestJSON(RouteLedger, ReqGet, nil, &res); err != nil {
		return nil, err
	}
	return &res, nil
}
func ( c * Client ) LedgerStatus ( ) ( * LedgerStatusResponse , error ) { var res LedgerStatusResponse if err := c . RequestJSON ( RouteLedger , ReqGet , nil , & res ) ; err != nil { return nil , err } return & res , nil }
GetLedgerStatus calls the /ledger endpoint of the API.
GetLedgerStatus calls the / ledger endpoint of the API .