Learn R Programming

xlm (version 0.1.1)

Ledger: Ledger object.

Description

An R6 class representing a Ledger on the Stellar network. It is initialized from the getLedgerDetail() function.

Usage

Ledger

Arguments

Format

An object of class R6ClassGenerator of length 24.

Fields

hash

- a cryptographic signature of all of the data inside the ledger.

sequence

- the current sequence number of the ledger

transaction_count

- how many transactions in the ledger.

closed_at

- when the transaction was confirmed.

total_coins

- how many lumens existed on the network at the time the ledger was confirmed.

response

- list containing the raw JSON response.

Examples

Run this code
# NOT RUN {
genesis <- Ledger$new("1")
genesis$effects()
# }

Run the code above in your browser using DataLab