Documentation ¶
Index ¶
- func StartNanoWSClient(wsUrl string, account string, callback func(data ConfirmationResponse))
- type ConfirmationResponse
- type RPCClient
- func (client RPCClient) MakeAccountHistoryRequest(account string, count uint) (*model.AccountHistoryResponse, error)
- func (client RPCClient) MakeConfirmationQuorumRequest() (*model.ConfirmationQuorumResponse, error)
- func (client RPCClient) MakeRepresentativesRequest() (*model.RepresentativeResponse, error)
- func (client RPCClient) MakeSendRequest(source string, destination string, amountRaw string, id string, wallet string) (*model.SendResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartNanoWSClient ¶
func StartNanoWSClient(wsUrl string, account string, callback func(data ConfirmationResponse))
Types ¶
type ConfirmationResponse ¶
type RPCClient ¶
type RPCClient struct { Url string // contains filtered or unexported fields }
func NewRPCClient ¶
func (RPCClient) MakeAccountHistoryRequest ¶
func (client RPCClient) MakeAccountHistoryRequest(account string, count uint) (*model.AccountHistoryResponse, error)
Nano account_history request
func (RPCClient) MakeConfirmationQuorumRequest ¶
func (client RPCClient) MakeConfirmationQuorumRequest() (*model.ConfirmationQuorumResponse, error)
Nano confirmation_quorum request
func (RPCClient) MakeRepresentativesRequest ¶
func (client RPCClient) MakeRepresentativesRequest() (*model.RepresentativeResponse, error)
representatives
Click to show internal directories.
Click to hide internal directories.