Learn R Programming

xlm (version 0.1.1)

friendbot: Creates and fund a new account on the test network.

Description

Make a call to the Friendbot service on the test network and fund an account. Returns a JSON response.

Usage

friendbot(account)

Arguments

account

character - the public key of the account you wish to fund.

Value

list

Examples

Run this code
# NOT RUN {
friendbot("GAKYVLEN4MFPQ2R5Y4BA5RSJ7U5R2HGOK3VJ5PEUTLOHKTCBGCJZSHOS")
# }

Run the code above in your browser using DataLab