Learn R Programming

xlm (version 0.1.1)

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(pk, cursor = NULL, limit = 10, order = "asc",
  data.table = TRUE, domain = "public")

Arguments

pk

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.

domain

character - signalling to query the testnet or public network. Can be either "testnet" or "public".

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