Documentation ¶
Index ¶
- func Request(method, baseURL, subPath string, requestBody io.Reader) ([]byte, error)
- type BTCAPIClient
- type MempoolClient
- func (c *MempoolClient) BroadcastTx(tx *wire.MsgTx) (*chainhash.Hash, error)
- func (c *MempoolClient) GetRawTransaction(txHash *chainhash.Hash) (*wire.MsgTx, error)
- func (c *MempoolClient) GetUtxos(address string) ([]*Utxo, error)
- func (c *MempoolClient) ListUnspent(address btcutil.Address) ([]*UnspentOutput, error)
- type UTXO
- type UTXOs
- type UnspentOutput
- type Utxo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BTCAPIClient ¶
type MempoolClient ¶
type MempoolClient struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(netParams *chaincfg.Params) *MempoolClient
func (*MempoolClient) BroadcastTx ¶
func (*MempoolClient) GetRawTransaction ¶
func (*MempoolClient) ListUnspent ¶
func (c *MempoolClient) ListUnspent(address btcutil.Address) ([]*UnspentOutput, error)
Click to show internal directories.
Click to hide internal directories.