ledger

package
v0.0.0-...-56335b4 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseFee

func BaseFee(l xdr.LedgerCloseMeta) uint32

func BaseReserve

func BaseReserve(l xdr.LedgerCloseMeta) uint32

func CloseTime

func CloseTime(l xdr.LedgerCloseMeta) int64

func ClosedAt

func ClosedAt(l xdr.LedgerCloseMeta) time.Time

func FeePool

func FeePool(l xdr.LedgerCloseMeta) int64

func Hash

func Hash(l xdr.LedgerCloseMeta) string

func LedgerVersion

func LedgerVersion(l xdr.LedgerCloseMeta) uint32

func MaxTxSetSize

func MaxTxSetSize(l xdr.LedgerCloseMeta) uint32

func NodeID

func NodeID(l xdr.LedgerCloseMeta) (string, error)

func OperationCounts

func OperationCounts(l xdr.LedgerCloseMeta) (successfulOperationCount, totalOperationCount uint32)

OperationCounts calculates and returns the number of successful operations and the total operations within a LedgerCloseMeta

func PreviousHash

func PreviousHash(l xdr.LedgerCloseMeta) string

func Sequence

func Sequence(l xdr.LedgerCloseMeta) uint32

func Signature

func Signature(l xdr.LedgerCloseMeta) (string, bool)

func SorobanFeeWrite1Kb

func SorobanFeeWrite1Kb(l xdr.LedgerCloseMeta) (int64, bool)

func TotalByteSizeOfBucketList

func TotalByteSizeOfBucketList(l xdr.LedgerCloseMeta) (uint64, bool)

func TotalCoins

func TotalCoins(l xdr.LedgerCloseMeta) int64

func TransactionCounts

func TransactionCounts(l xdr.LedgerCloseMeta) (successTxCount, totalTxCount uint32)

TransactionCounts calculates and returns the number of successful and total transactions

Types

This section is empty.

Jump to

Keyboard shortcuts

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