Versions in this module Expand all Collapse all v0 v0.1.2 Sep 11, 2019 Changes in this version type SignBody + Password string v0.1.1 Aug 30, 2019 v0.1.0 Jun 25, 2019 Changes in this version + var TagAction = "action" + var TagCategory = "category" + var TagDelegator = "delegator" + var TagDstValidator = "destination-validator" + var TagSender = "sender" + var TagSrcValidator = "source-validator" + func ParseCoin(coinStr string) (minCoin sdk.Coin, err error) + func ParseCoins(coinsStr string) (coins sdk.Coins, err error) + type ABCIMessageLog struct + Log string + MsgIndex uint16 + Success bool + type ABCIMessageLogs []ABCIMessageLog + func ParseABCILogs(logs string) (res ABCIMessageLogs, err error) + func (logs ABCIMessageLogs) String() (str string) + type AddNewKey struct + Account int + Index int + Mnemonic string + Name string + Password string + func (ak AddNewKey) Marshal() []byte + type BankSendBody struct + Amount string + ChainID string + Fees string + GasAdjustment string + Memo string + Reciever sdk.AccAddress + Sender sdk.AccAddress + func (sb BankSendBody) Marshal() []byte + type DeleteKeyBody struct + Password string + func (u DeleteKeyBody) Marshal() []byte + type Result struct + Code sdk.CodeType + Codespace sdk.CodespaceType + Data []byte + GasUsed uint64 + GasWanted uint64 + Log string + Tags Tags + func (res Result) IsOK() bool + type SearchTxsResult struct + Count int + Limit int + PageNumber int + PageTotal int + TotalCount int + Txs []TxResponse + func NewSearchTxsResult(totalCount, count, page, limit int, txs []TxResponse) SearchTxsResult + type Server struct + Branch string + Commit string + KeyDir string + Node string + Port int + Version string + func (s *Server) BankSend(w http.ResponseWriter, r *http.Request) + func (s *Server) Broadcast(w http.ResponseWriter, r *http.Request) + func (s *Server) DeleteKey(w http.ResponseWriter, r *http.Request) + func (s *Server) GetKey(w http.ResponseWriter, r *http.Request) + func (s *Server) GetKeys(w http.ResponseWriter, r *http.Request) + func (s *Server) PostKeys(w http.ResponseWriter, r *http.Request) + func (s *Server) PutKey(w http.ResponseWriter, r *http.Request) + func (s *Server) Router() *mux.Router + func (s *Server) Sign(w http.ResponseWriter, r *http.Request) + func (s *Server) SimulateGas(txbytes []byte) (res uint64, err error) + func (s *Server) VersionHandler(w http.ResponseWriter, r *http.Request) + type SignBody struct + AccountNumber string + ChainID string + Name string + Passphrase string + Sequence string + Tx json.RawMessage + func (sb SignBody) Marshal() []byte + func (sb SignBody) StdSignMsg() (stdSign []byte, stdTx auth.StdTx, err error) + type StringTag struct + Key string + Value string + func TagToStringTag(tag Tag) StringTag + func (st StringTag) String() string + type StringTags []StringTag + func TagsToStringTags(tags Tags) StringTags + func (st StringTags) String() string + type Tag = cmn.KVPair + func MakeTag(k string, v string) Tag + type Tags cmn.KVPairs + func EmptyTags() Tags + func NewTags(tags ...interface{}) Tags + func (t Tags) AppendTag(k string, v string) Tags + func (t Tags) AppendTags(tags Tags) Tags + func (t Tags) ToKVPairs() []cmn.KVPair + type TxResponse struct + Code uint32 + Codespace string + Data string + GasUsed int64 + GasWanted int64 + Height int64 + Info string + Logs ABCIMessageLogs + RawLog string + Tags StringTags + Timestamp string + Tx sdk.Tx + TxHash string + func NewResponseFormatBroadcastTx(res *ctypes.ResultBroadcastTx) TxResponse + func NewResponseFormatBroadcastTxCommit(res *ctypes.ResultBroadcastTxCommit) TxResponse + func NewResponseResultTx(res *ctypes.ResultTx, tx sdk.Tx, timestamp string) TxResponse + func (r TxResponse) Empty() bool + func (r TxResponse) String() string + type UpdateKeyBody struct + NewPassword string + OldPassword string + func (u UpdateKeyBody) Marshal() []byte