Documentation ¶
Index ¶
- func QueryBlock(cdc *amino.Codec, ip string, height int64) (*ctypes.ResultBlock, error)
- func QueryStatus(cdc *amino.Codec, ip string) (*ctypes.SyncInfo, error)
- func QueryTx(cdc *amino.Codec, ip string, tx string) (result types.TxResponseResult, err error)
- func QueryTxInner(cliCtx context.CLIContext, hashHexStr string) (btypes.TxResponse, error)
- func Register(engine *gin.Engine)
- type LatestHeight
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryBlock ¶
func QueryBlock(cdc *amino.Codec, ip string, height int64) (*ctypes.ResultBlock, error)
func QueryTx ¶
func QueryTx(cdc *amino.Codec, ip string, tx string) (result types.TxResponseResult, err error)
func QueryTxInner ¶
func QueryTxInner(cliCtx context.CLIContext, hashHexStr string) (btypes.TxResponse, error)
QueryTx queries for a single transaction by a hash string in hex format. An error is returned if the transaction does not exist or cannot be queried.
Types ¶
type LatestHeight ¶
type LatestHeight struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.