Versions in this module Expand all Collapse all v0 v0.33.2 Apr 3, 2019 v0.33.1 Apr 2, 2019 v0.33.0 Mar 7, 2019 Changes in this version type ErrorResponse + Error string v0.32.0 Feb 15, 2019 Changes in this version + func ParseFloat64OrReturnBadRequest(w http.ResponseWriter, s string, defaultIfEmpty float64) (n float64, ok bool) + func ParseInt64OrReturnBadRequest(w http.ResponseWriter, s string) (n int64, ok bool) + func ParseUint64OrReturnBadRequest(w http.ResponseWriter, s string) (n uint64, ok bool) + func PostProcessResponse(w http.ResponseWriter, cdc *codec.Codec, response interface{}, indent bool) + func ReadRESTReq(w http.ResponseWriter, r *http.Request, cdc *codec.Codec, req interface{}) bool + func WriteErrorResponse(w http.ResponseWriter, status int, err string) + func WriteSimulationResponse(w http.ResponseWriter, cdc *codec.Codec, gas uint64) + type BaseReq struct + AccountNumber uint64 + ChainID string + Fees sdk.Coins + From string + Gas string + GasAdjustment string + GasPrices sdk.DecCoins + GenerateOnly bool + Memo string + Password string + Sequence uint64 + Simulate bool + func NewBaseReq(from, password, memo, chainID string, gas, gasAdjustment string, ...) BaseReq + func (br BaseReq) Sanitize() BaseReq + func (br BaseReq) ValidateBasic(w http.ResponseWriter) bool + type ErrorResponse struct + Code int + Message string + func NewErrorResponse(code int, msg string) ErrorResponse + type GasEstimateResponse struct + GasEstimate uint64 v0.32.0-rc0 Feb 15, 2019