Documentation
¶
Index ¶
- type Client
- func (c *Client) AddPeer(args []string) (string, error)
- func (c *Client) Chain() proto.ChainClient
- func (c *Client) CloseWallet() (string, error)
- func (c *Client) CreateWallet(args []string) (string, error)
- func (c *Client) DecodeRawBlock(args []string) (string, error)
- func (c *Client) DecodeRawTransaction(args []string) (string, error)
- func (c *Client) DumpWallet() (string, error)
- func (c *Client) ExitValidator(args []string) (string, error)
- func (c *Client) GenKeyPair(args []string, raw bool) (string, error)
- func (c *Client) GenerateKeys(args []string) (out string, err error)
- func (c *Client) GetAccount() (string, error)
- func (c *Client) GetAccountInfo(args []string) (string, error)
- func (c *Client) GetAccountValidators(args []string) (string, error)
- func (c *Client) GetBalance() (string, error)
- func (c *Client) GetBlock(args []string) (string, error)
- func (c *Client) GetBlockHash(args []string) (string, error)
- func (c *Client) GetChainInfo() (string, error)
- func (c *Client) GetKey(args []string) (out string, err error)
- func (c *Client) GetKeys(args []string) (out string, err error)
- func (c *Client) GetMnemonic(args []string) (out string, err error)
- func (c *Client) GetNetworkInfo() (string, error)
- func (c *Client) GetPeersInfo() (string, error)
- func (c *Client) GetRawBlock(args []string) (string, error)
- func (c *Client) GetValidators() (string, error)
- func (c *Client) GetValidatorsCount() (string, error)
- func (c *Client) GetValidatorsList() (string, error)
- func (c *Client) ImportWallet(args []string) (string, error)
- func (c *Client) ListWallets() (string, error)
- func (c *Client) Network() proto.NetworkClient
- func (c *Client) OpenWallet(args []string) (string, error)
- func (c *Client) SendTransaction(args []string) (string, error)
- func (c *Client) StartValidator(args []string) (string, error)
- func (c *Client) SubmitRawData(args []string) (string, error)
- func (c *Client) ToggleKeys(args []string) (out string, err error)
- func (c *Client) Utils() proto.UtilsClient
- func (c *Client) Validators() proto.ValidatorsClient
- func (c *Client) Wallet() proto.WalletClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents an RPC connection to a server.
func NewRPCClient ¶
NewRPCClient creates a new RPC client.
func (*Client) Chain ¶
func (c *Client) Chain() proto.ChainClient
func (*Client) CloseWallet ¶
func (*Client) DecodeRawTransaction ¶
func (*Client) DumpWallet ¶
func (*Client) GetAccount ¶
func (*Client) GetAccountValidators ¶
func (*Client) GetBalance ¶
func (*Client) GetChainInfo ¶
func (*Client) GetNetworkInfo ¶
func (*Client) GetPeersInfo ¶
func (*Client) GetValidators ¶
func (*Client) GetValidatorsCount ¶
func (*Client) GetValidatorsList ¶
func (*Client) ListWallets ¶
func (*Client) Network ¶
func (c *Client) Network() proto.NetworkClient
func (*Client) Utils ¶
func (c *Client) Utils() proto.UtilsClient
func (*Client) Validators ¶
func (c *Client) Validators() proto.ValidatorsClient
func (*Client) Wallet ¶
func (c *Client) Wallet() proto.WalletClient
Click to show internal directories.
Click to hide internal directories.