Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DelegatedInfo ¶ added in v1.1.45
DelegatedInfo is the endpoint that will return the delegated list
func DirectStakedInfo ¶ added in v1.1.45
DirectStakedInfo is the endpoint that will return the directed staked info list
func EconomicsMetrics ¶ added in v1.1.3
EconomicsMetrics is the endpoint that will return the economics data such as total supply
func GetEnableEpochs ¶ added in v1.2.0
GetEnableEpochs returns metrics related to the activation epochs of the network
func GetNetworkConfig ¶ added in v1.0.125
GetNetworkConfig returns metrics related to the network configuration (shard independent)
func GetNetworkStatus ¶ added in v1.0.125
GetNetworkStatus returns metrics related to the network status (shard specific)
Types ¶
type FacadeHandler ¶
type FacadeHandler interface { GetTotalStakedValue() (*api.StakeValues, error) GetDirectStakedList() ([]*api.DirectStakedValue, error) GetDelegatorsList() ([]*api.Delegator, error) StatusMetrics() external.StatusMetricsHandler GetAllIssuedESDTs(tokenType string) ([]string, error) IsInterfaceNil() bool }
FacadeHandler interface defines methods that can be used by the gin webserver
Click to show internal directories.
Click to hide internal directories.