Documentation ¶
Index ¶
- type Client
- func (c *Client) BalanceIOTA(targetAddress ledgerstate.Address) (uint64, error)
- func (c *Client) GetConfirmedOutputs(address ledgerstate.Address) ([]ledgerstate.Output, error)
- func (c *Client) PostAndWaitForConfirmation(tx *ledgerstate.Transaction) error
- func (c *Client) PostRequestTransaction(par transaction.NewRequestTransactionParams) (*ledgerstate.Transaction, error)
- func (c *Client) PostTransaction(tx *ledgerstate.Transaction) error
- func (c *Client) RequestFunds(targetAddress ledgerstate.Address) error
- func (c *Client) WaitForConfirmation(txid ledgerstate.TransactionID) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a wrapper for the official Goshimmer client, providing a cleaner interface for commonly used Goshimmer webapi endpoints in wasp.
func (*Client) BalanceIOTA ¶
func (c *Client) BalanceIOTA(targetAddress ledgerstate.Address) (uint64, error)
func (*Client) GetConfirmedOutputs ¶
func (c *Client) GetConfirmedOutputs(address ledgerstate.Address) ([]ledgerstate.Output, error)
func (*Client) PostAndWaitForConfirmation ¶
func (c *Client) PostAndWaitForConfirmation(tx *ledgerstate.Transaction) error
func (*Client) PostRequestTransaction ¶
func (c *Client) PostRequestTransaction(par transaction.NewRequestTransactionParams) (*ledgerstate.Transaction, error)
func (*Client) PostTransaction ¶
func (c *Client) PostTransaction(tx *ledgerstate.Transaction) error
func (*Client) RequestFunds ¶
func (c *Client) RequestFunds(targetAddress ledgerstate.Address) error
func (*Client) WaitForConfirmation ¶
func (c *Client) WaitForConfirmation(txid ledgerstate.TransactionID) error
Click to show internal directories.
Click to hide internal directories.