Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeEmpty = 0 TypeP2PK = 1 TypeP2PKH = 2 TypeP2WPKH = 3 TypeBech32 = 4 TypeMultiSig = 5 )
View Source
const ( Type_Empty = "Empty" Type_P2PK = "P2PK" Type_P2PKH = "P2PKH" Type_P2PSH = "P2PSH" Type_P2WPKH = "P2WPKH" Type_Bech32 = "Bech32" Type_MultiSig = "MultiSig" Type_NullData = "NullData" )
Variables ¶
This section is empty.
Functions ¶
func GetTxNewHash ¶
Types ¶
type RawTransaction ¶
type RawTransaction struct { TxID string Size uint64 Hex string BlockHash string BlockHeight uint64 Confirmations uint64 Blocktime int64 Version []byte Vins []TxIn Vouts []TxOut LockTime []byte Witness bool // contains filtered or unexported fields }
func DecodeRawTransaction ¶
func DecodeRawTransaction(txBytes []byte) (*RawTransaction, error)
type TxIn ¶
func (TxIn) GetScriptSig ¶
func (TxIn) GetSequence ¶
func (TxIn) GetUTXOType ¶
func (TxIn) GetUTXOTypeStr ¶
Click to show internal directories.
Click to hide internal directories.