btc

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BTCParser

type BTCParser struct {
	// contains filtered or unexported fields
}

BTCParser is the BTC chain parser

func NewBTCParser

func NewBTCParser(config *decoder.ParserConfig) *BTCParser

NewBTCParser creates a BTC parser

func (*BTCParser) GetChainName

func (p *BTCParser) GetChainName() string

GetChainName returns the chain name

func (*BTCParser) ParseTransaction

func (p *BTCParser) ParseTransaction(txBytes []byte, chainParams interface{}) ([]*decoder.Pin, error)

ParseTransaction parses a BTC transaction

Jump to

Keyboard shortcuts

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