Versions in this module Expand all Collapse all v1 v1.2.2 Apr 7, 2024 Changes in this version + type MempoolClient struct + func NewClient(netParams *chaincfg.Params) *MempoolClient + func (c *MempoolClient) BroadcastTx(tx *wire.MsgTx) (*chainhash.Hash, error) + func (c *MempoolClient) GetRawTransaction(txHash *chainhash.Hash) (*wire.MsgTx, error) + func (c *MempoolClient) GetTxsFromAddress(address string) ([]*SimTx, error) + func (c *MempoolClient) ListUnspent(address btcutil.Address) ([]*btcapi.UnspentOutput, error) + func (c *MempoolClient) RecommendedFees() (*RecommendedFeesResponse, error) + func (c *MempoolClient) TransactionStatus(txHash *chainhash.Hash) (*TransactionStatusResponse, error) + type RecommendedFeesResponse struct + EconomyFee int64 + FastestFee int64 + HalfHourFee int64 + HourFee int64 + MinimumFee int64 + type SimTx struct + OutPuts []*VoutItem + Sender string + Txid chainhash.Hash + type TransactionStatusResponse struct + BlockHash string + BlockHeight uint64 + BlockTime uint64 + Confirmed bool + type TxItem struct + Fee int + Locktime int64 + Sigops int + Size int + Status struct{ ... } + Txid string + Version int + Vin []*VinItem + Vout []*VoutItem + Weight int + type TxItems []TxItem + type UTXO struct + Status struct{ ... } + Txid string + Value int64 + Vout int + type UTXOs []UTXO + type VinItem struct + Is_coinbase bool + Prevout VoutItem + Scriptsig string + Scriptsig_asm string + Sequence int64 + Txid string + Vout int + Witness []string + type VoutItem struct + Scriptpubkey string + Scriptpubkey_address string + Scriptpubkey_asm string + Scriptpubkey_type string + Value int