Description Usage Arguments Value Note Examples
Get the first n records, most recent n records or records from a range.
1 2 |
endpoint |
character - one of: payments, operations, effects, trades, transactions, ledgers. |
n |
numeric - the number of *pages* of records to return. Default is 1, maximum is currently 3600 due to the rate limit for the Horizon API. Each "page" will return 200 records. |
order |
character - optional, "asc" or "desc" |
data.table |
boolean - if TRUE, a data.table is returned. If FALSE or NULL, a list is returned. |
verbose |
boolean - if TRUE, the results and number of rows returned will be printed to the console. |
data.table
https://www.stellar.org/developers/horizon/reference/paging.html
1 | collect(endpoint = "ledgers", n = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.