btcscriptparser

package
v0.0.0-...-862ce61 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func P2PKHToAddress

func P2PKHToAddress(outputScriptHex string) (string, error)

P2PKHToAddress (PayToPubKeyHash) retrieves the address from an output's hex locking script

func P2PKToAddress

func P2PKToAddress(outputScriptHex string) (string, error)

P2PKToAddress (PayToPubKey) retrieves the address from an output's hex locking script

func P2SHToAddress

func P2SHToAddress(outputScriptHex string) (string, error)

P2SHToAddress (PayToScriptHash) retrieves the address from an output's hex locking script

func P2WPKHToAddress

func P2WPKHToAddress(outputScriptHex string) (string, error)

P2WPKHToAddress (PayToWitnessPubKeyHash) retrieves the address from an output's hex locking script

func P2WSHToAddress

func P2WSHToAddress(outputScriptHex string) (string, error)

P2WSHToAddress (PayToWitnessScriptHash) retrieves the address from an output's hex locking script

Types

This section is empty.

Jump to

Keyboard shortcuts

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