Documentation ¶
Index ¶
- func DecodeRawTransaction(transactionHash []byte) *btcjson.TxRawResult
- func GetBlock(blockhash *chainhash.Hash) (*btcjson.GetBlockVerboseResult, error)
- func GetBlockAsync(blockhash *chainhash.Hash) *btcjson.GetBlockVerboseResult
- func GetBlockChainInfo() (*btcjson.GetBlockChainInfoResult, error)
- func GetBlockCount() int64
- func GetBlockHash(blockHeight int64) (*chainhash.Hash, error)
- func GetBlockHashAsync(blockHeight int64) *chainhash.Hash
- func GetBlockHeader(blockhash *chainhash.Hash) (*btcjson.GetBlockHeaderVerboseResult, error)
- func GetBlockHeaderVerbose(blockhash *chainhash.Hash) (*btcjson.GetBlockHeaderVerboseResult, error)
- func GetDifficulty() (float64, error)
- func GetLatestBlock() (*btcjson.GetBlockVerboseResult, error)
- func GetRawTransaction(transactionHash *chainhash.Hash) *btcutil.Tx
- func GetRawTransactionVerbose(transactionHash *chainhash.Hash) (*btcjson.TxRawResult, error)
- func SearchRawTransactionsVerbose(address btcutil.Address, skip, count int, reverse bool, filterAddrs []string) []*btcjson.SearchRawTransactionsResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeRawTransaction ¶
func DecodeRawTransaction(transactionHash []byte) *btcjson.TxRawResult
Decode the raw transaction hash into a human readable json
func GetBlockAsync ¶
func GetBlockAsync(blockhash *chainhash.Hash) *btcjson.GetBlockVerboseResult
func GetBlockChainInfo ¶
func GetBlockChainInfo() (*btcjson.GetBlockChainInfoResult, error)
func GetBlockCount ¶
func GetBlockCount() int64
func GetBlockHashAsync ¶
func GetBlockHeader ¶
func GetBlockHeader(blockhash *chainhash.Hash) (*btcjson.GetBlockHeaderVerboseResult, error)
func GetBlockHeaderVerbose ¶
func GetBlockHeaderVerbose(blockhash *chainhash.Hash) (*btcjson.GetBlockHeaderVerboseResult, error)
func GetLatestBlock ¶
func GetLatestBlock() (*btcjson.GetBlockVerboseResult, error)
get latest block info
func GetRawTransactionVerbose ¶
func GetRawTransactionVerbose(transactionHash *chainhash.Hash) (*btcjson.TxRawResult, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.