Documentation ¶
Index ¶
- func ApplyRoutes(r *gin.RouterGroup)
- func GetAddress(c *gin.Context)
- func GetAddresses(c *gin.Context)
- func GetAggregatedRewards(c *gin.Context)
- func GetDelegations(c *gin.Context)
- func GetRewards(c *gin.Context)
- func GetRewardsStatistics(c *gin.Context)
- func GetSlashes(c *gin.Context)
- func GetTopAddresses(c *gin.Context)
- func GetTransactions(c *gin.Context)
- type AggregatedRewardsQueryRequest
- type FilterQueryRequest
- type GetAddressRequest
- type GetAddressesRequest
- type StatisticsQueryRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyRoutes ¶
func ApplyRoutes(r *gin.RouterGroup)
ApplyRoutes applies router to the gin Engine
func GetAggregatedRewards ¶
func GetRewardsStatistics ¶
Get rewards statistics by noah address
func GetTopAddresses ¶ added in v0.2.6
Get list of addresses ranked by balance
func GetTransactions ¶
Get list of transactions by noah address
Types ¶
type FilterQueryRequest ¶
type FilterQueryRequest struct { StartBlock *string `form:"startblock" binding:"omitempty,numeric"` EndBlock *string `form:"endblock" binding:"omitempty,numeric"` Page *string `form:"page" binding:"omitempty,numeric"` }
TODO: replace string to int
type GetAddressRequest ¶
type GetAddressRequest struct {
Address string `uri:"address" binding:"noahAddress"`
}
type GetAddressesRequest ¶
type GetAddressesRequest struct {
Addresses []string `form:"addresses[]" binding:"required,noahAddress,max=50"`
}
type StatisticsQueryRequest ¶
Click to show internal directories.
Click to hide internal directories.