Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainSoResponse ¶
type ChainSoResponse struct { Status string `json:"status"` Data json.RawMessage `json:"data"` }
type ClientCore ¶
type ClientCore interface { // NetworkParams should return the network parameters of the underlying // ZCash blockchain. NetworkParams() *chaincfg.Params GetUTXO(txhash string, vout uint32) (UTXO, error) GetUTXOs(address string, limit, confitmations int64) ([]UTXO, error) Confirmations(txHash string) (int64, error) // ScriptFunded checks whether a script is funded. ScriptFunded(address string, value int64) (bool, int64, error) // ScriptRedeemed checks whether a script is redeemed. ScriptRedeemed(address string, value int64) (bool, int64, error) // ScriptSpent checks whether a script is spent. ScriptSpent(script, spender string) (bool, string, error) // PublishTransaction should publish a signed transaction to the ZCash // blockchain. PublishTransaction(signedTransaction []byte) error }
func NewChainSoClientCore ¶
func NewChainSoClientCore(network string) (ClientCore, error)
func NewMercuryClientCore ¶
func NewMercuryClientCore(network string) (ClientCore, error)
type MercuryError ¶
type MercuryError struct {
Error string `json:"error"`
}
type RawAddress ¶
type UnspentTxResponse ¶
Click to show internal directories.
Click to hide internal directories.