Documentation ¶
Overview ¶
@Title @Description @Author Niels 2020/9/15
@Title @Description @Author Niels 2020/9/29
Index ¶
- type AccountStatus
- type ApiSDK
- type NerveApiSDK
- func (sdk *NerveApiSDK) ApiRequest(param *rpc.RequestParam) (*rpc.RequestResult, error)
- func (sdk *NerveApiSDK) Broadcast(txHex string) (string, error)
- func (sdk *NerveApiSDK) GetBalance(address string, chainId uint16, assetsId uint16) (*AccountStatus, error)
- func (sdk *NerveApiSDK) GetNodeStatus() (*NodeStatus, error)
- func (sdk *NerveApiSDK) GetTxJson(txHash string) (string, error)
- func (sdk *NerveApiSDK) ValidateTx(txhex string) (string, error)
- type NervePSSDK
- type NodeInfo
- type NodeStatus
- type PSSDK
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountStatus ¶
type ApiSDK ¶
type NerveApiSDK ¶
type NerveApiSDK struct {
// contains filtered or unexported fields
}
func (*NerveApiSDK) ApiRequest ¶
func (sdk *NerveApiSDK) ApiRequest(param *rpc.RequestParam) (*rpc.RequestResult, error)
接口请求 请求的地址是client中的默认地址 本工具针对NULS的api模块的jsonrpc接口进行设计,适用范围有限
func (*NerveApiSDK) Broadcast ¶
func (sdk *NerveApiSDK) Broadcast(txHex string) (string, error)
广播交易
func (*NerveApiSDK) GetBalance ¶
func (sdk *NerveApiSDK) GetBalance(address string, chainId uint16, assetsId uint16) (*AccountStatus, error)
func (*NerveApiSDK) GetNodeStatus ¶
func (sdk *NerveApiSDK) GetNodeStatus() (*NodeStatus, error)
接口请求 请求的地址是client中的默认地址 本工具针对NULS的api模块的jsonrpc接口进行设计,适用范围有限
func (*NerveApiSDK) ValidateTx ¶
func (sdk *NerveApiSDK) ValidateTx(txhex string) (string, error)
type NervePSSDK ¶
type NervePSSDK struct {
// contains filtered or unexported fields
}
type NodeStatus ¶
Click to show internal directories.
Click to hide internal directories.