Versions in this module Expand all Collapse all v0 v0.2.0 Apr 27, 2024 v0.1.0 Apr 27, 2024 Changes in this version + type ChainClient struct + func NewChainClient(chain common.Chain, nodes map[string]int) *ChainClient + func (Self *ChainClient) Chain() common.Chain + func (Self *ChainClient) Nodes() map[string]int + type IChainClient interface + Chain func() common.Chain + GetBalance func(address string, currency string, args any) (float64, error) + GetCurrentHeight func() (uint64, error) + GetTransaction func(txHash string) (*common.Transaction, error) + Transfer func(privateKey *ecdsa.PrivateKey, to string, currency string, value float64, ...) (string, error)