Versions in this module Expand all Collapse all v1 v1.1.0 Jun 19, 2022 Changes in this version + func NewService(parameters Parameters, log logging.Logger, chainManager chains.Manager, ...) (*common.HTTPHandler, error) + type Client interface + GetBlockchainID func(context.Context, string) (ids.ID, error) + GetNetworkID func(context.Context) (uint32, error) + GetNetworkName func(context.Context) (string, error) + GetNodeID func(context.Context) (string, error) + GetNodeIP func(context.Context) (string, error) + GetNodeVersion func(context.Context) (*GetNodeVersionReply, error) + GetTxFee func(context.Context) (*GetTxFeeResponse, error) + IsBootstrapped func(context.Context, string) (bool, error) + Peers func(context.Context) ([]network.PeerInfo, error) + Uptime func(context.Context) (*UptimeResponse, error) + func NewClient(uri string) Client + type GetBlockchainIDArgs struct + Alias string + type GetBlockchainIDReply struct + BlockchainID ids.ID + type GetNetworkIDReply struct + NetworkID json.Uint32 + type GetNetworkNameReply struct + NetworkName string + type GetNodeIDReply struct + NodeID string + type GetNodeIPReply struct + IP string + type GetNodeVersionReply struct + DatabaseVersion string + GitCommit string + VMVersions map[string]string + Version string + type GetTxFeeResponse struct + CreateAssetTxFee json.Uint64 + CreateBlockchainTxFee json.Uint64 + CreateSubnetTxFee json.Uint64 + CreationTxFee json.Uint64 + TxFee json.Uint64 + type Info struct + func (service *Info) GetBlockchainID(_ *http.Request, args *GetBlockchainIDArgs, reply *GetBlockchainIDReply) error + func (service *Info) GetNetworkID(_ *http.Request, _ *struct{}, reply *GetNetworkIDReply) error + func (service *Info) GetNetworkName(_ *http.Request, _ *struct{}, reply *GetNetworkNameReply) error + func (service *Info) GetNodeID(_ *http.Request, _ *struct{}, reply *GetNodeIDReply) error + func (service *Info) GetNodeIP(_ *http.Request, _ *struct{}, reply *GetNodeIPReply) error + func (service *Info) GetNodeVersion(_ *http.Request, _ *struct{}, reply *GetNodeVersionReply) error + func (service *Info) GetTxFee(_ *http.Request, args *struct{}, reply *GetTxFeeResponse) error + func (service *Info) IsBootstrapped(_ *http.Request, args *IsBootstrappedArgs, reply *IsBootstrappedResponse) error + func (service *Info) Peers(_ *http.Request, args *PeersArgs, reply *PeersReply) error + func (service *Info) Uptime(_ *http.Request, _ *struct{}, reply *UptimeResponse) error + type IsBootstrappedArgs struct + Chain string + type IsBootstrappedResponse struct + IsBootstrapped bool + type Parameters struct + CreateAssetTxFee uint64 + CreateBlockchainTxFee uint64 + CreateSubnetTxFee uint64 + NetworkID uint32 + NodeID ids.ShortID + TxFee uint64 + Version version.Application + type PeersArgs struct + NodeIDs []string + type PeersReply struct + NumPeers json.Uint64 + Peers []network.PeerInfo + type UptimeResponse struct + RewardingStakePercentage json.Float64 + WeightedAveragePercentage json.Float64