Versions in this module Expand all Collapse all v0 v0.8.0 Dec 2, 2025 v0.7.2 Dec 2, 2025 Changes in this version + type ApiServer struct + func NewApiServer(opts ...Option) (*ApiServer, error) + func (s *ApiServer) GetCirculatingSupply() (float64, error) + func (s *ApiServer) Run() error + func (s *ApiServer) Shutdown() error + type Option func(*ApiServer) + func WithEstimatedSupply(supplyMap map[string]float64) Option + func WithListenAddr(addr string) Option + func WithLogger(logger *slog.Logger) Option + func WithRpcClient(client RpcClient) Option + type RpcClient interface + GetTotalSupply func(ctx context.Context) (float64, error) + type SolanaClient struct + func NewSolanaClient() *SolanaClient + func (c *SolanaClient) GetTotalSupply(ctx context.Context) (float64, error)