Documentation ¶
Overview ¶
to be used by utilities like: cluster-tool, wasp-cli, apilib, etc
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client interface { // requests funds from faucet, waits for confirmation RequestFunds(addr iotago.Address, timeout ...time.Duration) error // sends a tx (including tipselection and local PoW if necessary) and waits for confirmation PostTxAndWaitUntilConfirmation(tx *iotago.Transaction, timeout ...time.Duration) (iotago.BlockID, error) // returns the outputs owned by a given address OutputMap(myAddress iotago.Address, timeout ...time.Duration) (iotago.OutputSet, error) // output GetAliasOutput(aliasID iotago.AliasID, timeout ...time.Duration) (iotago.OutputID, iotago.Output, error) // used to query the health endpoint of the node Health(timeout ...time.Duration) (bool, error) }
Click to show internal directories.
Click to hide internal directories.