esplora

package
v0.2.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2021 License: MIT Imports: 14 Imported by: 1

Documentation

Index

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

func NewService(apiURL string) (explorer.Service, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL