diff --git a/README.md b/README.md index 56acd1f..2764b92 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Create an API instance and off you go. :rocket: ```go import ( - "github.com/nanmu42/etherscan-api" + "github.com/koolob/etherscan-api" "fmt" ) diff --git a/client.go b/client.go index e69679a..532650a 100644 --- a/client.go +++ b/client.go @@ -91,6 +91,10 @@ func NewCustomized(config Customization) *Client { } } +func (c *Client) Call(module, action string, param map[string]interface{}, outcome interface{}) (err error) { + return c.call(module, action, param, outcome) +} + // call does almost all the dirty work. func (c *Client) call(module, action string, param map[string]interface{}, outcome interface{}) (err error) { // fire hooks if in need