stellar-sdk 0.8.0 → 0.9.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/{LICENSE.txt → LICENSE} +0 -0
  3. data/README.md +4 -5
  4. data/lib/stellar-sdk.rb +2 -3
  5. data/lib/stellar/account.rb +16 -18
  6. data/lib/stellar/amount.rb +9 -13
  7. data/lib/stellar/client.rb +153 -113
  8. data/lib/stellar/horizon/problem.rb +14 -16
  9. data/lib/stellar/sep10.rb +56 -93
  10. data/lib/stellar/transaction_page.rb +4 -6
  11. data/lib/stellar/version.rb +1 -1
  12. metadata +13 -217
  13. data/.github/CODEOWNERS +0 -2
  14. data/.gitignore +0 -17
  15. data/.travis.yml +0 -20
  16. data/.yardopts +0 -7
  17. data/CONTRIBUTING.md +0 -48
  18. data/Gemfile +0 -14
  19. data/Guardfile +0 -5
  20. data/Rakefile +0 -3
  21. data/examples/01_get_funded.rb +0 -37
  22. data/examples/02_payment.rb +0 -15
  23. data/examples/03_transaction_history.rb +0 -21
  24. data/examples/04_setting_trust.rb +0 -1
  25. data/examples/05_fiat_payment.rb +0 -13
  26. data/examples/06_fund_testnet_friendbot.rb +0 -15
  27. data/examples/07_sep10.rb +0 -125
  28. data/ruby-stellar-sdk.gemspec +0 -35
  29. data/spec/config.yml.sample +0 -12
  30. data/spec/fixtures/vcr_cassettes/Stellar_Account/_lookup/should_handle_404_request_when_performing_federation_lookup.yml +0 -133
  31. data/spec/fixtures/vcr_cassettes/Stellar_Account/_lookup/should_handle_domains_that_are_not_federation_servers.yml +0 -44
  32. data/spec/fixtures/vcr_cassettes/Stellar_Account/_lookup/should_peforms_federation_lookup.yml +0 -85
  33. data/spec/fixtures/vcr_cassettes/Stellar_Client/_account_info/returns_the_current_details_for_the_account.yml +0 -190
  34. data/spec/fixtures/vcr_cassettes/Stellar_Client/_account_merge/merges_source_account_into_destination.yml +0 -714
  35. data/spec/fixtures/vcr_cassettes/Stellar_Client/_change_trust/given_an_asset_described_as_an_array/creates_updates_or_deletes_a_trustline.yml +0 -1156
  36. data/spec/fixtures/vcr_cassettes/Stellar_Client/_create_account/creates_the_account.yml +0 -323
  37. data/spec/fixtures/vcr_cassettes/Stellar_Client/_friendbot/requests_for_XLM_from_a_friendbot.yml +0 -246
  38. data/spec/fixtures/vcr_cassettes/Stellar_Client/_load_account/loads_successfully.yml +0 -226
  39. data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/alphanum12_asset/sends_a_alphanum12_asset_to_the_destination.yml +0 -747
  40. data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/alphanum4_asset/sends_a_alphanum4_asset_to_the_destination.yml +0 -747
  41. data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/memo/accepts_the_memo_attribute.yml +0 -725
  42. data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/native_asset/sends_a_native_payment_to_the_account.yml +0 -562
  43. data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/using_a_payment_channel/sends_a_payment_account_through_a_channel_account.yml +0 -757
  44. data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/using_a_payment_channel/sends_a_payment_when_the_channel_is_the_same_as_from_.yml +0 -642
  45. data/spec/fixtures/vcr_cassettes/Stellar_Client/_transactions/account_transactions/accepts_a_cursor_to_return_less_data.yml +0 -94
  46. data/spec/fixtures/vcr_cassettes/Stellar_Client/_transactions/account_transactions/returns_a_list_of_transaction_for_an_account.yml +0 -94
  47. data/spec/fixtures/vcr_cassettes/Stellar_Client/_transactions/all_transactions/accepts_a_cursor_to_return_less_data.yml +0 -94
  48. data/spec/fixtures/vcr_cassettes/Stellar_Client/_transactions/all_transactions/returns_a_list_of_transactions.yml +0 -94
  49. data/spec/lib/stellar/account_spec.rb +0 -59
  50. data/spec/lib/stellar/amount_spec.rb +0 -70
  51. data/spec/lib/stellar/client_spec.rb +0 -430
  52. data/spec/lib/stellar/sep10_spec.rb +0 -1148
  53. data/spec/spec_helper.rb +0 -14
  54. data/spec/support/config.rb +0 -3
  55. data/spec/support/vcr.rb +0 -10
  56. data/tasks/rspec.rake +0 -6
  57. data/tasks/travis.rake +0 -1
@@ -1,562 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://horizon-testnet.stellar.org/
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Faraday v0.15.2
12
- Accept:
13
- - application/hal+json,application/problem+json,application/json
14
- response:
15
- status:
16
- code: 200
17
- message: OK
18
- headers:
19
- Date:
20
- - Thu, 13 Sep 2018 09:18:17 GMT
21
- Content-Type:
22
- - application/hal+json; charset=utf-8
23
- Connection:
24
- - keep-alive
25
- Set-Cookie:
26
- - __cfduid=d1833a496d2e62cab79ef883bcbc2f7631536830297; expires=Fri, 13-Sep-19
27
- 09:18:17 GMT; path=/; domain=.stellar.org; HttpOnly
28
- Cache-Control:
29
- - no-cache, no-store, max-age=0
30
- Content-Disposition:
31
- - inline
32
- Vary:
33
- - Origin
34
- X-Ratelimit-Limit:
35
- - '17200'
36
- X-Ratelimit-Remaining:
37
- - '17188'
38
- X-Ratelimit-Reset:
39
- - '2303'
40
- Expect-Ct:
41
- - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
42
- Server:
43
- - cloudflare
44
- Cf-Ray:
45
- - 4599868e1cb1aa2c-SIN
46
- body:
47
- encoding: ASCII-8BIT
48
- string: |-
49
- {
50
- "_links": {
51
- "account": {
52
- "href": "https://horizon-testnet.stellar.org/accounts/{account_id}",
53
- "templated": true
54
- },
55
- "account_transactions": {
56
- "href": "https://horizon-testnet.stellar.org/accounts/{account_id}/transactions{?cursor,limit,order}",
57
- "templated": true
58
- },
59
- "assets": {
60
- "href": "https://horizon-testnet.stellar.org/assets{?asset_code,asset_issuer,cursor,limit,order}",
61
- "templated": true
62
- },
63
- "friendbot": {
64
- "href": "https://friendbot.stellar.org/{?addr}",
65
- "templated": true
66
- },
67
- "metrics": {
68
- "href": "https://horizon-testnet.stellar.org/metrics"
69
- },
70
- "order_book": {
71
- "href": "https://horizon-testnet.stellar.org/order_book{?selling_asset_type,selling_asset_code,selling_asset_issuer,buying_asset_type,buying_asset_code,buying_asset_issuer,limit}",
72
- "templated": true
73
- },
74
- "self": {
75
- "href": "https://horizon-testnet.stellar.org/"
76
- },
77
- "transaction": {
78
- "href": "https://horizon-testnet.stellar.org/transactions/{hash}",
79
- "templated": true
80
- },
81
- "transactions": {
82
- "href": "https://horizon-testnet.stellar.org/transactions{?cursor,limit,order}",
83
- "templated": true
84
- }
85
- },
86
- "horizon_version": "0.14.0-81f12a7e313bc469b229cd89c7843a7fc1db9403",
87
- "core_version": "stellar-core 10.0.0 (1fc018b4f52e8c7e716b023ccf30600af5b4f66d)",
88
- "history_latest_ledger": 11030034,
89
- "history_elder_ledger": 1,
90
- "core_latest_ledger": 11030034,
91
- "network_passphrase": "Test SDF Network ; September 2015",
92
- "protocol_version": 10
93
- }
94
- http_version:
95
- recorded_at: Thu, 13 Sep 2018 09:18:17 GMT
96
- - request:
97
- method: get
98
- uri: https://horizon-testnet.stellar.org/accounts/[source_address]
99
- body:
100
- encoding: US-ASCII
101
- string: ''
102
- headers:
103
- User-Agent:
104
- - Faraday v0.15.2
105
- Accept:
106
- - application/hal+json,application/problem+json,application/json
107
- response:
108
- status:
109
- code: 200
110
- message: OK
111
- headers:
112
- Date:
113
- - Thu, 13 Sep 2018 09:18:19 GMT
114
- Content-Type:
115
- - application/hal+json; charset=utf-8
116
- Connection:
117
- - keep-alive
118
- Set-Cookie:
119
- - __cfduid=dbb86d1a7f686af4c42ba7e1fd38020e21536830298; expires=Fri, 13-Sep-19
120
- 09:18:18 GMT; path=/; domain=.stellar.org; HttpOnly
121
- Cache-Control:
122
- - no-cache, no-store, max-age=0
123
- Content-Disposition:
124
- - inline
125
- Vary:
126
- - Origin
127
- X-Ratelimit-Limit:
128
- - '17200'
129
- X-Ratelimit-Remaining:
130
- - '17187'
131
- X-Ratelimit-Reset:
132
- - '2302'
133
- Expect-Ct:
134
- - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
135
- Server:
136
- - cloudflare
137
- Cf-Ray:
138
- - 459986933bcea960-SIN
139
- body:
140
- encoding: ASCII-8BIT
141
- string: |-
142
- {
143
- "_links": {
144
- "self": {
145
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]"
146
- },
147
- "transactions": {
148
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/transactions{?cursor,limit,order}",
149
- "templated": true
150
- },
151
- "operations": {
152
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/operations{?cursor,limit,order}",
153
- "templated": true
154
- },
155
- "payments": {
156
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/payments{?cursor,limit,order}",
157
- "templated": true
158
- },
159
- "effects": {
160
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/effects{?cursor,limit,order}",
161
- "templated": true
162
- },
163
- "offers": {
164
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/offers{?cursor,limit,order}",
165
- "templated": true
166
- },
167
- "trades": {
168
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/trades{?cursor,limit,order}",
169
- "templated": true
170
- },
171
- "data": {
172
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/data/{key}",
173
- "templated": true
174
- }
175
- },
176
- "id": "[source_address]",
177
- "paging_token": "",
178
- "account_id": "[source_address]",
179
- "sequence": "39136008289124450",
180
- "subentry_count": 0,
181
- "thresholds": {
182
- "low_threshold": 0,
183
- "med_threshold": 0,
184
- "high_threshold": 0
185
- },
186
- "flags": {
187
- "auth_required": false,
188
- "auth_revocable": false
189
- },
190
- "balances": [
191
- {
192
- "balance": "9099.9990200",
193
- "buying_liabilities": "0.0000000",
194
- "selling_liabilities": "0.0000000",
195
- "asset_type": "native"
196
- }
197
- ],
198
- "signers": [
199
- {
200
- "public_key": "[source_address]",
201
- "weight": 1,
202
- "key": "[source_address]",
203
- "type": "ed25519_public_key"
204
- }
205
- ],
206
- "data": {}
207
- }
208
- http_version:
209
- recorded_at: Thu, 13 Sep 2018 09:18:19 GMT
210
- - request:
211
- method: post
212
- uri: https://horizon-testnet.stellar.org/transactions
213
- body:
214
- encoding: UTF-8
215
- string: tx=AAAAAJA8Jibp68sQkog4sikMusVOeuhVzZVx9r9Vrb0oBNloAAAAZACLCf4AAABjAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAepECwCoxp0fylsWNA9YK0zPuEcGVuNB66PouDS8nGLsAAAAAO5rKAAAAAAAAAAABKATZaAAAAEByWq95JD072oQsw7sMhB03MqZQ481XJHdlWHdLW1Jz4GYfOGbCHc9fH3c2DT1qGiH%2FZFXDyTcrnz4AyBKp0BAN
216
- headers:
217
- User-Agent:
218
- - Faraday v0.15.2
219
- Accept:
220
- - application/hal+json,application/problem+json,application/json
221
- Content-Type:
222
- - application/x-www-form-urlencoded
223
- response:
224
- status:
225
- code: 200
226
- message: OK
227
- headers:
228
- Date:
229
- - Thu, 13 Sep 2018 09:18:26 GMT
230
- Content-Type:
231
- - application/hal+json; charset=utf-8
232
- Connection:
233
- - keep-alive
234
- Set-Cookie:
235
- - __cfduid=dce39377d1b5a221c870d111b43c71a571536830300; expires=Fri, 13-Sep-19
236
- 09:18:20 GMT; path=/; domain=.stellar.org; HttpOnly
237
- Cache-Control:
238
- - no-cache, no-store, max-age=0
239
- Content-Disposition:
240
- - inline
241
- Vary:
242
- - Origin
243
- X-Ratelimit-Limit:
244
- - '17200'
245
- X-Ratelimit-Remaining:
246
- - '17185'
247
- X-Ratelimit-Reset:
248
- - '2299'
249
- Expect-Ct:
250
- - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
251
- Server:
252
- - cloudflare
253
- Cf-Ray:
254
- - 4599869f7e5fa984-SIN
255
- body:
256
- encoding: ASCII-8BIT
257
- string: |-
258
- {
259
- "_links": {
260
- "transaction": {
261
- "href": "https://horizon-testnet.stellar.org/transactions/c625c3e37a0eeee06c5f41443ec9bc2e00fd3f4c1aed0f5a4d6f3a63fe6dc525"
262
- }
263
- },
264
- "hash": "c625c3e37a0eeee06c5f41443ec9bc2e00fd3f4c1aed0f5a4d6f3a63fe6dc525",
265
- "ledger": 11030036,
266
- "envelope_xdr": "AAAAAJA8Jibp68sQkog4sikMusVOeuhVzZVx9r9Vrb0oBNloAAAAZACLCf4AAABjAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAepECwCoxp0fylsWNA9YK0zPuEcGVuNB66PouDS8nGLsAAAAAO5rKAAAAAAAAAAABKATZaAAAAEByWq95JD072oQsw7sMhB03MqZQ481XJHdlWHdLW1Jz4GYfOGbCHc9fH3c2DT1qGiH/ZFXDyTcrnz4AyBKp0BAN",
267
- "result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA=",
268
- "result_meta_xdr": "AAAAAQAAAAIAAAADAKhOFAAAAAAAAAAAkDwmJunryxCSiDiyKQy6xU566FXNlXH2v1WtvSgE2WgAAAAVMAWnVACLCf4AAABiAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAKhOFAAAAAAAAAAAkDwmJunryxCSiDiyKQy6xU566FXNlXH2v1WtvSgE2WgAAAAVMAWnVACLCf4AAABjAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAwAAAAAAqE4UAAAAAAAAAAB6kQLAKjGnR/KWxY0D1grTM+4RwZW40Hro+i4NLycYuwAAAAA7msoAAKhOFAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAMAqE4UAAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABUwBadUAIsJ/gAAAGMAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEAqE4UAAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABT0at1UAIsJ/gAAAGMAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA=="
269
- }
270
- http_version:
271
- recorded_at: Thu, 13 Sep 2018 09:18:26 GMT
272
- - request:
273
- method: get
274
- uri: https://horizon-testnet.stellar.org/accounts/[source_address]
275
- body:
276
- encoding: US-ASCII
277
- string: ''
278
- headers:
279
- User-Agent:
280
- - Faraday v0.15.2
281
- Accept:
282
- - application/hal+json,application/problem+json,application/json
283
- response:
284
- status:
285
- code: 200
286
- message: OK
287
- headers:
288
- Date:
289
- - Thu, 13 Sep 2018 09:18:28 GMT
290
- Content-Type:
291
- - application/hal+json; charset=utf-8
292
- Connection:
293
- - keep-alive
294
- Set-Cookie:
295
- - __cfduid=d01cae6500bf57f7e3a855724304ec2601536830307; expires=Fri, 13-Sep-19
296
- 09:18:27 GMT; path=/; domain=.stellar.org; HttpOnly
297
- Cache-Control:
298
- - no-cache, no-store, max-age=0
299
- Content-Disposition:
300
- - inline
301
- Vary:
302
- - Origin
303
- X-Ratelimit-Limit:
304
- - '17200'
305
- X-Ratelimit-Remaining:
306
- - '17186'
307
- X-Ratelimit-Reset:
308
- - '2292'
309
- Expect-Ct:
310
- - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
311
- Server:
312
- - cloudflare
313
- Cf-Ray:
314
- - 459986cf480eaa32-SIN
315
- body:
316
- encoding: ASCII-8BIT
317
- string: |-
318
- {
319
- "_links": {
320
- "self": {
321
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]"
322
- },
323
- "transactions": {
324
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/transactions{?cursor,limit,order}",
325
- "templated": true
326
- },
327
- "operations": {
328
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/operations{?cursor,limit,order}",
329
- "templated": true
330
- },
331
- "payments": {
332
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/payments{?cursor,limit,order}",
333
- "templated": true
334
- },
335
- "effects": {
336
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/effects{?cursor,limit,order}",
337
- "templated": true
338
- },
339
- "offers": {
340
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/offers{?cursor,limit,order}",
341
- "templated": true
342
- },
343
- "trades": {
344
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/trades{?cursor,limit,order}",
345
- "templated": true
346
- },
347
- "data": {
348
- "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/data/{key}",
349
- "templated": true
350
- }
351
- },
352
- "id": "[source_address]",
353
- "paging_token": "",
354
- "account_id": "[source_address]",
355
- "sequence": "39136008289124451",
356
- "subentry_count": 0,
357
- "thresholds": {
358
- "low_threshold": 0,
359
- "med_threshold": 0,
360
- "high_threshold": 0
361
- },
362
- "flags": {
363
- "auth_required": false,
364
- "auth_revocable": false
365
- },
366
- "balances": [
367
- {
368
- "balance": "8999.9990100",
369
- "buying_liabilities": "0.0000000",
370
- "selling_liabilities": "0.0000000",
371
- "asset_type": "native"
372
- }
373
- ],
374
- "signers": [
375
- {
376
- "public_key": "[source_address]",
377
- "weight": 1,
378
- "key": "[source_address]",
379
- "type": "ed25519_public_key"
380
- }
381
- ],
382
- "data": {}
383
- }
384
- http_version:
385
- recorded_at: Thu, 13 Sep 2018 09:18:28 GMT
386
- - request:
387
- method: post
388
- uri: https://horizon-testnet.stellar.org/transactions
389
- body:
390
- encoding: UTF-8
391
- string: tx=AAAAAJA8Jibp68sQkog4sikMusVOeuhVzZVx9r9Vrb0oBNloAAAAZACLCf4AAABkAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAepECwCoxp0fylsWNA9YK0zPuEcGVuNB66PouDS8nGLsAAAAAAAAAAFloLwAAAAAAAAAAASgE2WgAAABA6EkilxPX0yc0%2B4NEzZxMbSBt7FKgM1CkGexD3D3JKOAeGx%2FGIbpSntQf6y8YRwA8uCHu5bo2D8I2Ae%2BolheiBg%3D%3D
392
- headers:
393
- User-Agent:
394
- - Faraday v0.15.2
395
- Accept:
396
- - application/hal+json,application/problem+json,application/json
397
- Content-Type:
398
- - application/x-www-form-urlencoded
399
- response:
400
- status:
401
- code: 200
402
- message: OK
403
- headers:
404
- Date:
405
- - Thu, 13 Sep 2018 09:18:39 GMT
406
- Content-Type:
407
- - application/hal+json; charset=utf-8
408
- Connection:
409
- - keep-alive
410
- Set-Cookie:
411
- - __cfduid=d20d22fda7b7878faadbbe6712b1436dc1536830309; expires=Fri, 13-Sep-19
412
- 09:18:29 GMT; path=/; domain=.stellar.org; HttpOnly
413
- Cache-Control:
414
- - no-cache, no-store, max-age=0
415
- Content-Disposition:
416
- - inline
417
- Vary:
418
- - Origin
419
- X-Ratelimit-Limit:
420
- - '17200'
421
- X-Ratelimit-Remaining:
422
- - '17184'
423
- X-Ratelimit-Reset:
424
- - '2289'
425
- Expect-Ct:
426
- - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
427
- Server:
428
- - cloudflare
429
- Cf-Ray:
430
- - 459986dd5dbaa302-HKG
431
- body:
432
- encoding: ASCII-8BIT
433
- string: |-
434
- {
435
- "_links": {
436
- "transaction": {
437
- "href": "https://horizon-testnet.stellar.org/transactions/b6f882305ca3244e126921ea929a9c41fd39e81e31e6ef58517a094d15bb22f7"
438
- }
439
- },
440
- "hash": "b6f882305ca3244e126921ea929a9c41fd39e81e31e6ef58517a094d15bb22f7",
441
- "ledger": 11030038,
442
- "envelope_xdr": "AAAAAJA8Jibp68sQkog4sikMusVOeuhVzZVx9r9Vrb0oBNloAAAAZACLCf4AAABkAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAepECwCoxp0fylsWNA9YK0zPuEcGVuNB66PouDS8nGLsAAAAAAAAAAFloLwAAAAAAAAAAASgE2WgAAABA6EkilxPX0yc0+4NEzZxMbSBt7FKgM1CkGexD3D3JKOAeGx/GIbpSntQf6y8YRwA8uCHu5bo2D8I2Ae+olheiBg==",
443
- "result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAA=",
444
- "result_meta_xdr": "AAAAAQAAAAIAAAADAKhOFgAAAAAAAAAAkDwmJunryxCSiDiyKQy6xU566FXNlXH2v1WtvSgE2WgAAAAU9Grc8ACLCf4AAABjAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAKhOFgAAAAAAAAAAkDwmJunryxCSiDiyKQy6xU566FXNlXH2v1WtvSgE2WgAAAAU9Grc8ACLCf4AAABkAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAABAAAAAMAqE4UAAAAAAAAAAB6kQLAKjGnR/KWxY0D1grTM+4RwZW40Hro+i4NLycYuwAAAAA7msoAAKhOFAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEAqE4WAAAAAAAAAAB6kQLAKjGnR/KWxY0D1grTM+4RwZW40Hro+i4NLycYuwAAAACVAvkAAKhOFAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAMAqE4WAAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABT0atzwAIsJ/gAAAGQAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEAqE4WAAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABSbAq3wAIsJ/gAAAGQAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA=="
445
- }
446
- http_version:
447
- recorded_at: Thu, 13 Sep 2018 09:18:39 GMT
448
- - request:
449
- method: get
450
- uri: https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG
451
- body:
452
- encoding: US-ASCII
453
- string: ''
454
- headers:
455
- User-Agent:
456
- - Faraday v0.15.2
457
- Accept:
458
- - application/hal+json,application/problem+json,application/json
459
- response:
460
- status:
461
- code: 200
462
- message: OK
463
- headers:
464
- Date:
465
- - Thu, 13 Sep 2018 09:18:41 GMT
466
- Content-Type:
467
- - application/hal+json; charset=utf-8
468
- Connection:
469
- - keep-alive
470
- Set-Cookie:
471
- - __cfduid=d3822694aeeae8b689752fbb4646923db1536830320; expires=Fri, 13-Sep-19
472
- 09:18:40 GMT; path=/; domain=.stellar.org; HttpOnly
473
- Cache-Control:
474
- - no-cache, no-store, max-age=0
475
- Content-Disposition:
476
- - inline
477
- Vary:
478
- - Origin
479
- X-Ratelimit-Limit:
480
- - '17200'
481
- X-Ratelimit-Remaining:
482
- - '17185'
483
- X-Ratelimit-Reset:
484
- - '2280'
485
- Expect-Ct:
486
- - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
487
- Server:
488
- - cloudflare
489
- Cf-Ray:
490
- - 4599871e1ace84c6-HKG
491
- body:
492
- encoding: ASCII-8BIT
493
- string: |-
494
- {
495
- "_links": {
496
- "self": {
497
- "href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG"
498
- },
499
- "transactions": {
500
- "href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG/transactions{?cursor,limit,order}",
501
- "templated": true
502
- },
503
- "operations": {
504
- "href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG/operations{?cursor,limit,order}",
505
- "templated": true
506
- },
507
- "payments": {
508
- "href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG/payments{?cursor,limit,order}",
509
- "templated": true
510
- },
511
- "effects": {
512
- "href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG/effects{?cursor,limit,order}",
513
- "templated": true
514
- },
515
- "offers": {
516
- "href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG/offers{?cursor,limit,order}",
517
- "templated": true
518
- },
519
- "trades": {
520
- "href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG/trades{?cursor,limit,order}",
521
- "templated": true
522
- },
523
- "data": {
524
- "href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG/data/{key}",
525
- "templated": true
526
- }
527
- },
528
- "id": "GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG",
529
- "paging_token": "",
530
- "account_id": "GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG",
531
- "sequence": "47373643893702656",
532
- "subentry_count": 0,
533
- "thresholds": {
534
- "low_threshold": 0,
535
- "med_threshold": 0,
536
- "high_threshold": 0
537
- },
538
- "flags": {
539
- "auth_required": false,
540
- "auth_revocable": false
541
- },
542
- "balances": [
543
- {
544
- "balance": "250.0000000",
545
- "buying_liabilities": "0.0000000",
546
- "selling_liabilities": "0.0000000",
547
- "asset_type": "native"
548
- }
549
- ],
550
- "signers": [
551
- {
552
- "public_key": "GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG",
553
- "weight": 1,
554
- "key": "GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG",
555
- "type": "ed25519_public_key"
556
- }
557
- ],
558
- "data": {}
559
- }
560
- http_version:
561
- recorded_at: Thu, 13 Sep 2018 09:18:41 GMT
562
- recorded_with: VCR 3.0.3