rest

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDelegate

func RegisterDelegate(r *mux.Router) error

RegisterDelegate is a mux.Router handler that exposes POST method access on route /tx/stake/delegate to create a transaction for delegate to a candidaate/validator

func RegisterQueryCandidate

func RegisterQueryCandidate(r *mux.Router) error

RegisterQueryCandidate is a mux.Router handler that exposes GET method access on route /query/stake/candidate/{pubkey} to query a candidate

func RegisterQueryCandidates

func RegisterQueryCandidates(r *mux.Router) error

RegisterQueryCandidates is a mux.Router handler that exposes GET method access on route /query/stake/candidate to query the group of all candidates

func RegisterQueryDelegatorBond

func RegisterQueryDelegatorBond(r *mux.Router) error

RegisterQueryDelegatorBond is a mux.Router handler that exposes GET method access on route /query/stake/candidate/{pubkey} to query a candidate

func RegisterQueryDelegatorCandidates

func RegisterQueryDelegatorCandidates(r *mux.Router) error

RegisterQueryDelegatorCandidates is a mux.Router handler that exposes GET method access on route /query/stake/candidate to query the group of all candidates

func RegisterUnbond

func RegisterUnbond(r *mux.Router) error

RegisterUnbond is a mux.Router handler that exposes POST method access on route /tx/stake/unbond to create a transaction for unbonding delegated coins

Types

This section is empty.

Jump to

Keyboard shortcuts

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