Struct stellar_client::resources::Ledger[][src]

pub struct Ledger { /* fields omitted */ }

A ledger represents the state of the Stellar universe at a given point in time. It contains the list of all the accounts and balances, all the orders in the distributed exchange, and any other data that persists. The first ledger in the history of the network is called the genesis ledger.

Methods

impl Ledger
[src]

The unique identifier for this ledger

A paging token suitable for use as the cursor parameter to ledger collection resources.

A hex-encoded SHA-256 hash of the ledger’s XDR-encoded form.

Sequence number of this ledger, suitable for use as the as the :id parameter for url templates that require a ledger number.

The number of transactions in this ledger.

The number of operations in this ledger.

An ISO 8601 formatted string of when this ledger was closed.

The total number of lumens in circulation.

The sum of all transaction fees (in lumens) since the last inflation operation. They are redistributed during inflation.

The fee the network charges per operation in a transaction.

The fee the network charges per operation in a transaction as an amount asset.

The reserve the network uses when calculating an account’s minimum balance.

The reserve the network uses when calculating an account’s minimum balance as an amount asset.

The maximum number of transactions validators have agreed to process in a given ledger.

The protocol version that the stellar network was running when this ledger was committed.

Trait Implementations

impl Debug for Ledger
[src]

Formats the value using the given formatter. Read more

impl Clone for Ledger
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Ledger

impl Sync for Ledger