fluentum

package
v0.2.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeStats

type NodeStats struct {
	BlockHeight        int     `json:"block_height"`
	Transactions24h    float64 `json:"transactions_24h"`
	ActiveValidators   int     `json:"active_validators"`
	NetworkUtilization float64 `json:"network_utilization"`
	AverageBlockTime   float64 `json:"average_block_time"`
	NetworkSecurity    float64 `json:"network_security"`
}

NodeStats represents the structure of the node stats response.

func FetchNodeStats

func FetchNodeStats(apiKey string) (*NodeStats, error)

FetchNodeStats fetches stats for node 1 from the Fluentum API using the provided API key.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL