Documentation ¶
Index ¶
Constants ¶
View Source
const ( BroadcastSync = flags.BroadcastSync BroadcastAsync = flags.BroadcastAsync BroadcastBlock = flags.BroadcastBlock )
const
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientConfig ¶
type ClientConfig struct { NodeURI string GRpcURI string ChainID string BroadcastMode string Gas uint64 GasAdjustment float64 }
ClientConfig records the base config of gosdk client
func NewClientConfig ¶
func NewClientConfig(nodeURI, grpcURI, chainID string, broadcastMode string, feesStr string, gas uint64, gasAdjustment float64, gasPricesStr string) (cliConfig ClientConfig, err error)
NewClientConfig new ClientConfig
Click to show internal directories.
Click to hide internal directories.