stellar-sdk 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.9.2
11
+ - Faraday v0.15.1
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, 17 May 2018 07:34:10 GMT
19
21
  Content-Type:
20
22
  - application/hal+json; charset=utf-8
21
- Date:
22
- - Sun, 26 Mar 2017 07:29:42 GMT
23
- X-Ratelimit-Limit:
24
- - '72000'
25
- X-Ratelimit-Remaining:
26
- - '71932'
27
- X-Ratelimit-Reset:
28
- - '2103'
29
23
  Content-Length:
30
- - '1366'
24
+ - '1545'
31
25
  Connection:
32
26
  - keep-alive
27
+ Set-Cookie:
28
+ - __cfduid=d742c23a7db3029b33f185769b109b0361526542450; expires=Fri, 17-May-19
29
+ 07:34:10 GMT; path=/; domain=.stellar.org; HttpOnly
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
+ - '3267'
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
+ - 41c4666b9a20a9ba-SIN
33
46
  body:
34
- encoding: UTF-8
47
+ encoding: ASCII-8BIT
35
48
  string: |-
36
49
  {
37
50
  "_links": {
@@ -43,6 +56,10 @@ 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
64
  "href": "https://horizon-testnet.stellar.org/friendbot{?addr}",
48
65
  "templated": true
@@ -51,7 +68,7 @@ http_interactions:
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,selling_issuer,buying_asset_type,buying_asset_code,buying_issuer}",
71
+ "href": "https://horizon-testnet.stellar.org/order_book{?selling_asset_type,selling_asset_code,selling_issuer,buying_asset_type,buying_asset_code,buying_issuer,limit}",
55
72
  "templated": true
56
73
  },
57
74
  "self": {
@@ -66,26 +83,25 @@ http_interactions:
66
83
  "templated": true
67
84
  }
68
85
  },
69
- "horizon_version": "v0.10.0-3-g50eda21",
70
- "core_version": "v0.6.1-2-g12a1603",
71
- "history_latest_ledger": 124871,
86
+ "horizon_version": "snapshot-cfa216c",
87
+ "core_version": "stellar-core 9.2.0rc6 (b0923f153b86d394a83b2a619db6b23f07ed0700)",
88
+ "history_latest_ledger": 9007850,
72
89
  "history_elder_ledger": 1,
73
- "core_latest_ledger": 124872,
74
- "core_elder_ledger": 1,
90
+ "core_latest_ledger": 9007850,
75
91
  "network_passphrase": "Test SDF Network ; September 2015",
76
- "protocol_version": 4
92
+ "protocol_version": 9
77
93
  }
78
94
  http_version:
79
- recorded_at: Sun, 26 Mar 2017 07:29:41 GMT
95
+ recorded_at: Thu, 17 May 2018 07:34:10 GMT
80
96
  - request:
81
97
  method: get
82
- uri: https://horizon-testnet.stellar.org/accounts/[destination_address]
98
+ uri: https://horizon-testnet.stellar.org/accounts/[source_address]
83
99
  body:
84
100
  encoding: US-ASCII
85
101
  string: ''
86
102
  headers:
87
103
  User-Agent:
88
- - Faraday v0.9.2
104
+ - Faraday v0.15.1
89
105
  Accept:
90
106
  - application/hal+json,application/problem+json,application/json
91
107
  response:
@@ -93,60 +109,75 @@ http_interactions:
93
109
  code: 200
94
110
  message: OK
95
111
  headers:
112
+ Date:
113
+ - Thu, 17 May 2018 07:34:12 GMT
96
114
  Content-Type:
97
115
  - application/hal+json; charset=utf-8
98
- Date:
99
- - Sun, 26 Mar 2017 07:29:43 GMT
116
+ Content-Length:
117
+ - '2265'
118
+ Connection:
119
+ - keep-alive
120
+ Set-Cookie:
121
+ - __cfduid=d19419a11b1feab0f9b89ef1d1e7c72051526542452; expires=Fri, 17-May-19
122
+ 07:34:12 GMT; path=/; domain=.stellar.org; HttpOnly
123
+ Content-Disposition:
124
+ - inline
125
+ Vary:
126
+ - Origin
100
127
  X-Ratelimit-Limit:
101
- - '72000'
128
+ - '17200'
102
129
  X-Ratelimit-Remaining:
103
- - '71931'
130
+ - '17187'
104
131
  X-Ratelimit-Reset:
105
- - '2102'
106
- Connection:
107
- - keep-alive
132
+ - '3265'
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
+ - 41c466775c94705c-SIN
108
139
  body:
109
- encoding: UTF-8
140
+ encoding: ASCII-8BIT
110
141
  string: |-
111
142
  {
112
143
  "_links": {
113
144
  "self": {
114
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]"
145
+ "href": "https://horizon-testnet.stellar.org/accounts/[source_address]"
115
146
  },
116
147
  "transactions": {
117
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]/transactions{?cursor,limit,order}",
148
+ "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/transactions{?cursor,limit,order}",
118
149
  "templated": true
119
150
  },
120
151
  "operations": {
121
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]/operations{?cursor,limit,order}",
152
+ "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/operations{?cursor,limit,order}",
122
153
  "templated": true
123
154
  },
124
155
  "payments": {
125
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]/payments{?cursor,limit,order}",
156
+ "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/payments{?cursor,limit,order}",
126
157
  "templated": true
127
158
  },
128
159
  "effects": {
129
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]/effects{?cursor,limit,order}",
160
+ "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/effects{?cursor,limit,order}",
130
161
  "templated": true
131
162
  },
132
163
  "offers": {
133
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]/offers{?cursor,limit,order}",
164
+ "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/offers{?cursor,limit,order}",
134
165
  "templated": true
135
166
  },
136
167
  "trades": {
137
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]/trades{?cursor,limit,order}",
168
+ "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/trades{?cursor,limit,order}",
138
169
  "templated": true
139
170
  },
140
171
  "data": {
141
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]/data/{key}",
172
+ "href": "https://horizon-testnet.stellar.org/accounts/[source_address]/data/{key}",
142
173
  "templated": true
143
174
  }
144
175
  },
145
- "id": "[destination_address]",
176
+ "id": "[source_address]",
146
177
  "paging_token": "",
147
- "account_id": "[destination_address]",
148
- "sequence": "534727723319299",
149
- "subentry_count": 2,
178
+ "account_id": "[source_address]",
179
+ "sequence": "38688184934072324",
180
+ "subentry_count": 0,
150
181
  "thresholds": {
151
182
  "low_threshold": 0,
152
183
  "med_threshold": 0,
@@ -158,36 +189,258 @@ http_interactions:
158
189
  },
159
190
  "balances": [
160
191
  {
161
- "balance": "0.0000000",
162
- "limit": "922337203685.4775807",
163
- "asset_type": "credit_alphanum12",
164
- "asset_code": "LONGNAME",
165
- "asset_issuer": "[source_address]"
166
- },
192
+ "balance": "9995.9999600",
193
+ "asset_type": "native"
194
+ }
195
+ ],
196
+ "signers": [
167
197
  {
168
- "balance": "450.0000000",
169
- "limit": "922337203685.4775807",
170
- "asset_type": "credit_alphanum4",
171
- "asset_code": "BTC",
172
- "asset_issuer": "[source_address]"
198
+ "public_key": "[source_address]",
199
+ "weight": 1,
200
+ "key": "[source_address]",
201
+ "type": "ed25519_public_key"
202
+ }
203
+ ],
204
+ "data": {}
205
+ }
206
+ http_version:
207
+ recorded_at: Thu, 17 May 2018 07:34:13 GMT
208
+ - request:
209
+ method: post
210
+ uri: https://horizon-testnet.stellar.org/transactions
211
+ body:
212
+ encoding: UTF-8
213
+ string: tx=AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAAAFAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAATST1pJMRqf2C6KsjrVKSlvOMGEzCCmomsQHdeN03a4EAAAAAATEtAAAAAAAAAAABMluxGQAAAEA5lvjEjJ9Ys8mL6knwrPLHVDjJtkgCAwFuzkc0JHbhnexGI73FFmoiljC%2FSp3e5BJpScMN%2FWi%2FaK3%2Bs%2F3sSmYO
214
+ headers:
215
+ User-Agent:
216
+ - Faraday v0.15.1
217
+ Accept:
218
+ - application/hal+json,application/problem+json,application/json
219
+ Content-Type:
220
+ - application/x-www-form-urlencoded
221
+ response:
222
+ status:
223
+ code: 200
224
+ message: OK
225
+ headers:
226
+ Date:
227
+ - Thu, 17 May 2018 07:34:16 GMT
228
+ Content-Type:
229
+ - application/hal+json; charset=utf-8
230
+ Content-Length:
231
+ - '1044'
232
+ Connection:
233
+ - keep-alive
234
+ Set-Cookie:
235
+ - __cfduid=d390bc4e7133f780526b6e77ea5f8199c1526542453; expires=Fri, 17-May-19
236
+ 07:34:13 GMT; path=/; domain=.stellar.org; HttpOnly
237
+ Content-Disposition:
238
+ - inline
239
+ Vary:
240
+ - Origin
241
+ X-Ratelimit-Limit:
242
+ - '17200'
243
+ X-Ratelimit-Remaining:
244
+ - '17186'
245
+ X-Ratelimit-Reset:
246
+ - '3263'
247
+ Expect-Ct:
248
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
249
+ Server:
250
+ - cloudflare
251
+ Cf-Ray:
252
+ - 41c466802c676fde-SIN
253
+ body:
254
+ encoding: ASCII-8BIT
255
+ string: |-
256
+ {
257
+ "_links": {
258
+ "transaction": {
259
+ "href": "https://horizon-testnet.stellar.org/transactions/75485ce3d35a86fa7ec376edac6baed38ff7e5cae6db5cf3f01cbaa31306c043"
260
+ }
261
+ },
262
+ "hash": "75485ce3d35a86fa7ec376edac6baed38ff7e5cae6db5cf3f01cbaa31306c043",
263
+ "ledger": 9007852,
264
+ "envelope_xdr": "AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAAAFAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAATST1pJMRqf2C6KsjrVKSlvOMGEzCCmomsQHdeN03a4EAAAAAATEtAAAAAAAAAAABMluxGQAAAEA5lvjEjJ9Ys8mL6knwrPLHVDjJtkgCAwFuzkc0JHbhnexGI73FFmoiljC/Sp3e5BJpScMN/Wi/aK3+s/3sSmYO",
265
+ "result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA=",
266
+ "result_meta_xdr": "AAAAAAAAAAEAAAADAAAAAACJcuwAAAAAAAAAAE0k9aSTEan9guirI61SkpbzjBhMwgpqJrEB3XjdN2uBAAAAAAExLQAAiXLsAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAwCJcuwAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAF0YUjAwAiXKzAAAABQAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAQCJcuwAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAF0TjXwwAiXKzAAAABQAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAA"
267
+ }
268
+ http_version:
269
+ recorded_at: Thu, 17 May 2018 07:34:17 GMT
270
+ - request:
271
+ method: get
272
+ uri: https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3
273
+ body:
274
+ encoding: US-ASCII
275
+ string: ''
276
+ headers:
277
+ User-Agent:
278
+ - Faraday v0.15.1
279
+ Accept:
280
+ - application/hal+json,application/problem+json,application/json
281
+ response:
282
+ status:
283
+ code: 200
284
+ message: OK
285
+ headers:
286
+ Date:
287
+ - Thu, 17 May 2018 07:34:18 GMT
288
+ Content-Type:
289
+ - application/hal+json; charset=utf-8
290
+ Content-Length:
291
+ - '2262'
292
+ Connection:
293
+ - keep-alive
294
+ Set-Cookie:
295
+ - __cfduid=ddeeb42e112b8f4b2d651afbe433eb0f91526542457; expires=Fri, 17-May-19
296
+ 07:34:17 GMT; path=/; domain=.stellar.org; HttpOnly
297
+ Content-Disposition:
298
+ - inline
299
+ Vary:
300
+ - Origin
301
+ X-Ratelimit-Limit:
302
+ - '17200'
303
+ X-Ratelimit-Remaining:
304
+ - '17188'
305
+ X-Ratelimit-Reset:
306
+ - '3257'
307
+ Expect-Ct:
308
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
309
+ Server:
310
+ - cloudflare
311
+ Cf-Ray:
312
+ - 41c466990e53705c-SIN
313
+ body:
314
+ encoding: ASCII-8BIT
315
+ string: |-
316
+ {
317
+ "_links": {
318
+ "self": {
319
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3"
320
+ },
321
+ "transactions": {
322
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/transactions{?cursor,limit,order}",
323
+ "templated": true
324
+ },
325
+ "operations": {
326
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/operations{?cursor,limit,order}",
327
+ "templated": true
173
328
  },
329
+ "payments": {
330
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/payments{?cursor,limit,order}",
331
+ "templated": true
332
+ },
333
+ "effects": {
334
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/effects{?cursor,limit,order}",
335
+ "templated": true
336
+ },
337
+ "offers": {
338
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/offers{?cursor,limit,order}",
339
+ "templated": true
340
+ },
341
+ "trades": {
342
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/trades{?cursor,limit,order}",
343
+ "templated": true
344
+ },
345
+ "data": {
346
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/data/{key}",
347
+ "templated": true
348
+ }
349
+ },
350
+ "id": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
351
+ "paging_token": "",
352
+ "account_id": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
353
+ "sequence": "38688429747208192",
354
+ "subentry_count": 0,
355
+ "thresholds": {
356
+ "low_threshold": 0,
357
+ "med_threshold": 0,
358
+ "high_threshold": 0
359
+ },
360
+ "flags": {
361
+ "auth_required": false,
362
+ "auth_revocable": false
363
+ },
364
+ "balances": [
174
365
  {
175
- "balance": "9999.9999700",
366
+ "balance": "2.0000000",
176
367
  "asset_type": "native"
177
368
  }
178
369
  ],
179
370
  "signers": [
180
371
  {
181
- "public_key": "[destination_address]",
372
+ "public_key": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
182
373
  "weight": 1,
183
- "key": "[destination_address]",
374
+ "key": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
184
375
  "type": "ed25519_public_key"
185
376
  }
186
377
  ],
187
378
  "data": {}
188
379
  }
189
380
  http_version:
190
- recorded_at: Sun, 26 Mar 2017 07:29:42 GMT
381
+ recorded_at: Thu, 17 May 2018 07:34:18 GMT
382
+ - request:
383
+ method: post
384
+ uri: https://horizon-testnet.stellar.org/transactions
385
+ body:
386
+ encoding: UTF-8
387
+ string: tx=AAAAAE0k9aSTEan9guirI61SkpbzjBhMwgpqJrEB3XjdN2uBAAAAZACJcuwAAAABAAAAAAAAAAAAAAABAAAAAAAAAAYAAAACTE9OR05BTUUAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZf%2F%2F%2F%2F%2F%2F%2F%2F%2F8AAAAAAAAAAd03a4EAAABAJr8eQWEEjMrwAJ3DxQupCFcUfx8FAgnmVou5Ip4he8qvh2O65l7voZGTeJY%2BeMFOqVytzbzaOnMIfybQAoLRCQ%3D%3D
388
+ headers:
389
+ User-Agent:
390
+ - Faraday v0.15.1
391
+ Accept:
392
+ - application/hal+json,application/problem+json,application/json
393
+ Content-Type:
394
+ - application/x-www-form-urlencoded
395
+ response:
396
+ status:
397
+ code: 200
398
+ message: OK
399
+ headers:
400
+ Date:
401
+ - Thu, 17 May 2018 07:34:21 GMT
402
+ Content-Type:
403
+ - application/hal+json; charset=utf-8
404
+ Content-Length:
405
+ - '1112'
406
+ Connection:
407
+ - keep-alive
408
+ Set-Cookie:
409
+ - __cfduid=deda40a8e1ffe127e862c4133ca7ec4cf1526542459; expires=Fri, 17-May-19
410
+ 07:34:19 GMT; path=/; domain=.stellar.org; HttpOnly
411
+ Content-Disposition:
412
+ - inline
413
+ Vary:
414
+ - Origin
415
+ X-Ratelimit-Limit:
416
+ - '17200'
417
+ X-Ratelimit-Remaining:
418
+ - '17185'
419
+ X-Ratelimit-Reset:
420
+ - '3257'
421
+ Expect-Ct:
422
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
423
+ Server:
424
+ - cloudflare
425
+ Cf-Ray:
426
+ - 41c466a46fc270bc-SIN
427
+ body:
428
+ encoding: ASCII-8BIT
429
+ string: |-
430
+ {
431
+ "_links": {
432
+ "transaction": {
433
+ "href": "https://horizon-testnet.stellar.org/transactions/2dd5579cd3740b2a28c0d08bed715cd9ac9813e79d591645cf19806938022cc7"
434
+ }
435
+ },
436
+ "hash": "2dd5579cd3740b2a28c0d08bed715cd9ac9813e79d591645cf19806938022cc7",
437
+ "ledger": 9007853,
438
+ "envelope_xdr": "AAAAAE0k9aSTEan9guirI61SkpbzjBhMwgpqJrEB3XjdN2uBAAAAZACJcuwAAAABAAAAAAAAAAAAAAABAAAAAAAAAAYAAAACTE9OR05BTUUAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZf/////////8AAAAAAAAAAd03a4EAAABAJr8eQWEEjMrwAJ3DxQupCFcUfx8FAgnmVou5Ip4he8qvh2O65l7voZGTeJY+eMFOqVytzbzaOnMIfybQAoLRCQ==",
439
+ "result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAGAAAAAAAAAAA=",
440
+ "result_meta_xdr": "AAAAAAAAAAEAAAADAAAAAACJcu0AAAABAAAAAE0k9aSTEan9guirI61SkpbzjBhMwgpqJrEB3XjdN2uBAAAAAkxPTkdOQU1FAAAAAAAAAADAaswqs6zkg/eOw0XVFSsANzwSOpCSPb5FPUMNMluxGQAAAAAAAAAAf/////////8AAAABAAAAAAAAAAAAAAADAIly7QAAAAAAAAAATST1pJMRqf2C6KsjrVKSlvOMGEzCCmomsQHdeN03a4EAAAAAATEsnACJcuwAAAABAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAIly7QAAAAAAAAAATST1pJMRqf2C6KsjrVKSlvOMGEzCCmomsQHdeN03a4EAAAAAATEsnACJcuwAAAABAAAAAQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAA="
441
+ }
442
+ http_version:
443
+ recorded_at: Thu, 17 May 2018 07:34:21 GMT
191
444
  - request:
192
445
  method: get
193
446
  uri: https://horizon-testnet.stellar.org/accounts/[source_address]
@@ -196,7 +449,7 @@ http_interactions:
196
449
  string: ''
197
450
  headers:
198
451
  User-Agent:
199
- - Faraday v0.9.2
452
+ - Faraday v0.15.1
200
453
  Accept:
201
454
  - application/hal+json,application/problem+json,application/json
202
455
  response:
@@ -204,20 +457,35 @@ http_interactions:
204
457
  code: 200
205
458
  message: OK
206
459
  headers:
460
+ Date:
461
+ - Thu, 17 May 2018 07:34:23 GMT
207
462
  Content-Type:
208
463
  - application/hal+json; charset=utf-8
209
- Date:
210
- - Sun, 26 Mar 2017 07:29:45 GMT
464
+ Content-Length:
465
+ - '2265'
466
+ Connection:
467
+ - keep-alive
468
+ Set-Cookie:
469
+ - __cfduid=d94507e0908af1ff027c9653dedf26adf1526542462; expires=Fri, 17-May-19
470
+ 07:34:22 GMT; path=/; domain=.stellar.org; HttpOnly
471
+ Content-Disposition:
472
+ - inline
473
+ Vary:
474
+ - Origin
211
475
  X-Ratelimit-Limit:
212
- - '72000'
476
+ - '17200'
213
477
  X-Ratelimit-Remaining:
214
- - '71930'
478
+ - '17184'
215
479
  X-Ratelimit-Reset:
216
- - '2100'
217
- Connection:
218
- - keep-alive
480
+ - '3254'
481
+ Expect-Ct:
482
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
483
+ Server:
484
+ - cloudflare
485
+ Cf-Ray:
486
+ - 41c466b75afd6fde-SIN
219
487
  body:
220
- encoding: UTF-8
488
+ encoding: ASCII-8BIT
221
489
  string: |-
222
490
  {
223
491
  "_links": {
@@ -256,7 +524,7 @@ http_interactions:
256
524
  "id": "[source_address]",
257
525
  "paging_token": "",
258
526
  "account_id": "[source_address]",
259
- "sequence": "346973227974697",
527
+ "sequence": "38688184934072325",
260
528
  "subentry_count": 0,
261
529
  "thresholds": {
262
530
  "low_threshold": 0,
@@ -269,7 +537,7 @@ http_interactions:
269
537
  },
270
538
  "balances": [
271
539
  {
272
- "balance": "4399.9998400",
540
+ "balance": "9993.9999500",
273
541
  "asset_type": "native"
274
542
  }
275
543
  ],
@@ -284,16 +552,16 @@ http_interactions:
284
552
  "data": {}
285
553
  }
286
554
  http_version:
287
- recorded_at: Sun, 26 Mar 2017 07:29:44 GMT
555
+ recorded_at: Thu, 17 May 2018 07:34:24 GMT
288
556
  - request:
289
557
  method: post
290
558
  uri: https://horizon-testnet.stellar.org/transactions
291
559
  body:
292
560
  encoding: UTF-8
293
- string: tx=AAAAAKEiSt7wL8zHIfwsJF5PvoI%2FqW7Epb2ihhiW7lxPpHJCAAAAZAABO5IAAAAqAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAA8RA%2BPteVWFSF0ebzR9MQD1xUygu9t%2BQcKZWQYBZAumAAAAACTE9OR05BTUUAAAAAAAAAAKEiSt7wL8zHIfwsJF5PvoI%2FqW7Epb2ihhiW7lxPpHJCAAAAAFloLwAAAAAAAAAAAU%2BkckIAAABAQx5DHEnThKdnt7he%2Fp%2B8TihB8dzmC95FCP73AyRugyf6OG5M5fRm%2BklDF5kAc786sTG1CwTyNN8Yv8qY9E3HDw%3D%3D
561
+ string: tx=AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAAAGAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAATST1pJMRqf2C6KsjrVKSlvOMGEzCCmomsQHdeN03a4EAAAACTE9OR05BTUUAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAAFloLwAAAAAAAAAAATJbsRkAAABAuhes%2FYZcnXOUC%2BI3gjk8%2FR4Iz%2FC84luLOh7TC1lVEDhnsmLkquSdxp4X%2BKoTiP9KMcvrOVWAPPX3OX1VTIPXAw%3D%3D
294
562
  headers:
295
563
  User-Agent:
296
- - Faraday v0.9.2
564
+ - Faraday v0.15.1
297
565
  Accept:
298
566
  - application/hal+json,application/problem+json,application/json
299
567
  Content-Type:
@@ -303,46 +571,59 @@ http_interactions:
303
571
  code: 200
304
572
  message: OK
305
573
  headers:
574
+ Date:
575
+ - Thu, 17 May 2018 07:34:26 GMT
306
576
  Content-Type:
307
577
  - application/hal+json; charset=utf-8
308
- Date:
309
- - Sun, 26 Mar 2017 07:29:51 GMT
310
- X-Ratelimit-Limit:
311
- - '72000'
312
- X-Ratelimit-Remaining:
313
- - '71929'
314
- X-Ratelimit-Reset:
315
- - '2099'
316
578
  Content-Length:
317
- - '1075'
579
+ - '1076'
318
580
  Connection:
319
581
  - keep-alive
582
+ Set-Cookie:
583
+ - __cfduid=df97c1695e6280d0c28de94a46cc126061526542465; expires=Fri, 17-May-19
584
+ 07:34:25 GMT; path=/; domain=.stellar.org; HttpOnly
585
+ Content-Disposition:
586
+ - inline
587
+ Vary:
588
+ - Origin
589
+ X-Ratelimit-Limit:
590
+ - '17200'
591
+ X-Ratelimit-Remaining:
592
+ - '17183'
593
+ X-Ratelimit-Reset:
594
+ - '3251'
595
+ Expect-Ct:
596
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
597
+ Server:
598
+ - cloudflare
599
+ Cf-Ray:
600
+ - 41c466cb4ea670bc-SIN
320
601
  body:
321
- encoding: UTF-8
602
+ encoding: ASCII-8BIT
322
603
  string: |-
323
604
  {
324
605
  "_links": {
325
606
  "transaction": {
326
- "href": "https://horizon-testnet.stellar.org/transactions/39a1bf57589f1cc37e3303238b5d3ad7aade9d5996a6a0370ccdb336cb3fca0f"
607
+ "href": "https://horizon-testnet.stellar.org/transactions/758e349f99224cad293374a17aa92166affe09f8e83ea504dc3beb452c8d0a3d"
327
608
  }
328
609
  },
329
- "hash": "39a1bf57589f1cc37e3303238b5d3ad7aade9d5996a6a0370ccdb336cb3fca0f",
330
- "ledger": 124875,
331
- "envelope_xdr": "AAAAAKEiSt7wL8zHIfwsJF5PvoI/qW7Epb2ihhiW7lxPpHJCAAAAZAABO5IAAAAqAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAA8RA+PteVWFSF0ebzR9MQD1xUygu9t+QcKZWQYBZAumAAAAACTE9OR05BTUUAAAAAAAAAAKEiSt7wL8zHIfwsJF5PvoI/qW7Epb2ihhiW7lxPpHJCAAAAAFloLwAAAAAAAAAAAU+kckIAAABAQx5DHEnThKdnt7he/p+8TihB8dzmC95FCP73AyRugyf6OG5M5fRm+klDF5kAc786sTG1CwTyNN8Yv8qY9E3HDw==",
610
+ "hash": "758e349f99224cad293374a17aa92166affe09f8e83ea504dc3beb452c8d0a3d",
611
+ "ledger": 9007854,
612
+ "envelope_xdr": "AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAAAGAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAATST1pJMRqf2C6KsjrVKSlvOMGEzCCmomsQHdeN03a4EAAAACTE9OR05BTUUAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAAFloLwAAAAAAAAAAATJbsRkAAABAuhes/YZcnXOUC+I3gjk8/R4Iz/C84luLOh7TC1lVEDhnsmLkquSdxp4X+KoTiP9KMcvrOVWAPPX3OX1VTIPXAw==",
332
613
  "result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAA=",
333
- "result_meta_xdr": "AAAAAAAAAAEAAAACAAAAAwAB52oAAAABAAAAAPEQPj7XlVhUhdHm80fTEA9cVMoLvbfkHCmVkGAWQLpgAAAAAkxPTkdOQU1FAAAAAAAAAAChIkre8C/MxyH8LCReT76CP6luxKW9ooYYlu5cT6RyQgAAAAAAAAAAf/////////8AAAABAAAAAAAAAAAAAAABAAHnywAAAAEAAAAA8RA+PteVWFSF0ebzR9MQD1xUygu9t+QcKZWQYBZAumAAAAACTE9OR05BTUUAAAAAAAAAAKEiSt7wL8zHIfwsJF5PvoI/qW7Epb2ihhiW7lxPpHJCAAAAAFloLwB//////////wAAAAEAAAAAAAAAAA=="
614
+ "result_meta_xdr": "AAAAAAAAAAEAAAACAAAAAwCJcu0AAAABAAAAAE0k9aSTEan9guirI61SkpbzjBhMwgpqJrEB3XjdN2uBAAAAAkxPTkdOQU1FAAAAAAAAAADAaswqs6zkg/eOw0XVFSsANzwSOpCSPb5FPUMNMluxGQAAAAAAAAAAf/////////8AAAABAAAAAAAAAAAAAAABAIly7gAAAAEAAAAATST1pJMRqf2C6KsjrVKSlvOMGEzCCmomsQHdeN03a4EAAAACTE9OR05BTUUAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAAFloLwB//////////wAAAAEAAAAAAAAAAA=="
334
615
  }
335
616
  http_version:
336
- recorded_at: Sun, 26 Mar 2017 07:29:50 GMT
617
+ recorded_at: Thu, 17 May 2018 07:34:27 GMT
337
618
  - request:
338
619
  method: get
339
- uri: https://horizon-testnet.stellar.org/accounts/[destination_address]
620
+ uri: https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3
340
621
  body:
341
622
  encoding: US-ASCII
342
623
  string: ''
343
624
  headers:
344
625
  User-Agent:
345
- - Faraday v0.9.2
626
+ - Faraday v0.15.1
346
627
  Accept:
347
628
  - application/hal+json,application/problem+json,application/json
348
629
  response:
@@ -350,60 +631,75 @@ http_interactions:
350
631
  code: 200
351
632
  message: OK
352
633
  headers:
634
+ Date:
635
+ - Thu, 17 May 2018 07:34:28 GMT
353
636
  Content-Type:
354
637
  - application/hal+json; charset=utf-8
355
- Date:
356
- - Sun, 26 Mar 2017 07:29:52 GMT
638
+ Content-Length:
639
+ - '2500'
640
+ Connection:
641
+ - keep-alive
642
+ Set-Cookie:
643
+ - __cfduid=d75c79c20bcdaf822ddadaa8a67a82f491526542468; expires=Fri, 17-May-19
644
+ 07:34:28 GMT; path=/; domain=.stellar.org; HttpOnly
645
+ Content-Disposition:
646
+ - inline
647
+ Vary:
648
+ - Origin
357
649
  X-Ratelimit-Limit:
358
- - '72000'
650
+ - '17200'
359
651
  X-Ratelimit-Remaining:
360
- - '71928'
652
+ - '17182'
361
653
  X-Ratelimit-Reset:
362
- - '2093'
363
- Connection:
364
- - keep-alive
654
+ - '3249'
655
+ Expect-Ct:
656
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
657
+ Server:
658
+ - cloudflare
659
+ Cf-Ray:
660
+ - 41c466d8f870706e-SIN
365
661
  body:
366
- encoding: UTF-8
662
+ encoding: ASCII-8BIT
367
663
  string: |-
368
664
  {
369
665
  "_links": {
370
666
  "self": {
371
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]"
667
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3"
372
668
  },
373
669
  "transactions": {
374
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]/transactions{?cursor,limit,order}",
670
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/transactions{?cursor,limit,order}",
375
671
  "templated": true
376
672
  },
377
673
  "operations": {
378
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]/operations{?cursor,limit,order}",
674
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/operations{?cursor,limit,order}",
379
675
  "templated": true
380
676
  },
381
677
  "payments": {
382
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]/payments{?cursor,limit,order}",
678
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/payments{?cursor,limit,order}",
383
679
  "templated": true
384
680
  },
385
681
  "effects": {
386
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]/effects{?cursor,limit,order}",
682
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/effects{?cursor,limit,order}",
387
683
  "templated": true
388
684
  },
389
685
  "offers": {
390
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]/offers{?cursor,limit,order}",
686
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/offers{?cursor,limit,order}",
391
687
  "templated": true
392
688
  },
393
689
  "trades": {
394
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]/trades{?cursor,limit,order}",
690
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/trades{?cursor,limit,order}",
395
691
  "templated": true
396
692
  },
397
693
  "data": {
398
- "href": "https://horizon-testnet.stellar.org/accounts/[destination_address]/data/{key}",
694
+ "href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/data/{key}",
399
695
  "templated": true
400
696
  }
401
697
  },
402
- "id": "[destination_address]",
698
+ "id": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
403
699
  "paging_token": "",
404
- "account_id": "[destination_address]",
405
- "sequence": "534727723319299",
406
- "subentry_count": 2,
700
+ "account_id": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
701
+ "sequence": "38688429747208193",
702
+ "subentry_count": 1,
407
703
  "thresholds": {
408
704
  "low_threshold": 0,
409
705
  "med_threshold": 0,
@@ -414,13 +710,6 @@ http_interactions:
414
710
  "auth_revocable": false
415
711
  },
416
712
  "balances": [
417
- {
418
- "balance": "450.0000000",
419
- "limit": "922337203685.4775807",
420
- "asset_type": "credit_alphanum4",
421
- "asset_code": "BTC",
422
- "asset_issuer": "[source_address]"
423
- },
424
713
  {
425
714
  "balance": "150.0000000",
426
715
  "limit": "922337203685.4775807",
@@ -429,20 +718,20 @@ http_interactions:
429
718
  "asset_issuer": "[source_address]"
430
719
  },
431
720
  {
432
- "balance": "9999.9999700",
721
+ "balance": "1.9999900",
433
722
  "asset_type": "native"
434
723
  }
435
724
  ],
436
725
  "signers": [
437
726
  {
438
- "public_key": "[destination_address]",
727
+ "public_key": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
439
728
  "weight": 1,
440
- "key": "[destination_address]",
729
+ "key": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
441
730
  "type": "ed25519_public_key"
442
731
  }
443
732
  ],
444
733
  "data": {}
445
734
  }
446
735
  http_version:
447
- recorded_at: Sun, 26 Mar 2017 07:29:51 GMT
736
+ recorded_at: Thu, 17 May 2018 07:34:28 GMT
448
737
  recorded_with: VCR 3.0.3