Documentation ¶
Index ¶
- func NewConfidentialWitnessUtxo(hash string, index uint32, valueCommitment, assetCommitment string, ...) explorer.Utxo
- func NewService(apiURL string, requestTimeout int) (explorer.Service, error)
- func NewTxFromHex(txhex string, confirmed bool) (explorer.Transaction, error)
- func NewTxFromJSON(txJSON string) (explorer.Transaction, error)
- func NewUnconfidentialWitnessUtxo(hash string, index uint32, value uint64, asset string, script []byte) explorer.Utxo
- func NewWitnessUtxo(hash string, index uint32, value uint64, asset string, ...) explorer.Utxo
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfidentialWitnessUtxo ¶
func NewConfidentialWitnessUtxo( hash string, index uint32, valueCommitment, assetCommitment string, script, nonce, rangeProof, surjectionProof []byte, ) explorer.Utxo
NewConfidentialWitnessUtxo is the factory for a confidential witnessUtxo.
func NewService ¶
NewService returns a new esplora service as an explorer.Service interface
func NewTxFromHex ¶
func NewTxFromHex(txhex string, confirmed bool) (explorer.Transaction, error)
func NewTxFromJSON ¶
func NewTxFromJSON(txJSON string) (explorer.Transaction, error)
NewTxFromJSON is the factory for a Transaction in given its JSON format.
func NewUnconfidentialWitnessUtxo ¶
func NewUnconfidentialWitnessUtxo( hash string, index uint32, value uint64, asset string, script []byte, ) explorer.Utxo
NewUnconfidentialWitnessUtxo is the factory for a non-confidential witnessUtxo.
func NewWitnessUtxo ¶
func NewWitnessUtxo( hash string, index uint32, value uint64, asset string, valueCommitment, assetCommitment string, valueBlinder, assetBlinder []byte, script, nonce, rangeProof, surjectionProof []byte, confirmed bool, ) explorer.Utxo
NewWitnessUtxo is the factory for an unblinded confidential witnessUtxo.
Types ¶
type Client ¶
func NewHTTPClient ¶
Click to show internal directories.
Click to hide internal directories.