Documentation
¶
Index ¶
- type Client
- func (c *Client) BroadcastTransaction(txHex string) (string, error)
- func (c *Client) Disconnect()
- func (c *Client) EstimateFee() (float64, error)
- func (c *Client) GetBlockHeight() (uint32, error)
- func (c *Client) GetRawTransaction(txId string) (string, error)
- func (c *Client) GetUnspentOutputs(address string) ([]*onchain.Output, error)
- func (c *Client) IsTransactionConfirmed(txId string) (bool, 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
}
func InitClient ¶
InitClient creates a new Esplora API client
func (*Client) BroadcastTransaction ¶
func (*Client) Disconnect ¶
func (c *Client) Disconnect()
Disconnect closes any resources held by the client For HTTP client, there's no persistent connection to close
func (*Client) EstimateFee ¶
func (*Client) GetBlockHeight ¶
func (*Client) GetUnspentOutputs ¶
Click to show internal directories.
Click to hide internal directories.