common

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operation

type Operation struct {
	TransactionEnvelope *xdr.TransactionEnvelope
	TransactionResult   *xdr.TransactionResult
	LedgerHeader        *xdr.LedgerHeader
	OpIndex             int32
	TxIndex             int32
}

func (*Operation) Get

func (o *Operation) Get() *xdr.Operation

func (*Operation) OperationResult

func (o *Operation) OperationResult() *xdr.OperationResultTr

func (*Operation) SourceAccount

func (o *Operation) SourceAccount() xdr.AccountId

func (*Operation) TOID

func (o *Operation) TOID() int64

func (*Operation) TransactionHash

func (o *Operation) TransactionHash() (string, error)

type Transaction

type Transaction struct {
	*ingester.LedgerTransaction
	LedgerHeader *xdr.LedgerHeader
	TxIndex      int32

	NetworkPassphrase string
}

func (*Transaction) HasPreconditions

func (tx *Transaction) HasPreconditions() bool

func (*Transaction) SourceAccount

func (o *Transaction) SourceAccount() xdr.MuxedAccount

func (*Transaction) TOID

func (tx *Transaction) TOID() int64

func (*Transaction) TransactionHash

func (tx *Transaction) TransactionHash() (string, error)

Jump to

Keyboard shortcuts

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