Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBalancesCmd ¶
NewBalancesCmd returns the `sim svm balances` command.
func NewTransactionsCmd ¶
NewTransactionsCmd returns the `sim svm transactions` command.
Types ¶
type SimClient ¶
type SimClient interface {
Get(ctx context.Context, path string, params url.Values) ([]byte, error)
}
SimClient is the interface that svm commands use to talk to the Sim API. It is satisfied by *sim.SimClient (stored in the command context by the sim parent command's PersistentPreRunE).
func SimClientFromCmd ¶
SimClientFromCmd extracts the SimClient from the command context.
Click to show internal directories.
Click to hide internal directories.