Versions in this module Expand all Collapse all v6 v6.1.0 Jul 30, 2024 v6.0.0 Dec 25, 2023 Changes in this version + const DefaultLimit + const DefaultPage + const DeprecationURL + const MethodGet + const RestDepositor + const RestParamEvidenceHash + const RestParamsType + const RestProposalID + const RestProposalStatus + const RestVoter + const TxMaxHeightKey + const TxMinHeightKey + func BlockRequestHandlerFn(clientCtx client.Context) http.HandlerFunc + func CheckBadRequestError(w http.ResponseWriter, err error) bool + func CheckError(w http.ResponseWriter, status int, err error) bool + func CheckInternalServerError(w http.ResponseWriter, err error) bool + func CheckNotFoundError(w http.ResponseWriter, err error) bool + func ConvertTxToStdTx(codec *codec.LegacyAmino, tx signing.Tx) (legacytx.StdTx, error) + func CopyTx(tx signing.Tx, builder client.TxBuilder, ignoreSignatureError bool) error + func DecodeTxRequestHandlerFn(clientCtx client.Context) http.HandlerFunc + func GetChainHeight(clientCtx client.Context) (int64, error) + func LatestBlockRequestHandlerFn(clientCtx client.Context) http.HandlerFunc + func LatestValidatorSetRequestHandlerFn(clientCtx client.Context) http.HandlerFunc + func NodeInfoRequestHandlerFn(clientCtx client.Context) http.HandlerFunc + func NodeSyncingRequestHandlerFn(clientCtx client.Context) http.HandlerFunc + func ParseHTTPArgs(r *http.Request) (tags []string, page, limit int, err error) + func ParseHTTPArgsWithLimit(r *http.Request, defaultLimit int) (tags []string, page, limit int, err error) + func ParseQueryHeightOrReturnBadRequest(w http.ResponseWriter, clientCtx client.Context, r *http.Request) (client.Context, bool) + func ParseUint64OrReturnBadRequest(w http.ResponseWriter, s string) (n uint64, ok bool) + func PostProcessResponse(w http.ResponseWriter, ctx client.Context, resp interface{}) + func PostProcessResponseBare(w http.ResponseWriter, ctx client.Context, body interface{}) + func QueryAccountRequestHandlerFn(clientCtx client.Context) http.HandlerFunc + func QueryBalancesRequestHandlerFn(clientCtx client.Context) http.HandlerFunc + func QueryDepositByTxQuery(clientCtx client.Context, params govv1beta1.QueryDepositParams) ([]byte, error) + func QueryDepositsByTxQuery(clientCtx client.Context, params govv1beta1.QueryProposalParams) ([]byte, error) + func QueryGenesisTxs(clientCtx client.Context, w http.ResponseWriter) + func QueryTxRequestHandlerFn(clientCtx client.Context) http.HandlerFunc + func QueryTxsRequestHandlerFn(clientCtx client.Context) http.HandlerFunc + func QueryVoteByTxQuery(clientCtx client.Context, params govv1beta1.QueryVoteParams) ([]byte, error) + func QueryVotesByTxQuery(clientCtx client.Context, params govv1beta1.QueryProposalVotesParams) ([]byte, error) + func RegisterAuthRESTRoutes(clientCtx client.Context, rtr *mux.Router) + func RegisterBankRESTRoutes(clientCtx client.Context, rtr *mux.Router) + func RegisterDistributeRESTRoutes(clientCtx client.Context, rtr *mux.Router) + func RegisterEvidenceRESTRoutes(clientCtx client.Context, rtr *mux.Router) + func RegisterGovRESTRoutes(clientCtx client.Context, rtr *mux.Router) + func RegisterMintRESTRoutes(clientCtx client.Context, rtr *mux.Router) + func RegisterRPCRoutes(clientCtx client.Context, r *mux.Router) + func RegisterSlashingRESTRoutes(clientCtx client.Context, rtr *mux.Router) + func RegisterStakingRESTRoutes(clientCtx client.Context, rtr *mux.Router) + func RegisterTxRESTRoutes(clientCtx client.Context, rtr *mux.Router) + func RegisterUpgradeRESTRoutes(clientCtx client.Context, rtr *mux.Router) + func ValidatorSetRequestHandlerFn(clientCtx client.Context) http.HandlerFunc + func WithHTTPDeprecationHeaders(r *mux.Router) *mux.Router + func WriteErrorResponse(w http.ResponseWriter, status int, err string) + type DecodeReq struct + Tx string + type DecodeResp legacytx.StdTx + type ErrorResponse struct + Code int + Error string + func NewErrorResponse(code int, err string) ErrorResponse + type GasEstimateResponse struct + GasEstimate uint64 + type NodeInfoResponse struct + ApplicationVersion version.Info + type ResponseWithHeight struct + Height int64 + Result json.RawMessage + func NewResponseWithHeight(height int64, result json.RawMessage) ResponseWithHeight + type ResultValidatorsOutput struct + BlockHeight int64 + Total uint64 + Validators []ValidatorOutput + func GetValidators(ctx context.Context, clientCtx client.Context, height *int64, page, limit *int) (ResultValidatorsOutput, error) + func (rvo ResultValidatorsOutput) String() string + type SyncingResponse struct + Syncing bool + type ValidatorDistInfo struct + OperatorAddress sdk.AccAddress + SelfBondRewards sdk.DecCoins + ValidatorCommission types.ValidatorAccumulatedCommission + func NewValidatorDistInfo(operatorAddr sdk.AccAddress, rewards sdk.DecCoins, ...) ValidatorDistInfo + type ValidatorOutput struct + Address sdk.ConsAddress + ProposerPriority int64 + PubKey cryptotypes.PubKey + VotingPower int64 v6.0.0-rc0 Dec 6, 2023 Other modules containing this package github.com/functionx/fx-core/v4 github.com/functionx/fx-core/v5 github.com/functionx/fx-core/v7