Documentation ¶
Overview ¶
@Title xuperchainClient @Description @Author zxl 2020/7/22 19:31 @Version 1.0.0 @Update 2020/7/22 19:31
@Title xuperchain_node @Description @Author zxl 2020/7/22 19:32 @Version 1.0.0 @Update 2020/7/22 19:32
Index ¶
- type XuperChainClient
- func (c *XuperChainClient) GetBlockInfo(body req.GetBlockInfoReqDataBody) (*res.GetBlockInfoResData, error)
- func (c *XuperChainClient) GetTxInfo(body req.GetTxInfoReqDataBody) (*res.GetTxInfoResData, error)
- func (c *XuperChainClient) QueryEvent() (*res.QueryEventResData, error)
- func (c *XuperChainClient) RegisterEvent(body req.RegisterEventReqDataBody) (*res.QueryEventResData, error)
- func (c *XuperChainClient) RegisterUser(body req.RegisterUserReqDataBody) (*res.RegisterUserResData, error)
- func (c *XuperChainClient) RemoveEvent(body req.RemoveEventReqDataBody) (*res.RemoveEventResData, error)
- func (c *XuperChainClient) ReqChainCode(body req.CallContractReqDataReqDataBody) (*res.CallContractResData, error)
- func (c *XuperChainClient) SdkTran(body req.UPukCallContractReqDataReqDataBody) (*res.UPukCallContractResData, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XuperChainClient ¶
func NewXuperChainClient ¶
func NewXuperChainClient(config *config.Config) (*XuperChainClient, error)
func (*XuperChainClient) GetBlockInfo ¶
func (c *XuperChainClient) GetBlockInfo(body req.GetBlockInfoReqDataBody) (*res.GetBlockInfoResData, error)
get block information
func (*XuperChainClient) GetTxInfo ¶
func (c *XuperChainClient) GetTxInfo(body req.GetTxInfoReqDataBody) (*res.GetTxInfoResData, error)
get transaction information
func (*XuperChainClient) QueryEvent ¶ added in v1.0.4
func (c *XuperChainClient) QueryEvent() (*res.QueryEventResData, error)
query event list
func (*XuperChainClient) RegisterEvent ¶ added in v1.0.4
func (c *XuperChainClient) RegisterEvent(body req.RegisterEventReqDataBody) (*res.QueryEventResData, error)
register event
func (*XuperChainClient) RegisterUser ¶
func (c *XuperChainClient) RegisterUser(body req.RegisterUserReqDataBody) (*res.RegisterUserResData, error)
func (*XuperChainClient) RemoveEvent ¶ added in v1.0.4
func (c *XuperChainClient) RemoveEvent(body req.RemoveEventReqDataBody) (*res.RemoveEventResData, error)
remove event
func (*XuperChainClient) ReqChainCode ¶
func (c *XuperChainClient) ReqChainCode(body req.CallContractReqDataReqDataBody) (*res.CallContractResData, error)
DApp transaction in public key trust mode
func (*XuperChainClient) SdkTran ¶ added in v1.0.4
func (c *XuperChainClient) SdkTran(body req.UPukCallContractReqDataReqDataBody) (*res.UPukCallContractResData, error)
DApp transaction in public key upload mode
Click to show internal directories.
Click to hide internal directories.