stellar-sdk 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +4 -0
- data/CHANGELOG.md +10 -2
- data/README.md +6 -0
- data/lib/stellar/client.rb +21 -6
- data/lib/stellar/version.rb +1 -1
- data/ruby-stellar-sdk.gemspec +1 -1
- data/spec/config.yml.sample +5 -0
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/alphanum12_asset/sends_a_alphanum12_asset_to_the_destination.yml +146 -136
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/alphanum4_asset/sends_a_alphanum4_asset_to_the_destination.yml +146 -136
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/memo/accepts_the_memo_attribute.yml +716 -0
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/native_asset/sends_a_native_payment_to_the_account.yml +198 -105
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/using_a_payment_channel/sends_a_payment_account_through_a_channel_account.yml +694 -0
- 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 +586 -0
- data/spec/lib/stellar/client_spec.rb +90 -0
- data/spec/support/vcr.rb +1 -1
- metadata +11 -5
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.
|
11
|
+
- Faraday v0.15.2
|
12
12
|
Accept:
|
13
13
|
- application/hal+json,application/problem+json,application/json
|
14
14
|
response:
|
@@ -16,22 +16,35 @@ http_interactions:
|
|
16
16
|
code: 200
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
|
+
Date:
|
20
|
+
- Thu, 13 Sep 2018 09:18:17 GMT
|
19
21
|
Content-Type:
|
20
22
|
- application/hal+json; charset=utf-8
|
21
|
-
|
22
|
-
-
|
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
|
23
34
|
X-Ratelimit-Limit:
|
24
|
-
- '
|
35
|
+
- '17200'
|
25
36
|
X-Ratelimit-Remaining:
|
26
|
-
- '
|
37
|
+
- '17188'
|
27
38
|
X-Ratelimit-Reset:
|
28
|
-
- '
|
29
|
-
|
30
|
-
-
|
31
|
-
|
32
|
-
-
|
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
|
33
46
|
body:
|
34
|
-
encoding:
|
47
|
+
encoding: ASCII-8BIT
|
35
48
|
string: |-
|
36
49
|
{
|
37
50
|
"_links": {
|
@@ -43,15 +56,19 @@ http_interactions:
|
|
43
56
|
"href": "https://horizon-testnet.stellar.org/accounts/{account_id}/transactions{?cursor,limit,order}",
|
44
57
|
"templated": true
|
45
58
|
},
|
59
|
+
"assets": {
|
60
|
+
"href": "https://horizon-testnet.stellar.org/assets{?asset_code,asset_issuer,cursor,limit,order}",
|
61
|
+
"templated": true
|
62
|
+
},
|
46
63
|
"friendbot": {
|
47
|
-
"href": "https://
|
64
|
+
"href": "https://friendbot.stellar.org/{?addr}",
|
48
65
|
"templated": true
|
49
66
|
},
|
50
67
|
"metrics": {
|
51
68
|
"href": "https://horizon-testnet.stellar.org/metrics"
|
52
69
|
},
|
53
70
|
"order_book": {
|
54
|
-
"href": "https://horizon-testnet.stellar.org/order_book{?selling_asset_type,selling_asset_code,
|
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}",
|
55
72
|
"templated": true
|
56
73
|
},
|
57
74
|
"self": {
|
@@ -66,17 +83,16 @@ http_interactions:
|
|
66
83
|
"templated": true
|
67
84
|
}
|
68
85
|
},
|
69
|
-
"horizon_version": "
|
70
|
-
"core_version": "
|
71
|
-
"history_latest_ledger":
|
86
|
+
"horizon_version": "0.14.0-81f12a7e313bc469b229cd89c7843a7fc1db9403",
|
87
|
+
"core_version": "stellar-core 10.0.0 (1fc018b4f52e8c7e716b023ccf30600af5b4f66d)",
|
88
|
+
"history_latest_ledger": 11030034,
|
72
89
|
"history_elder_ledger": 1,
|
73
|
-
"core_latest_ledger":
|
74
|
-
"core_elder_ledger": 1,
|
90
|
+
"core_latest_ledger": 11030034,
|
75
91
|
"network_passphrase": "Test SDF Network ; September 2015",
|
76
|
-
"protocol_version":
|
92
|
+
"protocol_version": 10
|
77
93
|
}
|
78
94
|
http_version:
|
79
|
-
recorded_at:
|
95
|
+
recorded_at: Thu, 13 Sep 2018 09:18:17 GMT
|
80
96
|
- request:
|
81
97
|
method: get
|
82
98
|
uri: https://horizon-testnet.stellar.org/accounts/[source_address]
|
@@ -85,7 +101,7 @@ http_interactions:
|
|
85
101
|
string: ''
|
86
102
|
headers:
|
87
103
|
User-Agent:
|
88
|
-
- Faraday v0.
|
104
|
+
- Faraday v0.15.2
|
89
105
|
Accept:
|
90
106
|
- application/hal+json,application/problem+json,application/json
|
91
107
|
response:
|
@@ -93,20 +109,35 @@ http_interactions:
|
|
93
109
|
code: 200
|
94
110
|
message: OK
|
95
111
|
headers:
|
112
|
+
Date:
|
113
|
+
- Thu, 13 Sep 2018 09:18:19 GMT
|
96
114
|
Content-Type:
|
97
115
|
- application/hal+json; charset=utf-8
|
98
|
-
|
99
|
-
-
|
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
|
100
127
|
X-Ratelimit-Limit:
|
101
|
-
- '
|
128
|
+
- '17200'
|
102
129
|
X-Ratelimit-Remaining:
|
103
|
-
- '
|
130
|
+
- '17187'
|
104
131
|
X-Ratelimit-Reset:
|
105
|
-
- '
|
106
|
-
|
107
|
-
-
|
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
|
108
139
|
body:
|
109
|
-
encoding:
|
140
|
+
encoding: ASCII-8BIT
|
110
141
|
string: |-
|
111
142
|
{
|
112
143
|
"_links": {
|
@@ -145,7 +176,7 @@ http_interactions:
|
|
145
176
|
"id": "[source_address]",
|
146
177
|
"paging_token": "",
|
147
178
|
"account_id": "[source_address]",
|
148
|
-
"sequence": "
|
179
|
+
"sequence": "39136008289124450",
|
149
180
|
"subentry_count": 0,
|
150
181
|
"thresholds": {
|
151
182
|
"low_threshold": 0,
|
@@ -158,7 +189,9 @@ http_interactions:
|
|
158
189
|
},
|
159
190
|
"balances": [
|
160
191
|
{
|
161
|
-
"balance": "
|
192
|
+
"balance": "9099.9990200",
|
193
|
+
"buying_liabilities": "0.0000000",
|
194
|
+
"selling_liabilities": "0.0000000",
|
162
195
|
"asset_type": "native"
|
163
196
|
}
|
164
197
|
],
|
@@ -173,16 +206,16 @@ http_interactions:
|
|
173
206
|
"data": {}
|
174
207
|
}
|
175
208
|
http_version:
|
176
|
-
recorded_at:
|
209
|
+
recorded_at: Thu, 13 Sep 2018 09:18:19 GMT
|
177
210
|
- request:
|
178
211
|
method: post
|
179
212
|
uri: https://horizon-testnet.stellar.org/transactions
|
180
213
|
body:
|
181
214
|
encoding: UTF-8
|
182
|
-
string: tx=
|
215
|
+
string: tx=AAAAAJA8Jibp68sQkog4sikMusVOeuhVzZVx9r9Vrb0oBNloAAAAZACLCf4AAABjAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAepECwCoxp0fylsWNA9YK0zPuEcGVuNB66PouDS8nGLsAAAAAO5rKAAAAAAAAAAABKATZaAAAAEByWq95JD072oQsw7sMhB03MqZQ481XJHdlWHdLW1Jz4GYfOGbCHc9fH3c2DT1qGiH%2FZFXDyTcrnz4AyBKp0BAN
|
183
216
|
headers:
|
184
217
|
User-Agent:
|
185
|
-
- Faraday v0.
|
218
|
+
- Faraday v0.15.2
|
186
219
|
Accept:
|
187
220
|
- application/hal+json,application/problem+json,application/json
|
188
221
|
Content-Type:
|
@@ -192,37 +225,50 @@ http_interactions:
|
|
192
225
|
code: 200
|
193
226
|
message: OK
|
194
227
|
headers:
|
228
|
+
Date:
|
229
|
+
- Thu, 13 Sep 2018 09:18:26 GMT
|
195
230
|
Content-Type:
|
196
231
|
- application/hal+json; charset=utf-8
|
197
|
-
|
198
|
-
-
|
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
|
199
243
|
X-Ratelimit-Limit:
|
200
|
-
- '
|
244
|
+
- '17200'
|
201
245
|
X-Ratelimit-Remaining:
|
202
|
-
- '
|
246
|
+
- '17185'
|
203
247
|
X-Ratelimit-Reset:
|
204
|
-
- '
|
205
|
-
|
206
|
-
-
|
207
|
-
|
208
|
-
-
|
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
|
209
255
|
body:
|
210
|
-
encoding:
|
256
|
+
encoding: ASCII-8BIT
|
211
257
|
string: |-
|
212
258
|
{
|
213
259
|
"_links": {
|
214
260
|
"transaction": {
|
215
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
261
|
+
"href": "https://horizon-testnet.stellar.org/transactions/c625c3e37a0eeee06c5f41443ec9bc2e00fd3f4c1aed0f5a4d6f3a63fe6dc525"
|
216
262
|
}
|
217
263
|
},
|
218
|
-
"hash": "
|
219
|
-
"ledger":
|
220
|
-
"envelope_xdr": "
|
221
|
-
"result_xdr": "
|
222
|
-
"result_meta_xdr": "
|
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=="
|
223
269
|
}
|
224
270
|
http_version:
|
225
|
-
recorded_at:
|
271
|
+
recorded_at: Thu, 13 Sep 2018 09:18:26 GMT
|
226
272
|
- request:
|
227
273
|
method: get
|
228
274
|
uri: https://horizon-testnet.stellar.org/accounts/[source_address]
|
@@ -231,7 +277,7 @@ http_interactions:
|
|
231
277
|
string: ''
|
232
278
|
headers:
|
233
279
|
User-Agent:
|
234
|
-
- Faraday v0.
|
280
|
+
- Faraday v0.15.2
|
235
281
|
Accept:
|
236
282
|
- application/hal+json,application/problem+json,application/json
|
237
283
|
response:
|
@@ -239,20 +285,35 @@ http_interactions:
|
|
239
285
|
code: 200
|
240
286
|
message: OK
|
241
287
|
headers:
|
288
|
+
Date:
|
289
|
+
- Thu, 13 Sep 2018 09:18:28 GMT
|
242
290
|
Content-Type:
|
243
291
|
- application/hal+json; charset=utf-8
|
244
|
-
|
245
|
-
-
|
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
|
246
303
|
X-Ratelimit-Limit:
|
247
|
-
- '
|
304
|
+
- '17200'
|
248
305
|
X-Ratelimit-Remaining:
|
249
|
-
- '
|
306
|
+
- '17186'
|
250
307
|
X-Ratelimit-Reset:
|
251
|
-
- '
|
252
|
-
|
253
|
-
-
|
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
|
254
315
|
body:
|
255
|
-
encoding:
|
316
|
+
encoding: ASCII-8BIT
|
256
317
|
string: |-
|
257
318
|
{
|
258
319
|
"_links": {
|
@@ -291,7 +352,7 @@ http_interactions:
|
|
291
352
|
"id": "[source_address]",
|
292
353
|
"paging_token": "",
|
293
354
|
"account_id": "[source_address]",
|
294
|
-
"sequence": "
|
355
|
+
"sequence": "39136008289124451",
|
295
356
|
"subentry_count": 0,
|
296
357
|
"thresholds": {
|
297
358
|
"low_threshold": 0,
|
@@ -304,7 +365,9 @@ http_interactions:
|
|
304
365
|
},
|
305
366
|
"balances": [
|
306
367
|
{
|
307
|
-
"balance": "
|
368
|
+
"balance": "8999.9990100",
|
369
|
+
"buying_liabilities": "0.0000000",
|
370
|
+
"selling_liabilities": "0.0000000",
|
308
371
|
"asset_type": "native"
|
309
372
|
}
|
310
373
|
],
|
@@ -319,16 +382,16 @@ http_interactions:
|
|
319
382
|
"data": {}
|
320
383
|
}
|
321
384
|
http_version:
|
322
|
-
recorded_at:
|
385
|
+
recorded_at: Thu, 13 Sep 2018 09:18:28 GMT
|
323
386
|
- request:
|
324
387
|
method: post
|
325
388
|
uri: https://horizon-testnet.stellar.org/transactions
|
326
389
|
body:
|
327
390
|
encoding: UTF-8
|
328
|
-
string: tx=
|
391
|
+
string: tx=AAAAAJA8Jibp68sQkog4sikMusVOeuhVzZVx9r9Vrb0oBNloAAAAZACLCf4AAABkAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAepECwCoxp0fylsWNA9YK0zPuEcGVuNB66PouDS8nGLsAAAAAAAAAAFloLwAAAAAAAAAAASgE2WgAAABA6EkilxPX0yc0%2B4NEzZxMbSBt7FKgM1CkGexD3D3JKOAeGx%2FGIbpSntQf6y8YRwA8uCHu5bo2D8I2Ae%2BolheiBg%3D%3D
|
329
392
|
headers:
|
330
393
|
User-Agent:
|
331
|
-
- Faraday v0.
|
394
|
+
- Faraday v0.15.2
|
332
395
|
Accept:
|
333
396
|
- application/hal+json,application/problem+json,application/json
|
334
397
|
Content-Type:
|
@@ -338,46 +401,59 @@ http_interactions:
|
|
338
401
|
code: 200
|
339
402
|
message: OK
|
340
403
|
headers:
|
404
|
+
Date:
|
405
|
+
- Thu, 13 Sep 2018 09:18:39 GMT
|
341
406
|
Content-Type:
|
342
407
|
- application/hal+json; charset=utf-8
|
343
|
-
|
344
|
-
-
|
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
|
345
419
|
X-Ratelimit-Limit:
|
346
|
-
- '
|
420
|
+
- '17200'
|
347
421
|
X-Ratelimit-Remaining:
|
348
|
-
- '
|
422
|
+
- '17184'
|
349
423
|
X-Ratelimit-Reset:
|
350
|
-
- '
|
351
|
-
|
352
|
-
-
|
353
|
-
|
354
|
-
-
|
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
|
355
431
|
body:
|
356
|
-
encoding:
|
432
|
+
encoding: ASCII-8BIT
|
357
433
|
string: |-
|
358
434
|
{
|
359
435
|
"_links": {
|
360
436
|
"transaction": {
|
361
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
437
|
+
"href": "https://horizon-testnet.stellar.org/transactions/b6f882305ca3244e126921ea929a9c41fd39e81e31e6ef58517a094d15bb22f7"
|
362
438
|
}
|
363
439
|
},
|
364
|
-
"hash": "
|
365
|
-
"ledger":
|
366
|
-
"envelope_xdr": "
|
440
|
+
"hash": "b6f882305ca3244e126921ea929a9c41fd39e81e31e6ef58517a094d15bb22f7",
|
441
|
+
"ledger": 11030038,
|
442
|
+
"envelope_xdr": "AAAAAJA8Jibp68sQkog4sikMusVOeuhVzZVx9r9Vrb0oBNloAAAAZACLCf4AAABkAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAepECwCoxp0fylsWNA9YK0zPuEcGVuNB66PouDS8nGLsAAAAAAAAAAFloLwAAAAAAAAAAASgE2WgAAABA6EkilxPX0yc0+4NEzZxMbSBt7FKgM1CkGexD3D3JKOAeGx/GIbpSntQf6y8YRwA8uCHu5bo2D8I2Ae+olheiBg==",
|
367
443
|
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAA=",
|
368
|
-
"result_meta_xdr": "
|
444
|
+
"result_meta_xdr": "AAAAAQAAAAIAAAADAKhOFgAAAAAAAAAAkDwmJunryxCSiDiyKQy6xU566FXNlXH2v1WtvSgE2WgAAAAU9Grc8ACLCf4AAABjAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAKhOFgAAAAAAAAAAkDwmJunryxCSiDiyKQy6xU566FXNlXH2v1WtvSgE2WgAAAAU9Grc8ACLCf4AAABkAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAABAAAAAMAqE4UAAAAAAAAAAB6kQLAKjGnR/KWxY0D1grTM+4RwZW40Hro+i4NLycYuwAAAAA7msoAAKhOFAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEAqE4WAAAAAAAAAAB6kQLAKjGnR/KWxY0D1grTM+4RwZW40Hro+i4NLycYuwAAAACVAvkAAKhOFAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAMAqE4WAAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABT0atzwAIsJ/gAAAGQAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEAqE4WAAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABSbAq3wAIsJ/gAAAGQAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA=="
|
369
445
|
}
|
370
446
|
http_version:
|
371
|
-
recorded_at:
|
447
|
+
recorded_at: Thu, 13 Sep 2018 09:18:39 GMT
|
372
448
|
- request:
|
373
449
|
method: get
|
374
|
-
uri: https://horizon-testnet.stellar.org/accounts/
|
450
|
+
uri: https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG
|
375
451
|
body:
|
376
452
|
encoding: US-ASCII
|
377
453
|
string: ''
|
378
454
|
headers:
|
379
455
|
User-Agent:
|
380
|
-
- Faraday v0.
|
456
|
+
- Faraday v0.15.2
|
381
457
|
Accept:
|
382
458
|
- application/hal+json,application/problem+json,application/json
|
383
459
|
response:
|
@@ -385,59 +461,74 @@ http_interactions:
|
|
385
461
|
code: 200
|
386
462
|
message: OK
|
387
463
|
headers:
|
464
|
+
Date:
|
465
|
+
- Thu, 13 Sep 2018 09:18:41 GMT
|
388
466
|
Content-Type:
|
389
467
|
- application/hal+json; charset=utf-8
|
390
|
-
|
391
|
-
-
|
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
|
392
479
|
X-Ratelimit-Limit:
|
393
|
-
- '
|
480
|
+
- '17200'
|
394
481
|
X-Ratelimit-Remaining:
|
395
|
-
- '
|
482
|
+
- '17185'
|
396
483
|
X-Ratelimit-Reset:
|
397
|
-
- '
|
398
|
-
|
399
|
-
-
|
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
|
400
491
|
body:
|
401
|
-
encoding:
|
492
|
+
encoding: ASCII-8BIT
|
402
493
|
string: |-
|
403
494
|
{
|
404
495
|
"_links": {
|
405
496
|
"self": {
|
406
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
497
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG"
|
407
498
|
},
|
408
499
|
"transactions": {
|
409
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
500
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG/transactions{?cursor,limit,order}",
|
410
501
|
"templated": true
|
411
502
|
},
|
412
503
|
"operations": {
|
413
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
504
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG/operations{?cursor,limit,order}",
|
414
505
|
"templated": true
|
415
506
|
},
|
416
507
|
"payments": {
|
417
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
508
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG/payments{?cursor,limit,order}",
|
418
509
|
"templated": true
|
419
510
|
},
|
420
511
|
"effects": {
|
421
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
512
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG/effects{?cursor,limit,order}",
|
422
513
|
"templated": true
|
423
514
|
},
|
424
515
|
"offers": {
|
425
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
516
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG/offers{?cursor,limit,order}",
|
426
517
|
"templated": true
|
427
518
|
},
|
428
519
|
"trades": {
|
429
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
520
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG/trades{?cursor,limit,order}",
|
430
521
|
"templated": true
|
431
522
|
},
|
432
523
|
"data": {
|
433
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
524
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG/data/{key}",
|
434
525
|
"templated": true
|
435
526
|
}
|
436
527
|
},
|
437
|
-
"id": "
|
528
|
+
"id": "GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG",
|
438
529
|
"paging_token": "",
|
439
|
-
"account_id": "
|
440
|
-
"sequence": "
|
530
|
+
"account_id": "GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG",
|
531
|
+
"sequence": "47373643893702656",
|
441
532
|
"subentry_count": 0,
|
442
533
|
"thresholds": {
|
443
534
|
"low_threshold": 0,
|
@@ -451,19 +542,21 @@ http_interactions:
|
|
451
542
|
"balances": [
|
452
543
|
{
|
453
544
|
"balance": "250.0000000",
|
545
|
+
"buying_liabilities": "0.0000000",
|
546
|
+
"selling_liabilities": "0.0000000",
|
454
547
|
"asset_type": "native"
|
455
548
|
}
|
456
549
|
],
|
457
550
|
"signers": [
|
458
551
|
{
|
459
|
-
"public_key": "
|
552
|
+
"public_key": "GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG",
|
460
553
|
"weight": 1,
|
461
|
-
"key": "
|
554
|
+
"key": "GB5JCAWAFIY2OR7SS3CY2A6WBLJTH3QRYGK3RUD25D5C4DJPE4MLW2IG",
|
462
555
|
"type": "ed25519_public_key"
|
463
556
|
}
|
464
557
|
],
|
465
558
|
"data": {}
|
466
559
|
}
|
467
560
|
http_version:
|
468
|
-
recorded_at:
|
561
|
+
recorded_at: Thu, 13 Sep 2018 09:18:41 GMT
|
469
562
|
recorded_with: VCR 3.0.3
|