Versions in this module Expand all Collapse all v1 v1.0.0 Jul 10, 2020 v0 v0.0.2 Jul 10, 2020 Changes in this version + const GetStateByAddressPath + const GetTxPath + const GetUnconfirmedTxByPath + const WaitCount + func GroupByHeightAndFunc(txs []Transaction) map[int]map[ContractFunc][]Transaction + type ContractFunc string + type FuncArg struct + Type string + Value interface{} + type FuncCall struct + Args []FuncArg + Function ContractFunc + type InvokeScriptBody struct + Call FuncCall + DApp string + Payment []Payment + type Node struct + func New(nodeUrl string, apiKey string) Node + func (node *Node) GetStateByAddressAndKey(address string, key string) (*state.State, error) + func (node *Node) GetTxById(id string) (Transaction, error) + func (node *Node) IsUnconfirmedTx(id string) (bool, error) + func (node *Node) WaitTx(id string) <-chan error + type Payment struct + Amount int64 + AssetId *string + type Transaction struct + Attachment string + Fee int + Height int + ID string + InvokeScriptBody *InvokeScriptBody + Proofs []string + Sender string + SenderPublicKey string + Timestamp int64 + Type TxType + Version int + func NewTransaction(txType TxType, sender string) Transaction + func Parse(json map[string]interface{}) (Transaction, error) + func Unmarshal(data []byte) (Transaction, error) + func (tx *Transaction) NewInvokeScript(dapp string, funcCall FuncCall, payments []Payment, fee int) + func (tx Transaction) JsonMap() (map[string]interface{}, error) + func (tx Transaction) Marshal() ([]byte, error) + type TxType int + const InvokeScript + const MassTransfer + const MassTransferReferralAttachment