Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Utils ¶
type Utils struct {
// contains filtered or unexported fields
}
Utils - The Utils Module
func NewUtils ¶
func NewUtils(provider providers.ProviderInterface) *Utils
NewUtils - Utils Module constructor to set the default provider
func (*Utils) Sha3 ¶
func (utils *Utils) Sha3(data types.ComplexString) (string, error)
Sha3 - Returns Keccak-256 (not the standardized SHA3-256) of the given data. Reference: https://github.com/ethereum/wiki/wiki/JSON-RPC#web3_sha3
- DATA - the data to convert into a SHA3 hash
Returns:
- DATA - The SHA3 result of the given string.
Click to show internal directories.
Click to hide internal directories.