Documentation ¶
Index ¶
- type CitaClient
- func (c *CitaClient) GetBlockHeight() (*noderes.BlockHeightResData, error)
- func (c *CitaClient) GetBlockInfo(body nodereq.BlockReqDataBody) (*noderes.BlockResData, error)
- func (c *CitaClient) GetTxInfoByTxHash(body nodereq.TxTransReqDataBody) (*noderes.BlockTxResData, error)
- func (c *CitaClient) GetTxReceiptByTxHash(body nodereq.TxTransReqDataBody) (*noderes.BlockTxReceiptResData, error)
- func (c *CitaClient) RegisterUser(body userReq.RegisterReqDataBody) (*userRes.RegisterResData, error)
- func (c *CitaClient) ReqChainCode(body nodereq.TransReqDataBody) (*noderes.TransResData, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CitaClient ¶
func NewCitaClient ¶
func NewCitaClient(config *config.Config) (*CitaClient, error)
func (*CitaClient) GetBlockHeight ¶
func (c *CitaClient) GetBlockHeight() (*noderes.BlockHeightResData, error)
func (*CitaClient) GetBlockInfo ¶
func (c *CitaClient) GetBlockInfo(body nodereq.BlockReqDataBody) (*noderes.BlockResData, error)
func (*CitaClient) GetTxInfoByTxHash ¶
func (c *CitaClient) GetTxInfoByTxHash(body nodereq.TxTransReqDataBody) (*noderes.BlockTxResData, error)
func (*CitaClient) GetTxReceiptByTxHash ¶
func (c *CitaClient) GetTxReceiptByTxHash(body nodereq.TxTransReqDataBody) (*noderes.BlockTxReceiptResData, error)
func (*CitaClient) RegisterUser ¶
func (c *CitaClient) RegisterUser(body userReq.RegisterReqDataBody) (*userRes.RegisterResData, error)
func (*CitaClient) ReqChainCode ¶
func (c *CitaClient) ReqChainCode(body nodereq.TransReqDataBody) (*noderes.TransResData, error)
Click to show internal directories.
Click to hide internal directories.