Documentation ¶
Index ¶
- 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) 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
- type SimTx
- type TransactionStatusResponse
- type TxItem
- type TxItems
- type UTXO
- type UTXOs
- type VinItem
- type VoutItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) GetTxsFromAddress ¶
func (c *MempoolClient) GetTxsFromAddress(address string) ([]*SimTx, error)
func (*MempoolClient) ListUnspent ¶
func (c *MempoolClient) ListUnspent(address btcutil.Address) ([]*btcapi.UnspentOutput, error)
func (*MempoolClient) RecommendedFees ¶
func (c *MempoolClient) RecommendedFees() (*RecommendedFeesResponse, error)
func (*MempoolClient) TransactionStatus ¶
func (c *MempoolClient) TransactionStatus(txHash *chainhash.Hash) (*TransactionStatusResponse, error)
type RecommendedFeesResponse ¶
type TxItem ¶
type TxItem struct { Txid string `json:"txid"` Version int `json:"version"` Locktime int64 `json:"locktime"` Vin []*VinItem `json:"vin"` Vout []*VoutItem `json:"vout"` Size int `json:"size"` Weight int `json:"weight"` Sigops int `json:"sigops"` Fee int `json:"fee"` Status struct { Confirmed bool `json:"confirmed"` BlockHeight int `json:"block_height"` BlockHash string `json:"block_hash"` BlockTime int64 `json:"block_time"` } `json:"status"` }
Click to show internal directories.
Click to hide internal directories.