Documentation ¶
Index ¶
- type Commit
- type Daemon
- func (d *Daemon) GetBlock(params *rpc.GetBlock_Params) (*rpc.GetBlock_Result, error)
- func (d *Daemon) GetBlockHeaderByTopoHeight(params *rpc.GetBlockHeaderByTopoHeight_Params) (*rpc.GetBlockHeaderByHeight_Result, error)
- func (d *Daemon) GetEncrypedBalance(params *rpc.GetEncryptedBalance_Params) (*rpc.GetEncryptedBalance_Result, error)
- func (d *Daemon) GetGasEstimate(params *rpc.GasEstimate_Params) (*rpc.GasEstimate_Result, error)
- func (d *Daemon) GetHeight() (*rpc.Daemon_GetHeight_Result, error)
- func (d *Daemon) GetInfo() (*rpc.GetInfo_Result, error)
- func (d *Daemon) GetRandomAddresses(params *rpc.GetRandomAddress_Params) (*rpc.GetRandomAddress_Result, error)
- func (d *Daemon) GetSC(params *rpc.GetSC_Params) (*rpc.GetSC_Result, error)
- func (d *Daemon) GetSCCommitCount(scid string) uint64
- func (d *Daemon) GetSCCommitCountV2(scid string) (uint64, error)
- func (d *Daemon) GetSCCommits(scid string, start uint64, end uint64) []Commit
- func (d *Daemon) GetSCCommitsV2(scid string, start uint64, end uint64) ([]map[string]interface{}, error)
- func (d *Daemon) GetSCItemCount(scid string, key string) uint64
- func (d *Daemon) GetSCKeyValues(scid string, prefixKey string, start uint64, end uint64, columns []string) map[string]string
- func (d *Daemon) GetTransaction(params *rpc.GetTransaction_Params) (*rpc.GetTransaction_Result, error)
- func (d *Daemon) NameToAddress(params *rpc.NameToAddress_Params) (*rpc.NameToAddress_Result, error)
- func (d *Daemon) Ping() (string, error)
- func (d *Daemon) SetClient(address string)
- type Wallet
- func (c *Wallet) Echo() (string, error)
- func (c *Wallet) GetAddress() (string, error)
- func (c *Wallet) GetBalance(params *rpc.GetBalance_Params) (*rpc.GetBalance_Result, error)
- func (c *Wallet) GetHeight() (*rpc.GetHeight_Result, error)
- func (c *Wallet) GetRegistered() (bool, error)
- func (c *Wallet) GetSeed() (string, error)
- func (c *Wallet) GetTransfers(params *rpc.Get_Transfers_Params) (*rpc.Get_Transfers_Result, error)
- func (c *Wallet) InstallSC(code string) (string, error)
- func (c *Wallet) NeedAuth() (bool, error)
- func (c *Wallet) SetClient(address string)
- func (c *Wallet) SetClientWithAuth(address, username string, password string)
- func (c *Wallet) Transfer(params *rpc.Transfer_Params) (*rpc.Transfer_Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Daemon ¶
func (*Daemon) GetBlock ¶
func (d *Daemon) GetBlock(params *rpc.GetBlock_Params) (*rpc.GetBlock_Result, error)
func (*Daemon) GetBlockHeaderByTopoHeight ¶
func (d *Daemon) GetBlockHeaderByTopoHeight(params *rpc.GetBlockHeaderByTopoHeight_Params) (*rpc.GetBlockHeaderByHeight_Result, error)
func (*Daemon) GetEncrypedBalance ¶
func (d *Daemon) GetEncrypedBalance(params *rpc.GetEncryptedBalance_Params) (*rpc.GetEncryptedBalance_Result, error)
func (*Daemon) GetGasEstimate ¶
func (d *Daemon) GetGasEstimate(params *rpc.GasEstimate_Params) (*rpc.GasEstimate_Result, error)
func (*Daemon) GetRandomAddresses ¶
func (d *Daemon) GetRandomAddresses(params *rpc.GetRandomAddress_Params) (*rpc.GetRandomAddress_Result, error)
func (*Daemon) GetSC ¶
func (d *Daemon) GetSC(params *rpc.GetSC_Params) (*rpc.GetSC_Result, error)
func (*Daemon) GetSCCommitCount ¶
func (*Daemon) GetSCCommitCountV2 ¶
func (*Daemon) GetSCCommits ¶
func (*Daemon) GetSCCommitsV2 ¶
func (*Daemon) GetSCKeyValues ¶
func (*Daemon) GetTransaction ¶
func (d *Daemon) GetTransaction(params *rpc.GetTransaction_Params) (*rpc.GetTransaction_Result, error)
func (*Daemon) NameToAddress ¶
func (d *Daemon) NameToAddress(params *rpc.NameToAddress_Params) (*rpc.NameToAddress_Result, error)
type Wallet ¶
func (*Wallet) GetAddress ¶
func (*Wallet) GetBalance ¶
func (c *Wallet) GetBalance(params *rpc.GetBalance_Params) (*rpc.GetBalance_Result, error)
func (*Wallet) GetRegistered ¶
func (*Wallet) GetTransfers ¶
func (c *Wallet) GetTransfers(params *rpc.Get_Transfers_Params) (*rpc.Get_Transfers_Result, error)
func (*Wallet) SetClientWithAuth ¶
func (*Wallet) Transfer ¶
func (c *Wallet) Transfer(params *rpc.Transfer_Params) (*rpc.Transfer_Result, error)
Click to show internal directories.
Click to hide internal directories.