getAssets: Returns all assets.

Description Usage Arguments Value Note Examples

Description

Return all assets in the system with statistics.

Usage

1
2
getAssets(limit, cursor = NULL, asset_code = "", asset_issuer = "",
  order = "asc", data.table = TRUE, domain = "public")

Arguments

limit

numeric - the number of records to return. Default is 10.

cursor

numeric - optional, a paging token - where to start from. Can also be "now".

asset_code

character - (optional) code of the asset to filter by

asset_issuer

character - (optional) issuer of the asset to filter by

order

character - optional, "asc" or "desc"

data.table

boolean - if TRUE, a data.table is returned. If FALSE or NULL, a list is returned.

domain

character - signalling to query the testnet or public network. Can be either "testnet" or "public". boolean - if TRUE, a data.table is overwritten and the server-side streaming capability is utilised. A list will be returned.

Value

list

Note

https://www.stellar.org/developers/horizon/reference/endpoints/assets-all.html

Examples

1
getAssets(10, domain = "testnet")

froocpu/xlm documentation built on May 13, 2019, 4:02 a.m.