Versions in this module Expand all Collapse all v0 v0.1.0 Jul 2, 2019 Changes in this version + func PushActions(api *API, actions ...*eos.Action) (*eos.PushTransactionFullResp, error) + func ToSHA256Bytes(in string) (eos.SHA256Bytes, error) + type API struct + Cfg Config + func (api *API) Asset(a *types.Asset) interface{} + func (api *API) GetBlockDataByID(id string) (*types.BlockGeneralInfo, error) + func (api *API) GetBlockDataByNum(num uint32) (*types.BlockGeneralInfo, error) + func (api *API) GetInfoData() (*types.InfoResp, error) + func (api *API) Init(cfg *config.ConfigData) error + func (api *API) Name(n string) interface{} + func (api *API) PushActions(actions ...*types.Action) (*types.PushTransactionFullResp, error) + func (api *API) Switcher() types.SwitcherInterface + func (api *API) Type() types.ClientType + type Config struct + ChainID eos.SHA256Bytes + IsDebug bool + Keys map[string]accountKey + Prikeys []ecc.PrivateKey + URL string + func (c *Config) Parse(data *config.ConfigData) error + type ConfigSigner struct + Keys []ecc.PrivateKey + func NewConfigSigner(api *API) *ConfigSigner + func (c *ConfigSigner) AvailableKeys() (out []ecc.PublicKey, err error) + func (c *ConfigSigner) ImportPrivateKey(wifPrivKey string) (err error) + func (c *ConfigSigner) Sign(tx *eos.SignedTransaction, chainID []byte, requiredKeys ...ecc.PublicKey) (*eos.SignedTransaction, error)