Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RPCClient ¶
type RPCClient interface {
BroadcastTx(broadcastType string, tx types.Tx) (itypes.BroadcastTxResult, error)
GetStatus() (ResultStatus, error)
GetTx(hash string) (ResultTx, error)
Block(height int64) (*ctypes.ResultBlock, error)
}
type ResultStatus ¶
type ResultStatus struct {
NodeInfo p2p.DefaultNodeInfo `json:"node_info"`
}
Click to show internal directories.
Click to hide internal directories.