func (a *Client) GetTreasurySeigniorageProceeds(params *GetTreasurySeigniorageProceedsParams) (*GetTreasurySeigniorageProceedsOK, error) {
	if params == nil {
		params = NewGetTreasurySeigniorageProceedsParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetTreasurySeigniorageProceeds",
		Method:             "GET",
		PathPattern:        "/treasury/seigniorage_proceeds",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetTreasurySeigniorageProceedsReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetTreasurySeigniorageProceedsOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetTreasurySeigniorageProceeds: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
/*
GetTreasurySeigniorageProceeds retrieves the size of the seigniorage pool
package treasury
import (
	"fmt"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
)
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService {
	return &Client{transport: transport, formats: formats}
}
type Client struct {
	transport runtime.ClientTransport
	formats   strfmt.Registry
}
type ClientService interface {
	GetTreasuryIndicators(params *GetTreasuryIndicatorsParams) (*GetTreasuryIndicatorsOK, error)
	GetTreasuryParameters(params *GetTreasuryParametersParams) (*GetTreasuryParametersOK, error)
	GetTreasuryRewardWeight(params *GetTreasuryRewardWeightParams) (*GetTreasuryRewardWeightOK, error)
	GetTreasurySeigniorageProceeds(params *GetTreasurySeigniorageProceedsParams) (*GetTreasurySeigniorageProceedsOK, error)
	GetTreasuryTaxCapDenom(params *GetTreasuryTaxCapDenomParams) (*GetTreasuryTaxCapDenomOK, error)
	GetTreasuryTaxProceeds(params *GetTreasuryTaxProceedsParams) (*GetTreasuryTaxProceedsOK, error)
	GetTreasuryTaxRate(params *GetTreasuryTaxRateParams) (*GetTreasuryTaxRateOK, error)
	SetTransport(transport runtime.ClientTransport)
}
func (a *Client) GetTreasuryIndicators(params *GetTreasuryIndicatorsParams) (*GetTreasuryIndicatorsOK, error) {
	if params == nil {
		params = NewGetTreasuryIndicatorsParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetTreasuryIndicators",
		Method:             "GET",
		PathPattern:        "/treasury/indicators",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetTreasuryIndicatorsReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetTreasuryIndicatorsOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetTreasuryIndicators: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetTreasuryParameters(params *GetTreasuryParametersParams) (*GetTreasuryParametersOK, error) {
	if params == nil {
		params = NewGetTreasuryParametersParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetTreasuryParameters",
		Method:             "GET",
		PathPattern:        "/treasury/parameters",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetTreasuryParametersReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetTreasuryParametersOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetTreasuryParameters: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetTreasuryRewardWeight(params *GetTreasuryRewardWeightParams) (*GetTreasuryRewardWeightOK, error) {
	if params == nil {
		params = NewGetTreasuryRewardWeightParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetTreasuryRewardWeight",
		Method:             "GET",
		PathPattern:        "/treasury/reward_weight",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetTreasuryRewardWeightReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetTreasuryRewardWeightOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetTreasuryRewardWeight: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}