Versions in this module Expand all Collapse all v0 v0.0.6 Oct 22, 2019 Changes in this version type Client + func (c *Client) GetNodeInfo() (NemNodeInfo, error) + type NemNodeInfo struct + Endpoint struct{ ... } + Identity struct{ ... } + MetaData struct{ ... } v0.0.5 Oct 15, 2019 v0.0.4 Oct 15, 2019 v0.0.3 Oct 15, 2019 v0.0.2 Sep 22, 2019 Changes in this version + const UrlEncoded + func Audit(publicKey, data, signedData string) (bool, error) + func Json(data string) []string + func MapTransaction(b *bytes.Buffer) (base.Transaction, error) + func MapTransactions(b *bytes.Buffer) ([]base.Transaction, error) + func SearchMosaicDefinitionArray(mosaicDefinitionArray []MosaicDefinitionMetaDataPair, keys []string) map[string]base.MosaicDefinition + type Account struct + Account string + type AccountInfo struct + Address string + Balance float64 + HarvestedBlocks int + Importance float64 + Label string + PublicKey string + VestedBalance float64 + type AccountMetaData struct + Cosignatories []AccountInfo + CosignatoryOf []AccountInfo + RemoteStatus string + Status string + type AccountMetaDataPair struct + Account AccountInfo + Meta AccountMetaData + type Block struct + Height int64 + PrevBlockHash PrevBlockHash + Signature string + Signer string + TimeStamp int64 + Transactions []interface{} + Type int + Version int + type BlockHeight struct + Height int64 + type Client struct + Node Node + Request func(*http.Request) ([]byte, error) + URL url.URL + func NewClient(node Node) *Client + func (c *Client) AccountData(address string) (AccountMetaDataPair, error) + func (c *Client) AccountDataFromPublicKey(publicKey string) (AccountMetaDataPair, error) + func (c *Client) AllTransactions(address, txHash, txId string) ([]TransactionMetaDataPair, error) + func (c *Client) BlockAfterByHeight(height int64) ([]ExplorerBlockViewModel, error) + func (c *Client) BlockByHeight(height int64) (Block, error) + func (c *Client) ByHash(txHash string) (TransactionMetaDataPair, error) + func (c *Client) Forwarded(address string) (AccountMetaDataPair, error) + func (c *Client) HarvestedBlocks(address string) ([]HarvestInfo, error) + func (c *Client) Heartbeat() (NemRequestResult, error) + func (c *Client) Height() (BlockHeight, error) + func (c *Client) IncomingTransactions(address, txHash, txId string) ([]TransactionMetaDataPair, error) + func (c *Client) LastBlock() (BlockHeight, error) + func (c *Client) MosaicDefinitions(id string) ([]MosaicDefinitionMetaDataPair, error) + func (c *Client) MosaicDefinitionsCreated(address, parent string) ([]base.MosaicDefinition, error) + func (c *Client) MosaicDefinitionsOwned(address string) ([]base.MosaicDefinition, error) + func (c *Client) MosaicsOwned(address string) ([]base.Mosaic, error) + func (c *Client) NameSpaceRoots(id int) ([]NamespaceMetaDataPair, error) + func (c *Client) Namespaceinfo(id string) (Namespace, error) + func (c *Client) NamespacesOwned(address, parent string) ([]Namespace, error) + func (c *Client) OutgoingTransactions(address, txHash, txId string) ([]TransactionMetaDataPair, error) + func (c *Client) StartHarvesting(privateKey string) error + func (c *Client) StopHarvesting(privateKey string) error + func (c *Client) Supply(id string) (MosaicSupplyInfo, error) + func (c *Client) Time() (TimeStamps, error) + func (c *Client) UnconfirmedTransactions(address string) ([]base.Transaction, error) + func (c *Client) UnlockInfo() (UnlockInfo, error) + func (c Client) Announce(serialize RequestAnnounce) (NemAnnounceResult, error) + func (c Client) GetBatchAccountData(addresses []string) ([]AccountMetaDataPair, error) + func (c Client) GetBatchHistoricalAccountData(addresses []string, block int) ([]AccountMetaDataPair, error) + func (c Client) GetHistoricalAccountData(addresses string, block int) ([]AccountMetaDataPair, error) + type Coords struct + Latitude float64 + Longitude float64 + NumNodes int + type ExplorerBlockViewModel struct + Block Block + Difficulty int + Hash string + Txes []ExplorerTransferViewModel + type ExplorerTransferViewModel struct + Hash string + InnerHash string + Tx TransactionResponce + type HarvestInfo struct + Difficulty int + Height int64 + ID int + TimeStamp int64 + TotalFee int + type HbAccountData struct + Accounts *[]Account + EndHeight int + IncrementBy int + StartHeight int + type HgAccountData struct + Address string + EndHeight int + IncrementBy int + StartHeight int + type ID struct + Name string + NamespaceID string + type InnerTransactionHash struct + Data string + type MarketInfo struct + BTCAMP struct{ ... } + BTCARDR struct{ ... } + BTCBCH struct{ ... } + BTCBCN struct{ ... } + BTCBCY struct{ ... } + BTCBLK struct{ ... } + BTCBTCD struct{ ... } + BTCBTM struct{ ... } + BTCBTS struct{ ... } + BTCBURST struct{ ... } + BTCCLAM struct{ ... } + BTCCVC struct{ ... } + BTCDASH struct{ ... } + BTCDCR struct{ ... } + BTCDGB struct{ ... } + BTCDOGE struct{ ... } + BTCEMC2 struct{ ... } + BTCETC struct{ ... } + BTCETH struct{ ... } + BTCEXP struct{ ... } + BTCFCT struct{ ... } + BTCFLDC struct{ ... } + BTCFLO struct{ ... } + BTCGAME struct{ ... } + BTCGAS struct{ ... } + BTCGNO struct{ ... } + BTCGNT struct{ ... } + BTCGRC struct{ ... } + BTCHUC struct{ ... } + BTCLBC struct{ ... } + BTCLSK struct{ ... } + BTCLTC struct{ ... } + BTCMAID struct{ ... } + BTCNAV struct{ ... } + BTCNEOS struct{ ... } + BTCNMC struct{ ... } + BTCNXC struct{ ... } + BTCNXT struct{ ... } + BTCOMG struct{ ... } + BTCOMNI struct{ ... } + BTCPASC struct{ ... } + BTCPINK struct{ ... } + BTCPOT struct{ ... } + BTCPPC struct{ ... } + BTCRADS struct{ ... } + BTCREP struct{ ... } + BTCRIC struct{ ... } + BTCSBD struct{ ... } + BTCSC struct{ ... } + BTCSTEEM struct{ ... } + BTCSTORJ struct{ ... } + BTCSTR struct{ ... } + BTCSTRAT struct{ ... } + BTCSYS struct{ ... } + BTCVIA struct{ ... } + BTCVRC struct{ ... } + BTCVTC struct{ ... } + BTCXBC struct{ ... } + BTCXCP struct{ ... } + BTCXEM struct{ ... } + BTCXMR struct{ ... } + BTCXPM struct{ ... } + BTCXRP struct{ ... } + BTCXVC struct{ ... } + BTCZEC struct{ ... } + BTCZRX struct{ ... } + ETHBCH struct{ ... } + ETHCVC struct{ ... } + ETHETC struct{ ... } + ETHGAS struct{ ... } + ETHGNO struct{ ... } + ETHGNT struct{ ... } + ETHLSK struct{ ... } + ETHOMG struct{ ... } + ETHREP struct{ ... } + ETHSTEEM struct{ ... } + ETHZEC struct{ ... } + ETHZRX struct{ ... } + USDTBCH struct{ ... } + USDTBTC struct{ ... } + USDTDASH struct{ ... } + USDTETC struct{ ... } + USDTETH struct{ ... } + USDTLTC struct{ ... } + USDTNXT struct{ ... } + USDTREP struct{ ... } + USDTSTR struct{ ... } + USDTXMR struct{ ... } + USDTXRP struct{ ... } + USDTZEC struct{ ... } + XMRBCN struct{ ... } + XMRBLK struct{ ... } + XMRBTCD struct{ ... } + XMRDASH struct{ ... } + XMRLTC struct{ ... } + XMRMAID struct{ ... } + XMRNXT struct{ ... } + XMRZEC struct{ ... } + func Xem() (MarketInfo, error) + type MarketInfoBtcPrice struct + AUD struct{ ... } + BRL struct{ ... } + CAD struct{ ... } + CHF struct{ ... } + CLP struct{ ... } + CNY struct{ ... } + DKK struct{ ... } + EUR struct{ ... } + GBP struct{ ... } + HKD struct{ ... } + INR struct{ ... } + ISK struct{ ... } + JPY struct{ ... } + KRW struct{ ... } + NZD struct{ ... } + PLN struct{ ... } + RUB struct{ ... } + SEK struct{ ... } + SGD struct{ ... } + THB struct{ ... } + TWD struct{ ... } + USD struct{ ... } + func Btc() (MarketInfoBtcPrice, error) + type Meta struct + ID int + type MetaData struct + Data string + type MosaicDefinitionMetaDataPair struct + Meta Meta + Mosaic base.MosaicDefinition + type MosaicSupplyInfo struct + MosaicID base.MosaicID + Supply int + type Namespace struct + Fqn string + Height int64 + Owner string + type NamespaceMetaDataPair struct + Meta Meta + Namespace Namespace + type NemAnnounceResult struct + Code int + InnerTransactionHash InnerTransactionHash + Message string + TransactionHash TransactionHash + Type int + type NemRequestResult struct + Code int + Message string + Type int + type PrevBlockHash struct + Data string + type RequestAnnounce struct + Data string + Signature string + type SuperNode struct + Alias string + Distance float64 + ID int + IP string + Latitude float64 + Longitude float64 + MaxUnlocked int + NisPort int + NumUnlocked int + PayoutAddress string + PubKey string + ServantPort int + Status int + func GetSuperNodeStatus(status int) ([]SuperNode, error) + func Nearest(latitude, longitude float64) ([]SuperNode, error) + type SuperNodeInfo struct + NodeCount int + Nodes []Supernode + func SuperNodeAll() (SuperNodeInfo, error) + type Supernode struct + Alias string + ID string + IP string + Latitude float64 + Longitude float64 + NisPort int + PayoutAddress string + PubKey string + ServantPort int + Status int + type TimeStamps struct + ReceiveTimeStamp int64 + SendTimeStamp int64 + type TransactionHash struct + Data string + type TransactionMetaData struct + Hash struct{ ... } + Height int64 + ID int + type TransactionMetaDataPair struct + Meta TransactionMetaData + Transaction base.TransactionResponce + type UnconfirmedTransactionMetaDataPair struct + Transaction base.Transaction + type UnlockInfo struct + MaxUnlocked int + NumUnlocked int