stellar-sdk 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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:29:40 GMT
19
21
  Content-Type:
20
22
  - application/hal+json; charset=utf-8
21
- Date:
22
- - Sun, 26 Mar 2017 07:29:04 GMT
23
- X-Ratelimit-Limit:
24
- - '72000'
25
- X-Ratelimit-Remaining:
26
- - '71940'
27
- X-Ratelimit-Reset:
28
- - '2141'
29
23
  Content-Length:
30
- - '1366'
24
+ - '1545'
31
25
  Connection:
32
26
  - keep-alive
27
+ Set-Cookie:
28
+ - __cfduid=de9806ed4157da084e5db0fb0c1781c521526542179; expires=Fri, 17-May-19
29
+ 07:29:39 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
+ - '17197'
38
+ X-Ratelimit-Reset:
39
+ - '3535'
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
+ - 41c45fcdce90a9ba-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": 124863,
86
+ "horizon_version": "snapshot-cfa216c",
87
+ "core_version": "stellar-core 9.2.0rc6 (b0923f153b86d394a83b2a619db6b23f07ed0700)",
88
+ "history_latest_ledger": 9007796,
72
89
  "history_elder_ledger": 1,
73
- "core_latest_ledger": 124863,
74
- "core_elder_ledger": 1,
90
+ "core_latest_ledger": 9007796,
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:03 GMT
95
+ recorded_at: Thu, 17 May 2018 07:29:40 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:29:43 GMT
96
114
  Content-Type:
97
115
  - application/hal+json; charset=utf-8
98
- Date:
99
- - Sun, 26 Mar 2017 07:29:06 GMT
116
+ Content-Length:
117
+ - '2266'
118
+ Connection:
119
+ - keep-alive
120
+ Set-Cookie:
121
+ - __cfduid=de80222ff246553fe76c3c80002fc6fc31526542182; expires=Fri, 17-May-19
122
+ 07:29:42 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
- - '71939'
130
+ - '17197'
104
131
  X-Ratelimit-Reset:
105
- - '2139'
106
- Connection:
107
- - keep-alive
132
+ - '3534'
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
+ - 41c45fe0ac8170bc-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": "38688184934072320",
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": "10000.0000000",
193
+ "asset_type": "native"
194
+ }
195
+ ],
196
+ "signers": [
167
197
  {
168
- "balance": "300.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:29:43 GMT
208
+ - request:
209
+ method: post
210
+ uri: https://horizon-testnet.stellar.org/transactions
211
+ body:
212
+ encoding: UTF-8
213
+ string: tx=AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAbCBUd5htFXQJuBbVX9Pni5GzQcs%2FrQcsdnt5HYhsoIUAAAAAATEtAAAAAAAAAAABMluxGQAAAEDqQ9d38ssFTELp0ZIbUUmMVtW2OsFjpYnXw6SiH9o8VYZriIo%2ByDU%2BPiOE1563Ec7kaFP7IOypQdhiYIih6lsI
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:29:46 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=da4e7642ab9950cab5950e02050eb377f1526542185; expires=Fri, 17-May-19
236
+ 07:29:45 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
+ - '17196'
245
+ X-Ratelimit-Reset:
246
+ - '3531'
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
+ - 41c45ff10a686fde-SIN
253
+ body:
254
+ encoding: ASCII-8BIT
255
+ string: |-
256
+ {
257
+ "_links": {
258
+ "transaction": {
259
+ "href": "https://horizon-testnet.stellar.org/transactions/1631fe9b141bb09b457544473e5d51784c0508fa522e7b6c1b60c4ba033927ed"
260
+ }
261
+ },
262
+ "hash": "1631fe9b141bb09b457544473e5d51784c0508fa522e7b6c1b60c4ba033927ed",
263
+ "ledger": 9007798,
264
+ "envelope_xdr": "AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAbCBUd5htFXQJuBbVX9Pni5GzQcs/rQcsdnt5HYhsoIUAAAAAATEtAAAAAAAAAAABMluxGQAAAEDqQ9d38ssFTELp0ZIbUUmMVtW2OsFjpYnXw6SiH9o8VYZriIo+yDU+PiOE1563Ec7kaFP7IOypQdhiYIih6lsI",
265
+ "result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA=",
266
+ "result_meta_xdr": "AAAAAAAAAAEAAAADAAAAAACJcrYAAAAAAAAAAGwgVHeYbRV0CbgW1V/T54uRs0HLP60HLHZ7eR2IbKCFAAAAAAExLQAAiXK2AAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAwCJcrYAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAF0h255wAiXKzAAAAAQAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAQCJcrYAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAF0dFupwAiXKzAAAAAQAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAA"
267
+ }
268
+ http_version:
269
+ recorded_at: Thu, 17 May 2018 07:29:46 GMT
270
+ - request:
271
+ method: get
272
+ uri: https://horizon-testnet.stellar.org/accounts/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ
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:29:48 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=d4d9ff2d6f4c10b118b14f6f806a376221526542187; expires=Fri, 17-May-19
296
+ 07:29:47 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
+ - '17195'
305
+ X-Ratelimit-Reset:
306
+ - '3529'
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
+ - 41c45fff2de07050-SIN
313
+ body:
314
+ encoding: ASCII-8BIT
315
+ string: |-
316
+ {
317
+ "_links": {
318
+ "self": {
319
+ "href": "https://horizon-testnet.stellar.org/accounts/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ"
320
+ },
321
+ "transactions": {
322
+ "href": "https://horizon-testnet.stellar.org/accounts/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ/transactions{?cursor,limit,order}",
323
+ "templated": true
324
+ },
325
+ "operations": {
326
+ "href": "https://horizon-testnet.stellar.org/accounts/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ/operations{?cursor,limit,order}",
327
+ "templated": true
173
328
  },
329
+ "payments": {
330
+ "href": "https://horizon-testnet.stellar.org/accounts/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ/payments{?cursor,limit,order}",
331
+ "templated": true
332
+ },
333
+ "effects": {
334
+ "href": "https://horizon-testnet.stellar.org/accounts/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ/effects{?cursor,limit,order}",
335
+ "templated": true
336
+ },
337
+ "offers": {
338
+ "href": "https://horizon-testnet.stellar.org/accounts/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ/offers{?cursor,limit,order}",
339
+ "templated": true
340
+ },
341
+ "trades": {
342
+ "href": "https://horizon-testnet.stellar.org/accounts/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ/trades{?cursor,limit,order}",
343
+ "templated": true
344
+ },
345
+ "data": {
346
+ "href": "https://horizon-testnet.stellar.org/accounts/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ/data/{key}",
347
+ "templated": true
348
+ }
349
+ },
350
+ "id": "GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ",
351
+ "paging_token": "",
352
+ "account_id": "GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ",
353
+ "sequence": "38688197818974208",
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": "GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ",
182
373
  "weight": 1,
183
- "key": "[destination_address]",
374
+ "key": "GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ",
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:05 GMT
381
+ recorded_at: Thu, 17 May 2018 07:29:48 GMT
382
+ - request:
383
+ method: post
384
+ uri: https://horizon-testnet.stellar.org/transactions
385
+ body:
386
+ encoding: UTF-8
387
+ string: tx=AAAAAGwgVHeYbRV0CbgW1V%2FT54uRs0HLP60HLHZ7eR2IbKCFAAAAZACJcrYAAAABAAAAAAAAAAAAAAABAAAAAAAAAAYAAAABQlRDAAAAAADAaswqs6zkg%2FeOw0XVFSsANzwSOpCSPb5FPUMNMluxGX%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FAAAAAAAAAAGIbKCFAAAAQDdcwjV8hHkBa%2Bn2KrlJ9CFPV3N4ARjBH3utj6Kqn56uOUbqBxYM%2BIjoBVJoXqG%2FdoXih8WhU7PNYJHSslGMpAY%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:29:52 GMT
402
+ Content-Type:
403
+ - application/hal+json; charset=utf-8
404
+ Content-Length:
405
+ - '1088'
406
+ Connection:
407
+ - keep-alive
408
+ Set-Cookie:
409
+ - __cfduid=da4d6b05cd508f897c34ac6ee83d498fd1526542189; expires=Fri, 17-May-19
410
+ 07:29:49 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
+ - '17196'
419
+ X-Ratelimit-Reset:
420
+ - '3526'
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
+ - 41c4600a4f14705c-SIN
427
+ body:
428
+ encoding: ASCII-8BIT
429
+ string: |-
430
+ {
431
+ "_links": {
432
+ "transaction": {
433
+ "href": "https://horizon-testnet.stellar.org/transactions/756e0e43b9844dd858e505e010e868399a4958b102e8c7714e77fc0405c6425d"
434
+ }
435
+ },
436
+ "hash": "756e0e43b9844dd858e505e010e868399a4958b102e8c7714e77fc0405c6425d",
437
+ "ledger": 9007799,
438
+ "envelope_xdr": "AAAAAGwgVHeYbRV0CbgW1V/T54uRs0HLP60HLHZ7eR2IbKCFAAAAZACJcrYAAAABAAAAAAAAAAAAAAABAAAAAAAAAAYAAAABQlRDAAAAAADAaswqs6zkg/eOw0XVFSsANzwSOpCSPb5FPUMNMluxGX//////////AAAAAAAAAAGIbKCFAAAAQDdcwjV8hHkBa+n2KrlJ9CFPV3N4ARjBH3utj6Kqn56uOUbqBxYM+IjoBVJoXqG/doXih8WhU7PNYJHSslGMpAY=",
439
+ "result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAGAAAAAAAAAAA=",
440
+ "result_meta_xdr": "AAAAAAAAAAEAAAADAAAAAACJcrcAAAABAAAAAGwgVHeYbRV0CbgW1V/T54uRs0HLP60HLHZ7eR2IbKCFAAAAAUJUQwAAAAAAwGrMKrOs5IP3jsNF1RUrADc8EjqQkj2+RT1DDTJbsRkAAAAAAAAAAH//////////AAAAAQAAAAAAAAAAAAAAAwCJcrcAAAAAAAAAAGwgVHeYbRV0CbgW1V/T54uRs0HLP60HLHZ7eR2IbKCFAAAAAAExLJwAiXK2AAAAAQAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAQCJcrcAAAAAAAAAAGwgVHeYbRV0CbgW1V/T54uRs0HLP60HLHZ7eR2IbKCFAAAAAAExLJwAiXK2AAAAAQAAAAEAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAA"
441
+ }
442
+ http_version:
443
+ recorded_at: Thu, 17 May 2018 07:29:52 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:29:53 GMT
207
462
  Content-Type:
208
463
  - application/hal+json; charset=utf-8
209
- Date:
210
- - Sun, 26 Mar 2017 07:29:07 GMT
464
+ Content-Length:
465
+ - '2265'
466
+ Connection:
467
+ - keep-alive
468
+ Set-Cookie:
469
+ - __cfduid=d04a9dc0024827165feb03f233aac5a931526542193; expires=Fri, 17-May-19
470
+ 07:29:53 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
- - '71938'
478
+ - '17195'
215
479
  X-Ratelimit-Reset:
216
- - '2138'
217
- Connection:
218
- - keep-alive
480
+ - '3521'
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
+ - 41c46026aa227092-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": "346973227974696",
527
+ "sequence": "38688184934072321",
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.9998500",
540
+ "balance": "9997.9999900",
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:06 GMT
555
+ recorded_at: Thu, 17 May 2018 07:29:54 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%2FqW7Epb2ihhiW7lxPpHJCAAAAZAABO5IAAAApAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAA8RA%2BPteVWFSF0ebzR9MQD1xUygu9t%2BQcKZWQYBZAumAAAAABQlRDAAAAAAChIkre8C%2FMxyH8LCReT76CP6luxKW9ooYYlu5cT6RyQgAAAABZaC8AAAAAAAAAAAFPpHJCAAAAQN59VbAYLZ5QTP%2FPgRKodGuAWDdIb5UKgI03ujYL%2FaS640wSVnxDWARvqYhcnc3epkBkV%2B%2Bgpfeq%2B%2B6uuNXD0AI%3D
561
+ string: tx=AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAAACAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAbCBUd5htFXQJuBbVX9Pni5GzQcs%2FrQcsdnt5HYhsoIUAAAABQlRDAAAAAADAaswqs6zkg%2FeOw0XVFSsANzwSOpCSPb5FPUMNMluxGQAAAABZaC8AAAAAAAAAAAEyW7EZAAAAQDfZ5CUIr0M9qvepUMFXj7oCwQwA%2FoN0MS6DnGeOuYab3mXXVhyxw9Hjpj%2F9%2FiSpXYlP0hqKGLMHSBmtrxGe7gE%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:29:57 GMT
306
576
  Content-Type:
307
577
  - application/hal+json; charset=utf-8
308
- Date:
309
- - Sun, 26 Mar 2017 07:29:11 GMT
310
- X-Ratelimit-Limit:
311
- - '72000'
312
- X-Ratelimit-Remaining:
313
- - '71937'
314
- X-Ratelimit-Reset:
315
- - '2137'
316
578
  Content-Length:
317
- - '1039'
579
+ - '1040'
318
580
  Connection:
319
581
  - keep-alive
582
+ Set-Cookie:
583
+ - __cfduid=d9bbafc64fc22954d1f88e5032f1da2ce1526542195; expires=Fri, 17-May-19
584
+ 07:29:55 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
+ - '17194'
593
+ X-Ratelimit-Reset:
594
+ - '3520'
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
+ - 41c4602ebbaf6fc6-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/538e77af044e06bc1392c8b202165894c068e10d019f6d953ad9ad79689e4ce1"
607
+ "href": "https://horizon-testnet.stellar.org/transactions/640a946b7a502d162886823b04cc7a305c35693a10fa42d58b0a93b06597e2e9"
327
608
  }
328
609
  },
329
- "hash": "538e77af044e06bc1392c8b202165894c068e10d019f6d953ad9ad79689e4ce1",
330
- "ledger": 124865,
331
- "envelope_xdr": "AAAAAKEiSt7wL8zHIfwsJF5PvoI/qW7Epb2ihhiW7lxPpHJCAAAAZAABO5IAAAApAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAA8RA+PteVWFSF0ebzR9MQD1xUygu9t+QcKZWQYBZAumAAAAABQlRDAAAAAAChIkre8C/MxyH8LCReT76CP6luxKW9ooYYlu5cT6RyQgAAAABZaC8AAAAAAAAAAAFPpHJCAAAAQN59VbAYLZ5QTP/PgRKodGuAWDdIb5UKgI03ujYL/aS640wSVnxDWARvqYhcnc3epkBkV++gpfeq++6uuNXD0AI=",
610
+ "hash": "640a946b7a502d162886823b04cc7a305c35693a10fa42d58b0a93b06597e2e9",
611
+ "ledger": 9007800,
612
+ "envelope_xdr": "AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAAACAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAbCBUd5htFXQJuBbVX9Pni5GzQcs/rQcsdnt5HYhsoIUAAAABQlRDAAAAAADAaswqs6zkg/eOw0XVFSsANzwSOpCSPb5FPUMNMluxGQAAAABZaC8AAAAAAAAAAAEyW7EZAAAAQDfZ5CUIr0M9qvepUMFXj7oCwQwA/oN0MS6DnGeOuYab3mXXVhyxw9Hjpj/9/iSpXYlP0hqKGLMHSBmtrxGe7gE=",
332
613
  "result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAA=",
333
- "result_meta_xdr": "AAAAAAAAAAEAAAACAAAAAwAB564AAAABAAAAAPEQPj7XlVhUhdHm80fTEA9cVMoLvbfkHCmVkGAWQLpgAAAAAUJUQwAAAAAAoSJK3vAvzMch/CwkXk++gj+pbsSlvaKGGJbuXE+kckIAAAAAstBeAH//////////AAAAAQAAAAAAAAAAAAAAAQAB58EAAAABAAAAAPEQPj7XlVhUhdHm80fTEA9cVMoLvbfkHCmVkGAWQLpgAAAAAUJUQwAAAAAAoSJK3vAvzMch/CwkXk++gj+pbsSlvaKGGJbuXE+kckIAAAABDDiNAH//////////AAAAAQAAAAAAAAAA"
614
+ "result_meta_xdr": "AAAAAAAAAAEAAAACAAAAAwCJcrcAAAABAAAAAGwgVHeYbRV0CbgW1V/T54uRs0HLP60HLHZ7eR2IbKCFAAAAAUJUQwAAAAAAwGrMKrOs5IP3jsNF1RUrADc8EjqQkj2+RT1DDTJbsRkAAAAAAAAAAH//////////AAAAAQAAAAAAAAAAAAAAAQCJcrgAAAABAAAAAGwgVHeYbRV0CbgW1V/T54uRs0HLP60HLHZ7eR2IbKCFAAAAAUJUQwAAAAAAwGrMKrOs5IP3jsNF1RUrADc8EjqQkj2+RT1DDTJbsRkAAAAAWWgvAH//////////AAAAAQAAAAAAAAAA"
334
615
  }
335
616
  http_version:
336
- recorded_at: Sun, 26 Mar 2017 07:29:10 GMT
617
+ recorded_at: Thu, 17 May 2018 07:29:57 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/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ
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:29:58 GMT
353
636
  Content-Type:
354
637
  - application/hal+json; charset=utf-8
355
- Date:
356
- - Sun, 26 Mar 2017 07:29:12 GMT
638
+ Content-Length:
639
+ - '2494'
640
+ Connection:
641
+ - keep-alive
642
+ Set-Cookie:
643
+ - __cfduid=d66220961707d54a4e5cb95aff5763a0f1526542198; expires=Fri, 17-May-19
644
+ 07:29:58 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
- - '71936'
652
+ - '17194'
361
653
  X-Ratelimit-Reset:
362
- - '2133'
363
- Connection:
364
- - keep-alive
654
+ - '3519'
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
+ - 41c460436efd6fc6-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/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ"
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/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ/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/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ/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/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ/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/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ/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/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ/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/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ/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/GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ/data/{key}",
399
695
  "templated": true
400
696
  }
401
697
  },
402
- "id": "[destination_address]",
698
+ "id": "GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ",
403
699
  "paging_token": "",
404
- "account_id": "[destination_address]",
405
- "sequence": "534727723319299",
406
- "subentry_count": 2,
700
+ "account_id": "GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ",
701
+ "sequence": "38688197818974209",
702
+ "subentry_count": 1,
407
703
  "thresholds": {
408
704
  "low_threshold": 0,
409
705
  "med_threshold": 0,
@@ -415,34 +711,27 @@ http_interactions:
415
711
  },
416
712
  "balances": [
417
713
  {
418
- "balance": "0.0000000",
419
- "limit": "922337203685.4775807",
420
- "asset_type": "credit_alphanum12",
421
- "asset_code": "LONGNAME",
422
- "asset_issuer": "[source_address]"
423
- },
424
- {
425
- "balance": "450.0000000",
714
+ "balance": "150.0000000",
426
715
  "limit": "922337203685.4775807",
427
716
  "asset_type": "credit_alphanum4",
428
717
  "asset_code": "BTC",
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": "GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ",
439
728
  "weight": 1,
440
- "key": "[destination_address]",
729
+ "key": "GBWCAVDXTBWRK5AJXALNKX6T46FZDM2BZM722BZMOZ5XSHMINSQILTPZ",
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:11 GMT
736
+ recorded_at: Thu, 17 May 2018 07:29:58 GMT
448
737
  recorded_with: VCR 3.0.3