Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChainParams ¶
Types ¶
type Client ¶
type Client interface { GetRawTransaction(txHash *chainhash.Hash) (*wire.MsgTx, error) BroadcastTx(tx *wire.MsgTx) (*chainhash.Hash, error) ListUnspent(address btcutil.Address) ([]*UnspentOutput, error) GetTransactionByID(ID string) (*Transaction, error) GetCurrentBlockHash() (int64, error) GetRecommendedFees() (*RecommendedFees, error) }
type RecommendedFees ¶
type Transaction ¶
type Transaction struct { TxID string `json:"txid"` Version int64 `json:"version"` Locktime int64 `json:"locktime"` Size int64 `json:"size"` Weight int64 `json:"weight"` Fee int64 `json:"fee"` Status struct { Confirmed bool `json:"confirmed"` BlockHeight int64 `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.