Transaction

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction

type Transaction struct {
	TransactionBody       TransactionBody.TransactionBody
	TransactionWitnessSet TransactionWitnessSet.TransactionWitnessSet
	Valid                 bool
	AuxiliaryData         *Metadata.AuxiliaryData
	// contains filtered or unexported fields
}

func (*Transaction) Bytes added in v1.0.3

func (tx *Transaction) Bytes() ([]byte, error)

*

Bytes returns the CBOR-encoded byte representation
of the Transaction.

Returns:
	[]byte: The CBOR-encoded transaction bytes.
	error: An error if the Bytes fails.

func (*Transaction) Id

*

Id returns the unique identifier for the transaction.

Returns:
	serialization.TransactionId: The transaction ID.

Jump to

Keyboard shortcuts

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