Documentation ¶
Index ¶
- func NewConfidentialWitnessUtxo(hash string, index uint32, valueCommitment, assetCommitment string, ...) explorer.Utxo
- func NewService(apiURL string) (explorer.Service, 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
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 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 ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.