Learn R Programming

stellaRbase (version 0.1.0)

getPayments_Account: Get an overview of payments on the Stellar ledger.

Description

Returns all payments from valid transactions that affected a particular account. Converts the JSON response to a list.

Usage

getPayments_Account(public_key, cursor = NULL, limit = 10, order = "asc",
  data.table = TRUE)

Arguments

public_key

character - your Stellar account/wallet address.

cursor

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

limit

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

order

character - optional, "asc" or "desc"

data.table

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

Value

data.table (by default) or list

Examples

Run this code
# NOT RUN {
getPayments_Account("GCO2IP3MJNUOKS4PUDI4C7LGGMQDJGXG3COYX3WSB4HHNAHKYV5YL3VC")
# }

Run the code above in your browser using DataLab