val r = Server(Network.Mainnet) r.getAccountInfo(GetAccountParams("1234")) .subscribeBy( onNext={ println("no error:") println(it) }, onError={ println("with error:") println(it as? ErrorResponse) } ) r.getAccountTrustLines(GetTrustLinesParams("rrrrrrrrrrrrrrrrrrrrBZbvji")) .subscribe { println(it) } r.submitTx(SubmitTxParams("13lfjhdfkjdhf")) .subscribe { println(it) } r.getTxInfo(GetTxInfoParams("55C99B26DB61307D6003ADA5946F505D70C06259DE11A6A3CFCB321D4D718C43")) .subscribe { println(it) }
-
Notifications
You must be signed in to change notification settings - Fork 1
Latest commit
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
A Kotlin API for interacting with the XRP Ledger
Topics
Resources
Stars
3 stars
Watchers
1 watching