Categorygithub.com/Gravity-Tech/gravity-node-api
modulepackage
0.0.0-20210410105514-39d2334b248e
Repository: https://github.com/gravity-tech/gravity-node-api.git
Documentation: pkg.go.dev

# README

Gravity Node API

Overview

Current http server implementation provides two distinct routes for mockup data of Gravity Nebula and Gravity Node models.

Params

ParameterDefaultUsage
--port8090Port for server to run on
> go build -o mockup-server
> ./mockup-server --port 8094

Routes

GetCommonStats        = "/"
GetNodeRewards        = ""
GetNodeActionsHistory = ""
RouteMethodResponse Description
/nebulas/allGETNebulas list
/nodes/allGETNodes list
/common/statsGETCommon gravity node stats
/nodes/rewards/allGETNode rewards
/nodes/actions/historyGETNodes actions history

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author