stellar-sdk 0.5.0 → 0.6.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.
- 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.15.
|
11
|
+
- Faraday v0.15.2
|
12
12
|
Accept:
|
13
13
|
- application/hal+json,application/problem+json,application/json
|
14
14
|
response:
|
@@ -17,16 +17,16 @@ http_interactions:
|
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
19
|
Date:
|
20
|
-
-
|
20
|
+
- Sun, 02 Sep 2018 04:18:17 GMT
|
21
21
|
Content-Type:
|
22
22
|
- application/hal+json; charset=utf-8
|
23
|
-
Content-Length:
|
24
|
-
- '1545'
|
25
23
|
Connection:
|
26
24
|
- keep-alive
|
27
25
|
Set-Cookie:
|
28
|
-
- __cfduid=
|
29
|
-
|
26
|
+
- __cfduid=ddfde99e5e60e91cfde9f0caea2d705391535861897; expires=Mon, 02-Sep-19
|
27
|
+
04:18:17 GMT; path=/; domain=.stellar.org; HttpOnly
|
28
|
+
Cache-Control:
|
29
|
+
- no-cache, no-store, max-age=0
|
30
30
|
Content-Disposition:
|
31
31
|
- inline
|
32
32
|
Vary:
|
@@ -34,15 +34,15 @@ http_interactions:
|
|
34
34
|
X-Ratelimit-Limit:
|
35
35
|
- '17200'
|
36
36
|
X-Ratelimit-Remaining:
|
37
|
-
- '
|
37
|
+
- '17164'
|
38
38
|
X-Ratelimit-Reset:
|
39
|
-
- '
|
39
|
+
- '2077'
|
40
40
|
Expect-Ct:
|
41
41
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
42
42
|
Server:
|
43
43
|
- cloudflare
|
44
44
|
Cf-Ray:
|
45
|
-
-
|
45
|
+
- 453d2bfb2eda780e-LAX
|
46
46
|
body:
|
47
47
|
encoding: ASCII-8BIT
|
48
48
|
string: |-
|
@@ -83,16 +83,16 @@ http_interactions:
|
|
83
83
|
"templated": true
|
84
84
|
}
|
85
85
|
},
|
86
|
-
"horizon_version": "
|
87
|
-
"core_version": "stellar-core
|
88
|
-
"history_latest_ledger":
|
86
|
+
"horizon_version": "0.14.0rc3-5bbd27814a3ffca9aeffcbd75a09a6164959776a",
|
87
|
+
"core_version": "stellar-core 10.0.0rc1 (cb61d6b09b0088989c6c3a23d55d97ef5ce1001d)",
|
88
|
+
"history_latest_ledger": 10842192,
|
89
89
|
"history_elder_ledger": 1,
|
90
|
-
"core_latest_ledger":
|
90
|
+
"core_latest_ledger": 10842192,
|
91
91
|
"network_passphrase": "Test SDF Network ; September 2015",
|
92
|
-
"protocol_version":
|
92
|
+
"protocol_version": 10
|
93
93
|
}
|
94
94
|
http_version:
|
95
|
-
recorded_at:
|
95
|
+
recorded_at: Sun, 02 Sep 2018 04:18:17 GMT
|
96
96
|
- request:
|
97
97
|
method: get
|
98
98
|
uri: https://horizon-testnet.stellar.org/accounts/[source_address]
|
@@ -101,7 +101,7 @@ http_interactions:
|
|
101
101
|
string: ''
|
102
102
|
headers:
|
103
103
|
User-Agent:
|
104
|
-
- Faraday v0.15.
|
104
|
+
- Faraday v0.15.2
|
105
105
|
Accept:
|
106
106
|
- application/hal+json,application/problem+json,application/json
|
107
107
|
response:
|
@@ -110,16 +110,16 @@ http_interactions:
|
|
110
110
|
message: OK
|
111
111
|
headers:
|
112
112
|
Date:
|
113
|
-
-
|
113
|
+
- Sun, 02 Sep 2018 04:18:18 GMT
|
114
114
|
Content-Type:
|
115
115
|
- application/hal+json; charset=utf-8
|
116
|
-
Content-Length:
|
117
|
-
- '2266'
|
118
116
|
Connection:
|
119
117
|
- keep-alive
|
120
118
|
Set-Cookie:
|
121
|
-
- __cfduid=
|
122
|
-
|
119
|
+
- __cfduid=dc75fd6357a83dd1f3ba494749c708d251535861898; expires=Mon, 02-Sep-19
|
120
|
+
04:18:18 GMT; path=/; domain=.stellar.org; HttpOnly
|
121
|
+
Cache-Control:
|
122
|
+
- no-cache, no-store, max-age=0
|
123
123
|
Content-Disposition:
|
124
124
|
- inline
|
125
125
|
Vary:
|
@@ -127,15 +127,15 @@ http_interactions:
|
|
127
127
|
X-Ratelimit-Limit:
|
128
128
|
- '17200'
|
129
129
|
X-Ratelimit-Remaining:
|
130
|
-
- '
|
130
|
+
- '17163'
|
131
131
|
X-Ratelimit-Reset:
|
132
|
-
- '
|
132
|
+
- '2076'
|
133
133
|
Expect-Ct:
|
134
134
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
135
135
|
Server:
|
136
136
|
- cloudflare
|
137
137
|
Cf-Ray:
|
138
|
-
-
|
138
|
+
- 453d2c031f9077ae-LAX
|
139
139
|
body:
|
140
140
|
encoding: ASCII-8BIT
|
141
141
|
string: |-
|
@@ -176,7 +176,7 @@ http_interactions:
|
|
176
176
|
"id": "[source_address]",
|
177
177
|
"paging_token": "",
|
178
178
|
"account_id": "[source_address]",
|
179
|
-
"sequence": "
|
179
|
+
"sequence": "38688184934072386",
|
180
180
|
"subentry_count": 0,
|
181
181
|
"thresholds": {
|
182
182
|
"low_threshold": 0,
|
@@ -189,7 +189,9 @@ http_interactions:
|
|
189
189
|
},
|
190
190
|
"balances": [
|
191
191
|
{
|
192
|
-
"balance": "
|
192
|
+
"balance": "8381.9993400",
|
193
|
+
"buying_liabilities": "0.0000000",
|
194
|
+
"selling_liabilities": "0.0000000",
|
193
195
|
"asset_type": "native"
|
194
196
|
}
|
195
197
|
],
|
@@ -204,16 +206,16 @@ http_interactions:
|
|
204
206
|
"data": {}
|
205
207
|
}
|
206
208
|
http_version:
|
207
|
-
recorded_at:
|
209
|
+
recorded_at: Sun, 02 Sep 2018 04:18:19 GMT
|
208
210
|
- request:
|
209
211
|
method: post
|
210
212
|
uri: https://horizon-testnet.stellar.org/transactions
|
211
213
|
body:
|
212
214
|
encoding: UTF-8
|
213
|
-
string: tx=
|
215
|
+
string: tx=AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAABDAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAALCBUk%2FMGO7inYyzUiMMIWPvJwCdPFn9A6EZqVMOhLYgAAAAAATEtAAAAAAAAAAABMluxGQAAAED4ILbajzRdFDo0I6P5PeFpRc5H1DvGV%2BQB32ycDXvDr6j%2FJEptkqOi5ms7wJklQ8R%2Bebr%2FFVOZ2Qj6xMko6moG
|
214
216
|
headers:
|
215
217
|
User-Agent:
|
216
|
-
- Faraday v0.15.
|
218
|
+
- Faraday v0.15.2
|
217
219
|
Accept:
|
218
220
|
- application/hal+json,application/problem+json,application/json
|
219
221
|
Content-Type:
|
@@ -224,16 +226,16 @@ http_interactions:
|
|
224
226
|
message: OK
|
225
227
|
headers:
|
226
228
|
Date:
|
227
|
-
-
|
229
|
+
- Sun, 02 Sep 2018 04:18:25 GMT
|
228
230
|
Content-Type:
|
229
231
|
- application/hal+json; charset=utf-8
|
230
|
-
Content-Length:
|
231
|
-
- '1044'
|
232
232
|
Connection:
|
233
233
|
- keep-alive
|
234
234
|
Set-Cookie:
|
235
|
-
- __cfduid=
|
236
|
-
|
235
|
+
- __cfduid=db8cfafc55ca0794775c74a1d8fb115091535861900; expires=Mon, 02-Sep-19
|
236
|
+
04:18:20 GMT; path=/; domain=.stellar.org; HttpOnly
|
237
|
+
Cache-Control:
|
238
|
+
- no-cache, no-store, max-age=0
|
237
239
|
Content-Disposition:
|
238
240
|
- inline
|
239
241
|
Vary:
|
@@ -241,41 +243,41 @@ http_interactions:
|
|
241
243
|
X-Ratelimit-Limit:
|
242
244
|
- '17200'
|
243
245
|
X-Ratelimit-Remaining:
|
244
|
-
- '
|
246
|
+
- '17173'
|
245
247
|
X-Ratelimit-Reset:
|
246
|
-
- '
|
248
|
+
- '2075'
|
247
249
|
Expect-Ct:
|
248
250
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
249
251
|
Server:
|
250
252
|
- cloudflare
|
251
253
|
Cf-Ray:
|
252
|
-
-
|
254
|
+
- 453d2c0bc8067912-LAX
|
253
255
|
body:
|
254
256
|
encoding: ASCII-8BIT
|
255
257
|
string: |-
|
256
258
|
{
|
257
259
|
"_links": {
|
258
260
|
"transaction": {
|
259
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
261
|
+
"href": "https://horizon-testnet.stellar.org/transactions/01327a963dbcf5daf76c607fd17371e2e9b22a0a947bba9ab4f116cda142348d"
|
260
262
|
}
|
261
263
|
},
|
262
|
-
"hash": "
|
263
|
-
"ledger":
|
264
|
-
"envelope_xdr": "
|
264
|
+
"hash": "01327a963dbcf5daf76c607fd17371e2e9b22a0a947bba9ab4f116cda142348d",
|
265
|
+
"ledger": 10842194,
|
266
|
+
"envelope_xdr": "AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAABDAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAALCBUk/MGO7inYyzUiMMIWPvJwCdPFn9A6EZqVMOhLYgAAAAAATEtAAAAAAAAAAABMluxGQAAAED4ILbajzRdFDo0I6P5PeFpRc5H1DvGV+QB32ycDXvDr6j/JEptkqOi5ms7wJklQ8R+ebr/FVOZ2Qj6xMko6moG",
|
265
267
|
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA=",
|
266
|
-
"result_meta_xdr": "
|
268
|
+
"result_meta_xdr": "AAAAAQAAAAIAAAADAKVwUgAAAAAAAAAAwGrMKrOs5IP3jsNF1RUrADc8EjqQkj2+RT1DDTJbsRkAAAAThA+Y1ACJcrMAAABCAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAKVwUgAAAAAAAAAAwGrMKrOs5IP3jsNF1RUrADc8EjqQkj2+RT1DDTJbsRkAAAAThA+Y1ACJcrMAAABDAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAwAAAAAApXBSAAAAAAAAAAAsIFST8wY7uKdjLNSIwwhY+8nAJ08Wf0DoRmpUw6EtiAAAAAABMS0AAKVwUgAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAMApXBSAAAAAAAAAADAaswqs6zkg/eOw0XVFSsANzwSOpCSPb5FPUMNMluxGQAAABOED5jUAIlyswAAAEMAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEApXBSAAAAAAAAAADAaswqs6zkg/eOw0XVFSsANzwSOpCSPb5FPUMNMluxGQAAABOC3mvUAIlyswAAAEMAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA=="
|
267
269
|
}
|
268
270
|
http_version:
|
269
|
-
recorded_at:
|
271
|
+
recorded_at: Sun, 02 Sep 2018 04:18:25 GMT
|
270
272
|
- request:
|
271
273
|
method: get
|
272
|
-
uri: https://horizon-testnet.stellar.org/accounts/
|
274
|
+
uri: https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF
|
273
275
|
body:
|
274
276
|
encoding: US-ASCII
|
275
277
|
string: ''
|
276
278
|
headers:
|
277
279
|
User-Agent:
|
278
|
-
- Faraday v0.15.
|
280
|
+
- Faraday v0.15.2
|
279
281
|
Accept:
|
280
282
|
- application/hal+json,application/problem+json,application/json
|
281
283
|
response:
|
@@ -284,16 +286,16 @@ http_interactions:
|
|
284
286
|
message: OK
|
285
287
|
headers:
|
286
288
|
Date:
|
287
|
-
-
|
289
|
+
- Sun, 02 Sep 2018 04:18:26 GMT
|
288
290
|
Content-Type:
|
289
291
|
- application/hal+json; charset=utf-8
|
290
|
-
Content-Length:
|
291
|
-
- '2262'
|
292
292
|
Connection:
|
293
293
|
- keep-alive
|
294
294
|
Set-Cookie:
|
295
|
-
- __cfduid=
|
296
|
-
|
295
|
+
- __cfduid=d484b4db691587fb6e3b01b412c29b50d1535861906; expires=Mon, 02-Sep-19
|
296
|
+
04:18:26 GMT; path=/; domain=.stellar.org; HttpOnly
|
297
|
+
Cache-Control:
|
298
|
+
- no-cache, no-store, max-age=0
|
297
299
|
Content-Disposition:
|
298
300
|
- inline
|
299
301
|
Vary:
|
@@ -301,56 +303,56 @@ http_interactions:
|
|
301
303
|
X-Ratelimit-Limit:
|
302
304
|
- '17200'
|
303
305
|
X-Ratelimit-Remaining:
|
304
|
-
- '
|
306
|
+
- '17162'
|
305
307
|
X-Ratelimit-Reset:
|
306
|
-
- '
|
308
|
+
- '2067'
|
307
309
|
Expect-Ct:
|
308
310
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
309
311
|
Server:
|
310
312
|
- cloudflare
|
311
313
|
Cf-Ray:
|
312
|
-
-
|
314
|
+
- 453d2c34196b7c28-LAX
|
313
315
|
body:
|
314
316
|
encoding: ASCII-8BIT
|
315
317
|
string: |-
|
316
318
|
{
|
317
319
|
"_links": {
|
318
320
|
"self": {
|
319
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
321
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF"
|
320
322
|
},
|
321
323
|
"transactions": {
|
322
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
324
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF/transactions{?cursor,limit,order}",
|
323
325
|
"templated": true
|
324
326
|
},
|
325
327
|
"operations": {
|
326
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
328
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF/operations{?cursor,limit,order}",
|
327
329
|
"templated": true
|
328
330
|
},
|
329
331
|
"payments": {
|
330
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
332
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF/payments{?cursor,limit,order}",
|
331
333
|
"templated": true
|
332
334
|
},
|
333
335
|
"effects": {
|
334
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
336
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF/effects{?cursor,limit,order}",
|
335
337
|
"templated": true
|
336
338
|
},
|
337
339
|
"offers": {
|
338
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
340
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF/offers{?cursor,limit,order}",
|
339
341
|
"templated": true
|
340
342
|
},
|
341
343
|
"trades": {
|
342
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
344
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF/trades{?cursor,limit,order}",
|
343
345
|
"templated": true
|
344
346
|
},
|
345
347
|
"data": {
|
346
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
348
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF/data/{key}",
|
347
349
|
"templated": true
|
348
350
|
}
|
349
351
|
},
|
350
|
-
"id": "
|
352
|
+
"id": "GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF",
|
351
353
|
"paging_token": "",
|
352
|
-
"account_id": "
|
353
|
-
"sequence": "
|
354
|
+
"account_id": "GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF",
|
355
|
+
"sequence": "46566868646887424",
|
354
356
|
"subentry_count": 0,
|
355
357
|
"thresholds": {
|
356
358
|
"low_threshold": 0,
|
@@ -364,30 +366,32 @@ http_interactions:
|
|
364
366
|
"balances": [
|
365
367
|
{
|
366
368
|
"balance": "2.0000000",
|
369
|
+
"buying_liabilities": "0.0000000",
|
370
|
+
"selling_liabilities": "0.0000000",
|
367
371
|
"asset_type": "native"
|
368
372
|
}
|
369
373
|
],
|
370
374
|
"signers": [
|
371
375
|
{
|
372
|
-
"public_key": "
|
376
|
+
"public_key": "GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF",
|
373
377
|
"weight": 1,
|
374
|
-
"key": "
|
378
|
+
"key": "GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF",
|
375
379
|
"type": "ed25519_public_key"
|
376
380
|
}
|
377
381
|
],
|
378
382
|
"data": {}
|
379
383
|
}
|
380
384
|
http_version:
|
381
|
-
recorded_at:
|
385
|
+
recorded_at: Sun, 02 Sep 2018 04:18:27 GMT
|
382
386
|
- request:
|
383
387
|
method: post
|
384
388
|
uri: https://horizon-testnet.stellar.org/transactions
|
385
389
|
body:
|
386
390
|
encoding: UTF-8
|
387
|
-
string: tx=
|
391
|
+
string: tx=AAAAACwgVJPzBju4p2Ms1IjDCFj7ycAnTxZ%2FQOhGalTDoS2IAAAAZAClcFIAAAABAAAAAAAAAAAAAAABAAAAAAAAAAYAAAABQlRDAAAAAADAaswqs6zkg%2FeOw0XVFSsANzwSOpCSPb5FPUMNMluxGX%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FAAAAAAAAAAHDoS2IAAAAQM0Vm0LLHL0nfFI4D7YubIYLi1vRbYjiQYlK9n39XGlCaMSb5%2B0SLw%2FLMTrbiTDyz2I3XclTxz6P6K4ty02oYwg%3D
|
388
392
|
headers:
|
389
393
|
User-Agent:
|
390
|
-
- Faraday v0.15.
|
394
|
+
- Faraday v0.15.2
|
391
395
|
Accept:
|
392
396
|
- application/hal+json,application/problem+json,application/json
|
393
397
|
Content-Type:
|
@@ -398,16 +402,16 @@ http_interactions:
|
|
398
402
|
message: OK
|
399
403
|
headers:
|
400
404
|
Date:
|
401
|
-
-
|
405
|
+
- Sun, 02 Sep 2018 04:18:30 GMT
|
402
406
|
Content-Type:
|
403
407
|
- application/hal+json; charset=utf-8
|
404
|
-
Content-Length:
|
405
|
-
- '1088'
|
406
408
|
Connection:
|
407
409
|
- keep-alive
|
408
410
|
Set-Cookie:
|
409
|
-
- __cfduid=
|
410
|
-
|
411
|
+
- __cfduid=d2f4317da549c0644a648dba76337b0291535861907; expires=Mon, 02-Sep-19
|
412
|
+
04:18:27 GMT; path=/; domain=.stellar.org; HttpOnly
|
413
|
+
Cache-Control:
|
414
|
+
- no-cache, no-store, max-age=0
|
411
415
|
Content-Disposition:
|
412
416
|
- inline
|
413
417
|
Vary:
|
@@ -415,32 +419,32 @@ http_interactions:
|
|
415
419
|
X-Ratelimit-Limit:
|
416
420
|
- '17200'
|
417
421
|
X-Ratelimit-Remaining:
|
418
|
-
- '
|
422
|
+
- '17172'
|
419
423
|
X-Ratelimit-Reset:
|
420
|
-
- '
|
424
|
+
- '2067'
|
421
425
|
Expect-Ct:
|
422
426
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
423
427
|
Server:
|
424
428
|
- cloudflare
|
425
429
|
Cf-Ray:
|
426
|
-
-
|
430
|
+
- 453d2c3bcf777c2e-LAX
|
427
431
|
body:
|
428
432
|
encoding: ASCII-8BIT
|
429
433
|
string: |-
|
430
434
|
{
|
431
435
|
"_links": {
|
432
436
|
"transaction": {
|
433
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
437
|
+
"href": "https://horizon-testnet.stellar.org/transactions/37dd21b5fb5a3143591b1015de418b96f056aa02b52578cc85e8b6cb9252d728"
|
434
438
|
}
|
435
439
|
},
|
436
|
-
"hash": "
|
437
|
-
"ledger":
|
438
|
-
"envelope_xdr": "
|
440
|
+
"hash": "37dd21b5fb5a3143591b1015de418b96f056aa02b52578cc85e8b6cb9252d728",
|
441
|
+
"ledger": 10842195,
|
442
|
+
"envelope_xdr": "AAAAACwgVJPzBju4p2Ms1IjDCFj7ycAnTxZ/QOhGalTDoS2IAAAAZAClcFIAAAABAAAAAAAAAAAAAAABAAAAAAAAAAYAAAABQlRDAAAAAADAaswqs6zkg/eOw0XVFSsANzwSOpCSPb5FPUMNMluxGX//////////AAAAAAAAAAHDoS2IAAAAQM0Vm0LLHL0nfFI4D7YubIYLi1vRbYjiQYlK9n39XGlCaMSb5+0SLw/LMTrbiTDyz2I3XclTxz6P6K4ty02oYwg=",
|
439
443
|
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAGAAAAAAAAAAA=",
|
440
|
-
"result_meta_xdr": "
|
444
|
+
"result_meta_xdr": "AAAAAQAAAAIAAAADAKVwUwAAAAAAAAAALCBUk/MGO7inYyzUiMMIWPvJwCdPFn9A6EZqVMOhLYgAAAAAATEsnAClcFIAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAKVwUwAAAAAAAAAALCBUk/MGO7inYyzUiMMIWPvJwCdPFn9A6EZqVMOhLYgAAAAAATEsnAClcFIAAAABAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAwAAAAAApXBTAAAAAQAAAAAsIFST8wY7uKdjLNSIwwhY+8nAJ08Wf0DoRmpUw6EtiAAAAAFCVEMAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAAAAAAAB//////////wAAAAEAAAAAAAAAAAAAAAMApXBTAAAAAAAAAAAsIFST8wY7uKdjLNSIwwhY+8nAJ08Wf0DoRmpUw6EtiAAAAAABMSycAKVwUgAAAAEAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEApXBTAAAAAAAAAAAsIFST8wY7uKdjLNSIwwhY+8nAJ08Wf0DoRmpUw6EtiAAAAAABMSycAKVwUgAAAAEAAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA=="
|
441
445
|
}
|
442
446
|
http_version:
|
443
|
-
recorded_at:
|
447
|
+
recorded_at: Sun, 02 Sep 2018 04:18:30 GMT
|
444
448
|
- request:
|
445
449
|
method: get
|
446
450
|
uri: https://horizon-testnet.stellar.org/accounts/[source_address]
|
@@ -449,7 +453,7 @@ http_interactions:
|
|
449
453
|
string: ''
|
450
454
|
headers:
|
451
455
|
User-Agent:
|
452
|
-
- Faraday v0.15.
|
456
|
+
- Faraday v0.15.2
|
453
457
|
Accept:
|
454
458
|
- application/hal+json,application/problem+json,application/json
|
455
459
|
response:
|
@@ -458,16 +462,16 @@ http_interactions:
|
|
458
462
|
message: OK
|
459
463
|
headers:
|
460
464
|
Date:
|
461
|
-
-
|
465
|
+
- Sun, 02 Sep 2018 04:18:31 GMT
|
462
466
|
Content-Type:
|
463
467
|
- application/hal+json; charset=utf-8
|
464
|
-
Content-Length:
|
465
|
-
- '2265'
|
466
468
|
Connection:
|
467
469
|
- keep-alive
|
468
470
|
Set-Cookie:
|
469
|
-
- __cfduid=
|
470
|
-
|
471
|
+
- __cfduid=d4ac2396afd0bba177238c40c17b9e16f1535861911; expires=Mon, 02-Sep-19
|
472
|
+
04:18:31 GMT; path=/; domain=.stellar.org; HttpOnly
|
473
|
+
Cache-Control:
|
474
|
+
- no-cache, no-store, max-age=0
|
471
475
|
Content-Disposition:
|
472
476
|
- inline
|
473
477
|
Vary:
|
@@ -475,15 +479,15 @@ http_interactions:
|
|
475
479
|
X-Ratelimit-Limit:
|
476
480
|
- '17200'
|
477
481
|
X-Ratelimit-Remaining:
|
478
|
-
- '
|
482
|
+
- '17161'
|
479
483
|
X-Ratelimit-Reset:
|
480
|
-
- '
|
484
|
+
- '2063'
|
481
485
|
Expect-Ct:
|
482
486
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
483
487
|
Server:
|
484
488
|
- cloudflare
|
485
489
|
Cf-Ray:
|
486
|
-
-
|
490
|
+
- 453d2c51ae3f780e-LAX
|
487
491
|
body:
|
488
492
|
encoding: ASCII-8BIT
|
489
493
|
string: |-
|
@@ -524,7 +528,7 @@ http_interactions:
|
|
524
528
|
"id": "[source_address]",
|
525
529
|
"paging_token": "",
|
526
530
|
"account_id": "[source_address]",
|
527
|
-
"sequence": "
|
531
|
+
"sequence": "38688184934072387",
|
528
532
|
"subentry_count": 0,
|
529
533
|
"thresholds": {
|
530
534
|
"low_threshold": 0,
|
@@ -537,7 +541,9 @@ http_interactions:
|
|
537
541
|
},
|
538
542
|
"balances": [
|
539
543
|
{
|
540
|
-
"balance": "
|
544
|
+
"balance": "8379.9993300",
|
545
|
+
"buying_liabilities": "0.0000000",
|
546
|
+
"selling_liabilities": "0.0000000",
|
541
547
|
"asset_type": "native"
|
542
548
|
}
|
543
549
|
],
|
@@ -552,16 +558,16 @@ http_interactions:
|
|
552
558
|
"data": {}
|
553
559
|
}
|
554
560
|
http_version:
|
555
|
-
recorded_at:
|
561
|
+
recorded_at: Sun, 02 Sep 2018 04:18:31 GMT
|
556
562
|
- request:
|
557
563
|
method: post
|
558
564
|
uri: https://horizon-testnet.stellar.org/transactions
|
559
565
|
body:
|
560
566
|
encoding: UTF-8
|
561
|
-
string: tx=
|
567
|
+
string: tx=AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAABEAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAALCBUk%2FMGO7inYyzUiMMIWPvJwCdPFn9A6EZqVMOhLYgAAAABQlRDAAAAAADAaswqs6zkg%2FeOw0XVFSsANzwSOpCSPb5FPUMNMluxGQAAAABZaC8AAAAAAAAAAAEyW7EZAAAAQAZyQbNUyzP6PTKVhTt3QPhZ6TqLlDhY7no4dUdI1AXB56lxG%2BLpV4UYpy8Yen9LupDeUjbuALWbyoK0UTzMfwY%3D
|
562
568
|
headers:
|
563
569
|
User-Agent:
|
564
|
-
- Faraday v0.15.
|
570
|
+
- Faraday v0.15.2
|
565
571
|
Accept:
|
566
572
|
- application/hal+json,application/problem+json,application/json
|
567
573
|
Content-Type:
|
@@ -572,16 +578,16 @@ http_interactions:
|
|
572
578
|
message: OK
|
573
579
|
headers:
|
574
580
|
Date:
|
575
|
-
-
|
581
|
+
- Sun, 02 Sep 2018 04:18:35 GMT
|
576
582
|
Content-Type:
|
577
583
|
- application/hal+json; charset=utf-8
|
578
|
-
Content-Length:
|
579
|
-
- '1040'
|
580
584
|
Connection:
|
581
585
|
- keep-alive
|
582
586
|
Set-Cookie:
|
583
|
-
- __cfduid=
|
584
|
-
|
587
|
+
- __cfduid=df11133ecf1a102a3efdd7dd8c8d8da841535861912; expires=Mon, 02-Sep-19
|
588
|
+
04:18:32 GMT; path=/; domain=.stellar.org; HttpOnly
|
589
|
+
Cache-Control:
|
590
|
+
- no-cache, no-store, max-age=0
|
585
591
|
Content-Disposition:
|
586
592
|
- inline
|
587
593
|
Vary:
|
@@ -589,41 +595,41 @@ http_interactions:
|
|
589
595
|
X-Ratelimit-Limit:
|
590
596
|
- '17200'
|
591
597
|
X-Ratelimit-Remaining:
|
592
|
-
- '
|
598
|
+
- '17171'
|
593
599
|
X-Ratelimit-Reset:
|
594
|
-
- '
|
600
|
+
- '2063'
|
595
601
|
Expect-Ct:
|
596
602
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
597
603
|
Server:
|
598
604
|
- cloudflare
|
599
605
|
Cf-Ray:
|
600
|
-
-
|
606
|
+
- 453d2c56ad6178c2-LAX
|
601
607
|
body:
|
602
608
|
encoding: ASCII-8BIT
|
603
609
|
string: |-
|
604
610
|
{
|
605
611
|
"_links": {
|
606
612
|
"transaction": {
|
607
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
613
|
+
"href": "https://horizon-testnet.stellar.org/transactions/38462ab45311a31cf92060c218d668c69ce28957d5e3024fd6c70ced207397c0"
|
608
614
|
}
|
609
615
|
},
|
610
|
-
"hash": "
|
611
|
-
"ledger":
|
612
|
-
"envelope_xdr": "
|
616
|
+
"hash": "38462ab45311a31cf92060c218d668c69ce28957d5e3024fd6c70ced207397c0",
|
617
|
+
"ledger": 10842196,
|
618
|
+
"envelope_xdr": "AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAABEAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAALCBUk/MGO7inYyzUiMMIWPvJwCdPFn9A6EZqVMOhLYgAAAABQlRDAAAAAADAaswqs6zkg/eOw0XVFSsANzwSOpCSPb5FPUMNMluxGQAAAABZaC8AAAAAAAAAAAEyW7EZAAAAQAZyQbNUyzP6PTKVhTt3QPhZ6TqLlDhY7no4dUdI1AXB56lxG+LpV4UYpy8Yen9LupDeUjbuALWbyoK0UTzMfwY=",
|
613
619
|
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAA=",
|
614
|
-
"result_meta_xdr": "
|
620
|
+
"result_meta_xdr": "AAAAAQAAAAIAAAADAKVwVAAAAAAAAAAAwGrMKrOs5IP3jsNF1RUrADc8EjqQkj2+RT1DDTJbsRkAAAATgt5rcACJcrMAAABDAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAKVwVAAAAAAAAAAAwGrMKrOs5IP3jsNF1RUrADc8EjqQkj2+RT1DDTJbsRkAAAATgt5rcACJcrMAAABEAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAgAAAAMApXBTAAAAAQAAAAAsIFST8wY7uKdjLNSIwwhY+8nAJ08Wf0DoRmpUw6EtiAAAAAFCVEMAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAAAAAAAB//////////wAAAAEAAAAAAAAAAAAAAAEApXBUAAAAAQAAAAAsIFST8wY7uKdjLNSIwwhY+8nAJ08Wf0DoRmpUw6EtiAAAAAFCVEMAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAAFloLwB//////////wAAAAEAAAAAAAAAAA=="
|
615
621
|
}
|
616
622
|
http_version:
|
617
|
-
recorded_at:
|
623
|
+
recorded_at: Sun, 02 Sep 2018 04:18:35 GMT
|
618
624
|
- request:
|
619
625
|
method: get
|
620
|
-
uri: https://horizon-testnet.stellar.org/accounts/
|
626
|
+
uri: https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF
|
621
627
|
body:
|
622
628
|
encoding: US-ASCII
|
623
629
|
string: ''
|
624
630
|
headers:
|
625
631
|
User-Agent:
|
626
|
-
- Faraday v0.15.
|
632
|
+
- Faraday v0.15.2
|
627
633
|
Accept:
|
628
634
|
- application/hal+json,application/problem+json,application/json
|
629
635
|
response:
|
@@ -632,16 +638,16 @@ http_interactions:
|
|
632
638
|
message: OK
|
633
639
|
headers:
|
634
640
|
Date:
|
635
|
-
-
|
641
|
+
- Sun, 02 Sep 2018 04:18:36 GMT
|
636
642
|
Content-Type:
|
637
643
|
- application/hal+json; charset=utf-8
|
638
|
-
Content-Length:
|
639
|
-
- '2494'
|
640
644
|
Connection:
|
641
645
|
- keep-alive
|
642
646
|
Set-Cookie:
|
643
|
-
- __cfduid=
|
644
|
-
|
647
|
+
- __cfduid=dfc3b747531fa00fd22e85ddd4e0b08761535861916; expires=Mon, 02-Sep-19
|
648
|
+
04:18:36 GMT; path=/; domain=.stellar.org; HttpOnly
|
649
|
+
Cache-Control:
|
650
|
+
- no-cache, no-store, max-age=0
|
645
651
|
Content-Disposition:
|
646
652
|
- inline
|
647
653
|
Vary:
|
@@ -649,56 +655,56 @@ http_interactions:
|
|
649
655
|
X-Ratelimit-Limit:
|
650
656
|
- '17200'
|
651
657
|
X-Ratelimit-Remaining:
|
652
|
-
- '
|
658
|
+
- '17160'
|
653
659
|
X-Ratelimit-Reset:
|
654
|
-
- '
|
660
|
+
- '2058'
|
655
661
|
Expect-Ct:
|
656
662
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
657
663
|
Server:
|
658
664
|
- cloudflare
|
659
665
|
Cf-Ray:
|
660
|
-
-
|
666
|
+
- 453d2c718d5d7912-LAX
|
661
667
|
body:
|
662
668
|
encoding: ASCII-8BIT
|
663
669
|
string: |-
|
664
670
|
{
|
665
671
|
"_links": {
|
666
672
|
"self": {
|
667
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
673
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF"
|
668
674
|
},
|
669
675
|
"transactions": {
|
670
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
676
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF/transactions{?cursor,limit,order}",
|
671
677
|
"templated": true
|
672
678
|
},
|
673
679
|
"operations": {
|
674
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
680
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF/operations{?cursor,limit,order}",
|
675
681
|
"templated": true
|
676
682
|
},
|
677
683
|
"payments": {
|
678
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
684
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF/payments{?cursor,limit,order}",
|
679
685
|
"templated": true
|
680
686
|
},
|
681
687
|
"effects": {
|
682
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
688
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF/effects{?cursor,limit,order}",
|
683
689
|
"templated": true
|
684
690
|
},
|
685
691
|
"offers": {
|
686
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
692
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF/offers{?cursor,limit,order}",
|
687
693
|
"templated": true
|
688
694
|
},
|
689
695
|
"trades": {
|
690
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
696
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF/trades{?cursor,limit,order}",
|
691
697
|
"templated": true
|
692
698
|
},
|
693
699
|
"data": {
|
694
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
700
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF/data/{key}",
|
695
701
|
"templated": true
|
696
702
|
}
|
697
703
|
},
|
698
|
-
"id": "
|
704
|
+
"id": "GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF",
|
699
705
|
"paging_token": "",
|
700
|
-
"account_id": "
|
701
|
-
"sequence": "
|
706
|
+
"account_id": "GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF",
|
707
|
+
"sequence": "46566868646887425",
|
702
708
|
"subentry_count": 1,
|
703
709
|
"thresholds": {
|
704
710
|
"low_threshold": 0,
|
@@ -713,25 +719,29 @@ http_interactions:
|
|
713
719
|
{
|
714
720
|
"balance": "150.0000000",
|
715
721
|
"limit": "922337203685.4775807",
|
722
|
+
"buying_liabilities": "0.0000000",
|
723
|
+
"selling_liabilities": "0.0000000",
|
716
724
|
"asset_type": "credit_alphanum4",
|
717
725
|
"asset_code": "BTC",
|
718
726
|
"asset_issuer": "[source_address]"
|
719
727
|
},
|
720
728
|
{
|
721
729
|
"balance": "1.9999900",
|
730
|
+
"buying_liabilities": "0.0000000",
|
731
|
+
"selling_liabilities": "0.0000000",
|
722
732
|
"asset_type": "native"
|
723
733
|
}
|
724
734
|
],
|
725
735
|
"signers": [
|
726
736
|
{
|
727
|
-
"public_key": "
|
737
|
+
"public_key": "GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF",
|
728
738
|
"weight": 1,
|
729
|
-
"key": "
|
739
|
+
"key": "GAWCAVET6MDDXOFHMMWNJCGDBBMPXSOAE5HRM72A5BDGUVGDUEWYR6NF",
|
730
740
|
"type": "ed25519_public_key"
|
731
741
|
}
|
732
742
|
],
|
733
743
|
"data": {}
|
734
744
|
}
|
735
745
|
http_version:
|
736
|
-
recorded_at:
|
737
|
-
recorded_with: VCR
|
746
|
+
recorded_at: Sun, 02 Sep 2018 04:18:36 GMT
|
747
|
+
recorded_with: VCR 4.0.0
|