Documentation
¶
Index ¶
Constants ¶
View Source
const (
Coin float64 = 1000000000000000000
)
Coin - Ethereum value unity value
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Web3 ¶
type Web3 struct { Provider providers.ProviderInterface Eth *eth.Eth Net *net.Net Personal *personal.Personal Utils *utils.Utils }
Web3 - The Web3 Module
func NewWeb3 ¶
func NewWeb3(provider providers.ProviderInterface) *Web3
NewWeb3 - Web3 Module constructor to set the default provider, Eth, Net and Personal
func (Web3) ClientVersion ¶
ClientVersion - Returns the current client version. Reference: https://github.com/ethereum/wiki/wiki/JSON-RPC#web3_clientversion Parameters:
- none
Returns:
- String - The current client version
Click to show internal directories.
Click to hide internal directories.