cosmos_agent

package
v0.0.0-...-3905673 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func MakeCOSMOSCodec

func MakeCOSMOSCodec() *amino.Codec

cosmos

Types

type ResultTx

type ResultTx struct {
	Status int    `json:"status"`
	Txs    []Tx   `json:"txs"`
	Fee    string `json:"fee"`
	IsOK   bool   `json:"isOk"`
	Err    string `json:"err"`
}

func ParseTx

func ParseTx(t []byte) (*ResultTx, error)

func ParseTxs

func ParseTxs(txs []string) ([]ResultTx, error)

func QueryTx

func QueryTx(remote string, hash []byte) (*ResultTx, error)

type Tx

type Tx struct {
	Type string          `json:"type"`
	Data json.RawMessage `json:"data"`
}

Directories

Path Synopsis
client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳