ethutils

package
v0.13.0-preview.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EthUtilsCmd = &cobra.Command{
	Use:   "ethutils",
	Short: "Interact with Ethereum Node",
	Long:  `Interact with Ethereum Node`,
}

Functions

func RunCheckEthNode added in v0.7.0

func RunCheckEthNode(args CheckEthNodeArgs) error

func RunGetBalance

func RunGetBalance(args GetBalanceArgs) error

Types

type CheckEthNodeArgs added in v0.7.0

type CheckEthNodeArgs struct {
	*EthUtilsArgs
	EthNodeURLs []string
}

type EthUtilsArgs

type EthUtilsArgs struct {
	*rootCmd.RootArgs
	EthNodeURL string
}

type GetBalanceArgs

type GetBalanceArgs struct {
	*EthUtilsArgs
	TokenAddress  string
	WalletAddress string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL