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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/examples/04_setting_trust.rb +1 -12
- data/lib/stellar/client.rb +83 -28
- data/lib/stellar/version.rb +1 -1
- data/ruby-stellar-sdk.gemspec +3 -3
- data/spec/config.yml.sample +6 -9
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_account_merge/merges_source_account_into_destination.yml +714 -0
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_change_trust/given_an_asset_described_as_an_array/creates_updates_or_deletes_a_trustline.yml +1156 -0
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/alphanum12_asset/sends_a_alphanum12_asset_to_the_destination.yml +408 -119
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/alphanum4_asset/sends_a_alphanum4_asset_to_the_destination.yml +409 -120
- data/spec/lib/stellar/client_spec.rb +153 -24
- metadata +14 -10
@@ -0,0 +1,1156 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://horizon-testnet.stellar.org/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.15.1
|
12
|
+
Accept:
|
13
|
+
- application/hal+json,application/problem+json,application/json
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Date:
|
20
|
+
- Thu, 17 May 2018 07:04:34 GMT
|
21
|
+
Content-Type:
|
22
|
+
- application/hal+json; charset=utf-8
|
23
|
+
Content-Length:
|
24
|
+
- '1545'
|
25
|
+
Connection:
|
26
|
+
- keep-alive
|
27
|
+
Set-Cookie:
|
28
|
+
- __cfduid=d585f8daf3c096491274029eedc7aeb051526540674; expires=Fri, 17-May-19
|
29
|
+
07:04:34 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
|
+
- '17166'
|
38
|
+
X-Ratelimit-Reset:
|
39
|
+
- '1421'
|
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
|
+
- 41c43b0cdc2e6fde-SIN
|
46
|
+
body:
|
47
|
+
encoding: ASCII-8BIT
|
48
|
+
string: |-
|
49
|
+
{
|
50
|
+
"_links": {
|
51
|
+
"account": {
|
52
|
+
"href": "https://horizon-testnet.stellar.org/accounts/{account_id}",
|
53
|
+
"templated": true
|
54
|
+
},
|
55
|
+
"account_transactions": {
|
56
|
+
"href": "https://horizon-testnet.stellar.org/accounts/{account_id}/transactions{?cursor,limit,order}",
|
57
|
+
"templated": true
|
58
|
+
},
|
59
|
+
"assets": {
|
60
|
+
"href": "https://horizon-testnet.stellar.org/assets{?asset_code,asset_issuer,cursor,limit,order}",
|
61
|
+
"templated": true
|
62
|
+
},
|
63
|
+
"friendbot": {
|
64
|
+
"href": "https://horizon-testnet.stellar.org/friendbot{?addr}",
|
65
|
+
"templated": true
|
66
|
+
},
|
67
|
+
"metrics": {
|
68
|
+
"href": "https://horizon-testnet.stellar.org/metrics"
|
69
|
+
},
|
70
|
+
"order_book": {
|
71
|
+
"href": "https://horizon-testnet.stellar.org/order_book{?selling_asset_type,selling_asset_code,selling_issuer,buying_asset_type,buying_asset_code,buying_issuer,limit}",
|
72
|
+
"templated": true
|
73
|
+
},
|
74
|
+
"self": {
|
75
|
+
"href": "https://horizon-testnet.stellar.org/"
|
76
|
+
},
|
77
|
+
"transaction": {
|
78
|
+
"href": "https://horizon-testnet.stellar.org/transactions/{hash}",
|
79
|
+
"templated": true
|
80
|
+
},
|
81
|
+
"transactions": {
|
82
|
+
"href": "https://horizon-testnet.stellar.org/transactions{?cursor,limit,order}",
|
83
|
+
"templated": true
|
84
|
+
}
|
85
|
+
},
|
86
|
+
"horizon_version": "snapshot-cfa216c",
|
87
|
+
"core_version": "stellar-core 9.2.0rc6 (b0923f153b86d394a83b2a619db6b23f07ed0700)",
|
88
|
+
"history_latest_ledger": 9007495,
|
89
|
+
"history_elder_ledger": 1,
|
90
|
+
"core_latest_ledger": 9007495,
|
91
|
+
"network_passphrase": "Test SDF Network ; September 2015",
|
92
|
+
"protocol_version": 9
|
93
|
+
}
|
94
|
+
http_version:
|
95
|
+
recorded_at: Thu, 17 May 2018 07:04:34 GMT
|
96
|
+
- request:
|
97
|
+
method: get
|
98
|
+
uri: https://horizon-testnet.stellar.org/accounts/[source_address]
|
99
|
+
body:
|
100
|
+
encoding: US-ASCII
|
101
|
+
string: ''
|
102
|
+
headers:
|
103
|
+
User-Agent:
|
104
|
+
- Faraday v0.15.1
|
105
|
+
Accept:
|
106
|
+
- application/hal+json,application/problem+json,application/json
|
107
|
+
response:
|
108
|
+
status:
|
109
|
+
code: 200
|
110
|
+
message: OK
|
111
|
+
headers:
|
112
|
+
Date:
|
113
|
+
- Thu, 17 May 2018 07:04:36 GMT
|
114
|
+
Content-Type:
|
115
|
+
- application/hal+json; charset=utf-8
|
116
|
+
Content-Length:
|
117
|
+
- '2263'
|
118
|
+
Connection:
|
119
|
+
- keep-alive
|
120
|
+
Set-Cookie:
|
121
|
+
- __cfduid=d98d92d1b119a8f6811795f661dc3ea8f1526540676; expires=Fri, 17-May-19
|
122
|
+
07:04:36 GMT; path=/; domain=.stellar.org; HttpOnly
|
123
|
+
Content-Disposition:
|
124
|
+
- inline
|
125
|
+
Vary:
|
126
|
+
- Origin
|
127
|
+
X-Ratelimit-Limit:
|
128
|
+
- '17200'
|
129
|
+
X-Ratelimit-Remaining:
|
130
|
+
- '17171'
|
131
|
+
X-Ratelimit-Reset:
|
132
|
+
- '1421'
|
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
|
+
- 41c43b1b19a16fc6-SIN
|
139
|
+
body:
|
140
|
+
encoding: ASCII-8BIT
|
141
|
+
string: |-
|
142
|
+
{
|
143
|
+
"_links": {
|
144
|
+
"self": {
|
145
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]"
|
146
|
+
},
|
147
|
+
"transactions": {
|
148
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/transactions{?cursor,limit,order}",
|
149
|
+
"templated": true
|
150
|
+
},
|
151
|
+
"operations": {
|
152
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/operations{?cursor,limit,order}",
|
153
|
+
"templated": true
|
154
|
+
},
|
155
|
+
"payments": {
|
156
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/payments{?cursor,limit,order}",
|
157
|
+
"templated": true
|
158
|
+
},
|
159
|
+
"effects": {
|
160
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/effects{?cursor,limit,order}",
|
161
|
+
"templated": true
|
162
|
+
},
|
163
|
+
"offers": {
|
164
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/offers{?cursor,limit,order}",
|
165
|
+
"templated": true
|
166
|
+
},
|
167
|
+
"trades": {
|
168
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/trades{?cursor,limit,order}",
|
169
|
+
"templated": true
|
170
|
+
},
|
171
|
+
"data": {
|
172
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/data/{key}",
|
173
|
+
"templated": true
|
174
|
+
}
|
175
|
+
},
|
176
|
+
"id": "[source_address]",
|
177
|
+
"paging_token": "",
|
178
|
+
"account_id": "[source_address]",
|
179
|
+
"sequence": "346973227974771",
|
180
|
+
"subentry_count": 0,
|
181
|
+
"thresholds": {
|
182
|
+
"low_threshold": 0,
|
183
|
+
"med_threshold": 0,
|
184
|
+
"high_threshold": 0
|
185
|
+
},
|
186
|
+
"flags": {
|
187
|
+
"auth_required": false,
|
188
|
+
"auth_revocable": false
|
189
|
+
},
|
190
|
+
"balances": [
|
191
|
+
{
|
192
|
+
"balance": "2166.9991900",
|
193
|
+
"asset_type": "native"
|
194
|
+
}
|
195
|
+
],
|
196
|
+
"signers": [
|
197
|
+
{
|
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:04:36 GMT
|
208
|
+
- request:
|
209
|
+
method: post
|
210
|
+
uri: https://horizon-testnet.stellar.org/transactions
|
211
|
+
body:
|
212
|
+
encoding: UTF-8
|
213
|
+
string: tx=AAAAAKEiSt7wL8zHIfwsJF5PvoI%2FqW7Epb2ihhiW7lxPpHJCAAAAZAABO5IAAAB0AAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAV9B1XeYOKNkASNxCxKZN7Zse4dyKNjJkU26Y%2FAyH5H8AAAAAATEtAAAAAAAAAAABT6RyQgAAAED0b9%2B4u%2FBSi%2Fxmvv2n3fXgqKlqC2Z3YfAig5xUzPaWOZtBjWivz0Xc49fwoUAm6ODgu7aLdmTTddCKJd12zOkM
|
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:04:41 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=d8cc5d5e066b217805ab946c0ea60c85a1526540677; expires=Fri, 17-May-19
|
236
|
+
07:04:37 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
|
+
- '17165'
|
245
|
+
X-Ratelimit-Reset:
|
246
|
+
- '1418'
|
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
|
+
- 41c43b1fbfc36f78-SIN
|
253
|
+
body:
|
254
|
+
encoding: ASCII-8BIT
|
255
|
+
string: |-
|
256
|
+
{
|
257
|
+
"_links": {
|
258
|
+
"transaction": {
|
259
|
+
"href": "https://horizon-testnet.stellar.org/transactions/031e1dfb135e88e48a83da549e929e109b7b315b25f1d4ead376d650ac0f667d"
|
260
|
+
}
|
261
|
+
},
|
262
|
+
"hash": "031e1dfb135e88e48a83da549e929e109b7b315b25f1d4ead376d650ac0f667d",
|
263
|
+
"ledger": 9007497,
|
264
|
+
"envelope_xdr": "AAAAAKEiSt7wL8zHIfwsJF5PvoI/qW7Epb2ihhiW7lxPpHJCAAAAZAABO5IAAAB0AAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAV9B1XeYOKNkASNxCxKZN7Zse4dyKNjJkU26Y/AyH5H8AAAAAATEtAAAAAAAAAAABT6RyQgAAAED0b9+4u/BSi/xmvv2n3fXgqKlqC2Z3YfAig5xUzPaWOZtBjWivz0Xc49fwoUAm6ODgu7aLdmTTddCKJd12zOkM",
|
265
|
+
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA=",
|
266
|
+
"result_meta_xdr": "AAAAAAAAAAEAAAADAAAAAACJcYkAAAAAAAAAAFfQdV3mDijZAEjcQsSmTe2bHuHcijYyZFNumPwMh+R/AAAAAAExLQAAiXGJAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAwCJcYkAAAAAAAAAAKEiSt7wL8zHIfwsJF5PvoI/qW7Epb2ihhiW7lxPpHJCAAAABQuh1XgAATuSAAAAdAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAQCJcYkAAAAAAAAAAKEiSt7wL8zHIfwsJF5PvoI/qW7Epb2ihhiW7lxPpHJCAAAABQpwqHgAATuSAAAAdAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAA"
|
267
|
+
}
|
268
|
+
http_version:
|
269
|
+
recorded_at: Thu, 17 May 2018 07:04:42 GMT
|
270
|
+
- request:
|
271
|
+
method: get
|
272
|
+
uri: https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY
|
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:04:43 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=deb345286f671bc53031e1fb55092066c1526540682; expires=Fri, 17-May-19
|
296
|
+
07:04:42 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
|
+
- '17164'
|
305
|
+
X-Ratelimit-Reset:
|
306
|
+
- '1412'
|
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
|
+
- 41c43b446fe270bc-SIN
|
313
|
+
body:
|
314
|
+
encoding: ASCII-8BIT
|
315
|
+
string: |-
|
316
|
+
{
|
317
|
+
"_links": {
|
318
|
+
"self": {
|
319
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY"
|
320
|
+
},
|
321
|
+
"transactions": {
|
322
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/transactions{?cursor,limit,order}",
|
323
|
+
"templated": true
|
324
|
+
},
|
325
|
+
"operations": {
|
326
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/operations{?cursor,limit,order}",
|
327
|
+
"templated": true
|
328
|
+
},
|
329
|
+
"payments": {
|
330
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/payments{?cursor,limit,order}",
|
331
|
+
"templated": true
|
332
|
+
},
|
333
|
+
"effects": {
|
334
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/effects{?cursor,limit,order}",
|
335
|
+
"templated": true
|
336
|
+
},
|
337
|
+
"offers": {
|
338
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/offers{?cursor,limit,order}",
|
339
|
+
"templated": true
|
340
|
+
},
|
341
|
+
"trades": {
|
342
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/trades{?cursor,limit,order}",
|
343
|
+
"templated": true
|
344
|
+
},
|
345
|
+
"data": {
|
346
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/data/{key}",
|
347
|
+
"templated": true
|
348
|
+
}
|
349
|
+
},
|
350
|
+
"id": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
351
|
+
"paging_token": "",
|
352
|
+
"account_id": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
353
|
+
"sequence": "38686905033818112",
|
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": [
|
365
|
+
{
|
366
|
+
"balance": "2.0000000",
|
367
|
+
"asset_type": "native"
|
368
|
+
}
|
369
|
+
],
|
370
|
+
"signers": [
|
371
|
+
{
|
372
|
+
"public_key": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
373
|
+
"weight": 1,
|
374
|
+
"key": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
375
|
+
"type": "ed25519_public_key"
|
376
|
+
}
|
377
|
+
],
|
378
|
+
"data": {}
|
379
|
+
}
|
380
|
+
http_version:
|
381
|
+
recorded_at: Thu, 17 May 2018 07:04:43 GMT
|
382
|
+
- request:
|
383
|
+
method: post
|
384
|
+
uri: https://horizon-testnet.stellar.org/transactions
|
385
|
+
body:
|
386
|
+
encoding: UTF-8
|
387
|
+
string: tx=AAAAAFfQdV3mDijZAEjcQsSmTe2bHuHcijYyZFNumPwMh%2BR%2FAAAAZACJcYkAAAABAAAAAAAAAAAAAAABAAAAAAAAAAYAAAABQlRDAAAAAAChIkre8C%2FMxyH8LCReT76CP6luxKW9ooYYlu5cT6RyQn%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FAAAAAAAAAAEMh%2BR%2FAAAAQHKvzamz6CIQFhD%2Bo4pRbBlUdTrBCLyQqriP1MRKuQ%2FGPJT035gHu4htva6Ws1DgM03DoFcmEo89Jdyw%2FLSigAk%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:04:56 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=da23838cb244820c077e69791938444cf1526540691; expires=Fri, 17-May-19
|
410
|
+
07:04:51 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
|
+
- '17163'
|
419
|
+
X-Ratelimit-Reset:
|
420
|
+
- '1404'
|
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
|
+
- 41c43b79fdaa705c-SIN
|
427
|
+
body:
|
428
|
+
encoding: ASCII-8BIT
|
429
|
+
string: |-
|
430
|
+
{
|
431
|
+
"_links": {
|
432
|
+
"transaction": {
|
433
|
+
"href": "https://horizon-testnet.stellar.org/transactions/8bc26305ce59485d031f44e19079b382ccd1a5b1aa5b2abc4df900e35655b5fe"
|
434
|
+
}
|
435
|
+
},
|
436
|
+
"hash": "8bc26305ce59485d031f44e19079b382ccd1a5b1aa5b2abc4df900e35655b5fe",
|
437
|
+
"ledger": 9007500,
|
438
|
+
"envelope_xdr": "AAAAAFfQdV3mDijZAEjcQsSmTe2bHuHcijYyZFNumPwMh+R/AAAAZACJcYkAAAABAAAAAAAAAAAAAAABAAAAAAAAAAYAAAABQlRDAAAAAAChIkre8C/MxyH8LCReT76CP6luxKW9ooYYlu5cT6RyQn//////////AAAAAAAAAAEMh+R/AAAAQHKvzamz6CIQFhD+o4pRbBlUdTrBCLyQqriP1MRKuQ/GPJT035gHu4htva6Ws1DgM03DoFcmEo89Jdyw/LSigAk=",
|
439
|
+
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAGAAAAAAAAAAA=",
|
440
|
+
"result_meta_xdr": "AAAAAAAAAAEAAAADAAAAAACJcYwAAAABAAAAAFfQdV3mDijZAEjcQsSmTe2bHuHcijYyZFNumPwMh+R/AAAAAUJUQwAAAAAAoSJK3vAvzMch/CwkXk++gj+pbsSlvaKGGJbuXE+kckIAAAAAAAAAAH//////////AAAAAQAAAAAAAAAAAAAAAwCJcYwAAAAAAAAAAFfQdV3mDijZAEjcQsSmTe2bHuHcijYyZFNumPwMh+R/AAAAAAExLJwAiXGJAAAAAQAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAQCJcYwAAAAAAAAAAFfQdV3mDijZAEjcQsSmTe2bHuHcijYyZFNumPwMh+R/AAAAAAExLJwAiXGJAAAAAQAAAAEAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAA"
|
441
|
+
}
|
442
|
+
http_version:
|
443
|
+
recorded_at: Thu, 17 May 2018 07:04:57 GMT
|
444
|
+
- request:
|
445
|
+
method: get
|
446
|
+
uri: https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY
|
447
|
+
body:
|
448
|
+
encoding: US-ASCII
|
449
|
+
string: ''
|
450
|
+
headers:
|
451
|
+
User-Agent:
|
452
|
+
- Faraday v0.15.1
|
453
|
+
Accept:
|
454
|
+
- application/hal+json,application/problem+json,application/json
|
455
|
+
response:
|
456
|
+
status:
|
457
|
+
code: 200
|
458
|
+
message: OK
|
459
|
+
headers:
|
460
|
+
Date:
|
461
|
+
- Thu, 17 May 2018 07:04:58 GMT
|
462
|
+
Content-Type:
|
463
|
+
- application/hal+json; charset=utf-8
|
464
|
+
Content-Length:
|
465
|
+
- '2492'
|
466
|
+
Connection:
|
467
|
+
- keep-alive
|
468
|
+
Set-Cookie:
|
469
|
+
- __cfduid=d0f5a6490d7e2ecba2afecb91d887eda41526540697; expires=Fri, 17-May-19
|
470
|
+
07:04:57 GMT; path=/; domain=.stellar.org; HttpOnly
|
471
|
+
Content-Disposition:
|
472
|
+
- inline
|
473
|
+
Vary:
|
474
|
+
- Origin
|
475
|
+
X-Ratelimit-Limit:
|
476
|
+
- '17200'
|
477
|
+
X-Ratelimit-Remaining:
|
478
|
+
- '17162'
|
479
|
+
X-Ratelimit-Reset:
|
480
|
+
- '1397'
|
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
|
+
- 41c43b9fec556f78-SIN
|
487
|
+
body:
|
488
|
+
encoding: ASCII-8BIT
|
489
|
+
string: |-
|
490
|
+
{
|
491
|
+
"_links": {
|
492
|
+
"self": {
|
493
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY"
|
494
|
+
},
|
495
|
+
"transactions": {
|
496
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/transactions{?cursor,limit,order}",
|
497
|
+
"templated": true
|
498
|
+
},
|
499
|
+
"operations": {
|
500
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/operations{?cursor,limit,order}",
|
501
|
+
"templated": true
|
502
|
+
},
|
503
|
+
"payments": {
|
504
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/payments{?cursor,limit,order}",
|
505
|
+
"templated": true
|
506
|
+
},
|
507
|
+
"effects": {
|
508
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/effects{?cursor,limit,order}",
|
509
|
+
"templated": true
|
510
|
+
},
|
511
|
+
"offers": {
|
512
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/offers{?cursor,limit,order}",
|
513
|
+
"templated": true
|
514
|
+
},
|
515
|
+
"trades": {
|
516
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/trades{?cursor,limit,order}",
|
517
|
+
"templated": true
|
518
|
+
},
|
519
|
+
"data": {
|
520
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/data/{key}",
|
521
|
+
"templated": true
|
522
|
+
}
|
523
|
+
},
|
524
|
+
"id": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
525
|
+
"paging_token": "",
|
526
|
+
"account_id": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
527
|
+
"sequence": "38686905033818113",
|
528
|
+
"subentry_count": 1,
|
529
|
+
"thresholds": {
|
530
|
+
"low_threshold": 0,
|
531
|
+
"med_threshold": 0,
|
532
|
+
"high_threshold": 0
|
533
|
+
},
|
534
|
+
"flags": {
|
535
|
+
"auth_required": false,
|
536
|
+
"auth_revocable": false
|
537
|
+
},
|
538
|
+
"balances": [
|
539
|
+
{
|
540
|
+
"balance": "0.0000000",
|
541
|
+
"limit": "922337203685.4775807",
|
542
|
+
"asset_type": "credit_alphanum4",
|
543
|
+
"asset_code": "BTC",
|
544
|
+
"asset_issuer": "[source_address]"
|
545
|
+
},
|
546
|
+
{
|
547
|
+
"balance": "1.9999900",
|
548
|
+
"asset_type": "native"
|
549
|
+
}
|
550
|
+
],
|
551
|
+
"signers": [
|
552
|
+
{
|
553
|
+
"public_key": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
554
|
+
"weight": 1,
|
555
|
+
"key": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
556
|
+
"type": "ed25519_public_key"
|
557
|
+
}
|
558
|
+
],
|
559
|
+
"data": {}
|
560
|
+
}
|
561
|
+
http_version:
|
562
|
+
recorded_at: Thu, 17 May 2018 07:04:58 GMT
|
563
|
+
- request:
|
564
|
+
method: get
|
565
|
+
uri: https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY
|
566
|
+
body:
|
567
|
+
encoding: US-ASCII
|
568
|
+
string: ''
|
569
|
+
headers:
|
570
|
+
User-Agent:
|
571
|
+
- Faraday v0.15.1
|
572
|
+
Accept:
|
573
|
+
- application/hal+json,application/problem+json,application/json
|
574
|
+
response:
|
575
|
+
status:
|
576
|
+
code: 200
|
577
|
+
message: OK
|
578
|
+
headers:
|
579
|
+
Date:
|
580
|
+
- Thu, 17 May 2018 07:04:59 GMT
|
581
|
+
Content-Type:
|
582
|
+
- application/hal+json; charset=utf-8
|
583
|
+
Content-Length:
|
584
|
+
- '2492'
|
585
|
+
Connection:
|
586
|
+
- keep-alive
|
587
|
+
Set-Cookie:
|
588
|
+
- __cfduid=d6bfc9297175c45e002f404b7d7da3ad91526540699; expires=Fri, 17-May-19
|
589
|
+
07:04:59 GMT; path=/; domain=.stellar.org; HttpOnly
|
590
|
+
Content-Disposition:
|
591
|
+
- inline
|
592
|
+
Vary:
|
593
|
+
- Origin
|
594
|
+
X-Ratelimit-Limit:
|
595
|
+
- '17200'
|
596
|
+
X-Ratelimit-Remaining:
|
597
|
+
- '17170'
|
598
|
+
X-Ratelimit-Reset:
|
599
|
+
- '1398'
|
600
|
+
Expect-Ct:
|
601
|
+
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
602
|
+
Server:
|
603
|
+
- cloudflare
|
604
|
+
Cf-Ray:
|
605
|
+
- 41c43bab4db36fde-SIN
|
606
|
+
body:
|
607
|
+
encoding: ASCII-8BIT
|
608
|
+
string: |-
|
609
|
+
{
|
610
|
+
"_links": {
|
611
|
+
"self": {
|
612
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY"
|
613
|
+
},
|
614
|
+
"transactions": {
|
615
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/transactions{?cursor,limit,order}",
|
616
|
+
"templated": true
|
617
|
+
},
|
618
|
+
"operations": {
|
619
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/operations{?cursor,limit,order}",
|
620
|
+
"templated": true
|
621
|
+
},
|
622
|
+
"payments": {
|
623
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/payments{?cursor,limit,order}",
|
624
|
+
"templated": true
|
625
|
+
},
|
626
|
+
"effects": {
|
627
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/effects{?cursor,limit,order}",
|
628
|
+
"templated": true
|
629
|
+
},
|
630
|
+
"offers": {
|
631
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/offers{?cursor,limit,order}",
|
632
|
+
"templated": true
|
633
|
+
},
|
634
|
+
"trades": {
|
635
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/trades{?cursor,limit,order}",
|
636
|
+
"templated": true
|
637
|
+
},
|
638
|
+
"data": {
|
639
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/data/{key}",
|
640
|
+
"templated": true
|
641
|
+
}
|
642
|
+
},
|
643
|
+
"id": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
644
|
+
"paging_token": "",
|
645
|
+
"account_id": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
646
|
+
"sequence": "38686905033818113",
|
647
|
+
"subentry_count": 1,
|
648
|
+
"thresholds": {
|
649
|
+
"low_threshold": 0,
|
650
|
+
"med_threshold": 0,
|
651
|
+
"high_threshold": 0
|
652
|
+
},
|
653
|
+
"flags": {
|
654
|
+
"auth_required": false,
|
655
|
+
"auth_revocable": false
|
656
|
+
},
|
657
|
+
"balances": [
|
658
|
+
{
|
659
|
+
"balance": "0.0000000",
|
660
|
+
"limit": "922337203685.4775807",
|
661
|
+
"asset_type": "credit_alphanum4",
|
662
|
+
"asset_code": "BTC",
|
663
|
+
"asset_issuer": "[source_address]"
|
664
|
+
},
|
665
|
+
{
|
666
|
+
"balance": "1.9999900",
|
667
|
+
"asset_type": "native"
|
668
|
+
}
|
669
|
+
],
|
670
|
+
"signers": [
|
671
|
+
{
|
672
|
+
"public_key": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
673
|
+
"weight": 1,
|
674
|
+
"key": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
675
|
+
"type": "ed25519_public_key"
|
676
|
+
}
|
677
|
+
],
|
678
|
+
"data": {}
|
679
|
+
}
|
680
|
+
http_version:
|
681
|
+
recorded_at: Thu, 17 May 2018 07:04:59 GMT
|
682
|
+
- request:
|
683
|
+
method: post
|
684
|
+
uri: https://horizon-testnet.stellar.org/transactions
|
685
|
+
body:
|
686
|
+
encoding: UTF-8
|
687
|
+
string: tx=AAAAAFfQdV3mDijZAEjcQsSmTe2bHuHcijYyZFNumPwMh%2BR%2FAAAAZACJcYkAAAACAAAAAAAAAAAAAAABAAAAAAAAAAYAAAABQlRDAAAAAAChIkre8C%2FMxyH8LCReT76CP6luxKW9ooYYlu5cT6RyQgAAAAA7msoAAAAAAAAAAAEMh%2BR%2FAAAAQOm3v1%2FHlXA2gjgy5NVrqRphjtgkcrG7NsL%2Bppv8K5pFGx6kUDg3x22v8jWgFFi4uSk2qg0hFFnWZgCGeWOOhQg%3D
|
688
|
+
headers:
|
689
|
+
User-Agent:
|
690
|
+
- Faraday v0.15.1
|
691
|
+
Accept:
|
692
|
+
- application/hal+json,application/problem+json,application/json
|
693
|
+
Content-Type:
|
694
|
+
- application/x-www-form-urlencoded
|
695
|
+
response:
|
696
|
+
status:
|
697
|
+
code: 200
|
698
|
+
message: OK
|
699
|
+
headers:
|
700
|
+
Date:
|
701
|
+
- Thu, 17 May 2018 07:05:06 GMT
|
702
|
+
Content-Type:
|
703
|
+
- application/hal+json; charset=utf-8
|
704
|
+
Content-Length:
|
705
|
+
- '992'
|
706
|
+
Connection:
|
707
|
+
- keep-alive
|
708
|
+
Set-Cookie:
|
709
|
+
- __cfduid=d9c7c0f187fed655141724861965488a41526540704; expires=Fri, 17-May-19
|
710
|
+
07:05:04 GMT; path=/; domain=.stellar.org; HttpOnly
|
711
|
+
Content-Disposition:
|
712
|
+
- inline
|
713
|
+
Vary:
|
714
|
+
- Origin
|
715
|
+
X-Ratelimit-Limit:
|
716
|
+
- '17200'
|
717
|
+
X-Ratelimit-Remaining:
|
718
|
+
- '17161'
|
719
|
+
X-Ratelimit-Reset:
|
720
|
+
- '1391'
|
721
|
+
Expect-Ct:
|
722
|
+
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
723
|
+
Server:
|
724
|
+
- cloudflare
|
725
|
+
Cf-Ray:
|
726
|
+
- 41c43bcc9842a9ba-SIN
|
727
|
+
body:
|
728
|
+
encoding: ASCII-8BIT
|
729
|
+
string: |-
|
730
|
+
{
|
731
|
+
"_links": {
|
732
|
+
"transaction": {
|
733
|
+
"href": "https://horizon-testnet.stellar.org/transactions/cd6507987f6605420736ddcb5ac459011d1aeead7bda3e6193aeaa9172cb234b"
|
734
|
+
}
|
735
|
+
},
|
736
|
+
"hash": "cd6507987f6605420736ddcb5ac459011d1aeead7bda3e6193aeaa9172cb234b",
|
737
|
+
"ledger": 9007502,
|
738
|
+
"envelope_xdr": "AAAAAFfQdV3mDijZAEjcQsSmTe2bHuHcijYyZFNumPwMh+R/AAAAZACJcYkAAAACAAAAAAAAAAAAAAABAAAAAAAAAAYAAAABQlRDAAAAAAChIkre8C/MxyH8LCReT76CP6luxKW9ooYYlu5cT6RyQgAAAAA7msoAAAAAAAAAAAEMh+R/AAAAQOm3v1/HlXA2gjgy5NVrqRphjtgkcrG7NsL+ppv8K5pFGx6kUDg3x22v8jWgFFi4uSk2qg0hFFnWZgCGeWOOhQg=",
|
739
|
+
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAGAAAAAAAAAAA=",
|
740
|
+
"result_meta_xdr": "AAAAAAAAAAEAAAACAAAAAwCJcYwAAAABAAAAAFfQdV3mDijZAEjcQsSmTe2bHuHcijYyZFNumPwMh+R/AAAAAUJUQwAAAAAAoSJK3vAvzMch/CwkXk++gj+pbsSlvaKGGJbuXE+kckIAAAAAAAAAAH//////////AAAAAQAAAAAAAAAAAAAAAQCJcY4AAAABAAAAAFfQdV3mDijZAEjcQsSmTe2bHuHcijYyZFNumPwMh+R/AAAAAUJUQwAAAAAAoSJK3vAvzMch/CwkXk++gj+pbsSlvaKGGJbuXE+kckIAAAAAAAAAAAAAAAA7msoAAAAAAQAAAAAAAAAA"
|
741
|
+
}
|
742
|
+
http_version:
|
743
|
+
recorded_at: Thu, 17 May 2018 07:05:07 GMT
|
744
|
+
- request:
|
745
|
+
method: get
|
746
|
+
uri: https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY
|
747
|
+
body:
|
748
|
+
encoding: US-ASCII
|
749
|
+
string: ''
|
750
|
+
headers:
|
751
|
+
User-Agent:
|
752
|
+
- Faraday v0.15.1
|
753
|
+
Accept:
|
754
|
+
- application/hal+json,application/problem+json,application/json
|
755
|
+
response:
|
756
|
+
status:
|
757
|
+
code: 200
|
758
|
+
message: OK
|
759
|
+
headers:
|
760
|
+
Date:
|
761
|
+
- Thu, 17 May 2018 07:05:09 GMT
|
762
|
+
Content-Type:
|
763
|
+
- application/hal+json; charset=utf-8
|
764
|
+
Content-Length:
|
765
|
+
- '2483'
|
766
|
+
Connection:
|
767
|
+
- keep-alive
|
768
|
+
Set-Cookie:
|
769
|
+
- __cfduid=d7aac175644da1be092c9ee007f38bdeb1526540708; expires=Fri, 17-May-19
|
770
|
+
07:05:08 GMT; path=/; domain=.stellar.org; HttpOnly
|
771
|
+
Content-Disposition:
|
772
|
+
- inline
|
773
|
+
Vary:
|
774
|
+
- Origin
|
775
|
+
X-Ratelimit-Limit:
|
776
|
+
- '17200'
|
777
|
+
X-Ratelimit-Remaining:
|
778
|
+
- '17160'
|
779
|
+
X-Ratelimit-Reset:
|
780
|
+
- '1387'
|
781
|
+
Expect-Ct:
|
782
|
+
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
783
|
+
Server:
|
784
|
+
- cloudflare
|
785
|
+
Cf-Ray:
|
786
|
+
- 41c43be249f56f78-SIN
|
787
|
+
body:
|
788
|
+
encoding: ASCII-8BIT
|
789
|
+
string: |-
|
790
|
+
{
|
791
|
+
"_links": {
|
792
|
+
"self": {
|
793
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY"
|
794
|
+
},
|
795
|
+
"transactions": {
|
796
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/transactions{?cursor,limit,order}",
|
797
|
+
"templated": true
|
798
|
+
},
|
799
|
+
"operations": {
|
800
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/operations{?cursor,limit,order}",
|
801
|
+
"templated": true
|
802
|
+
},
|
803
|
+
"payments": {
|
804
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/payments{?cursor,limit,order}",
|
805
|
+
"templated": true
|
806
|
+
},
|
807
|
+
"effects": {
|
808
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/effects{?cursor,limit,order}",
|
809
|
+
"templated": true
|
810
|
+
},
|
811
|
+
"offers": {
|
812
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/offers{?cursor,limit,order}",
|
813
|
+
"templated": true
|
814
|
+
},
|
815
|
+
"trades": {
|
816
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/trades{?cursor,limit,order}",
|
817
|
+
"templated": true
|
818
|
+
},
|
819
|
+
"data": {
|
820
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/data/{key}",
|
821
|
+
"templated": true
|
822
|
+
}
|
823
|
+
},
|
824
|
+
"id": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
825
|
+
"paging_token": "",
|
826
|
+
"account_id": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
827
|
+
"sequence": "38686905033818114",
|
828
|
+
"subentry_count": 1,
|
829
|
+
"thresholds": {
|
830
|
+
"low_threshold": 0,
|
831
|
+
"med_threshold": 0,
|
832
|
+
"high_threshold": 0
|
833
|
+
},
|
834
|
+
"flags": {
|
835
|
+
"auth_required": false,
|
836
|
+
"auth_revocable": false
|
837
|
+
},
|
838
|
+
"balances": [
|
839
|
+
{
|
840
|
+
"balance": "0.0000000",
|
841
|
+
"limit": "100.0000000",
|
842
|
+
"asset_type": "credit_alphanum4",
|
843
|
+
"asset_code": "BTC",
|
844
|
+
"asset_issuer": "[source_address]"
|
845
|
+
},
|
846
|
+
{
|
847
|
+
"balance": "1.9999800",
|
848
|
+
"asset_type": "native"
|
849
|
+
}
|
850
|
+
],
|
851
|
+
"signers": [
|
852
|
+
{
|
853
|
+
"public_key": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
854
|
+
"weight": 1,
|
855
|
+
"key": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
856
|
+
"type": "ed25519_public_key"
|
857
|
+
}
|
858
|
+
],
|
859
|
+
"data": {}
|
860
|
+
}
|
861
|
+
http_version:
|
862
|
+
recorded_at: Thu, 17 May 2018 07:05:09 GMT
|
863
|
+
- request:
|
864
|
+
method: get
|
865
|
+
uri: https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY
|
866
|
+
body:
|
867
|
+
encoding: US-ASCII
|
868
|
+
string: ''
|
869
|
+
headers:
|
870
|
+
User-Agent:
|
871
|
+
- Faraday v0.15.1
|
872
|
+
Accept:
|
873
|
+
- application/hal+json,application/problem+json,application/json
|
874
|
+
response:
|
875
|
+
status:
|
876
|
+
code: 200
|
877
|
+
message: OK
|
878
|
+
headers:
|
879
|
+
Date:
|
880
|
+
- Thu, 17 May 2018 07:05:10 GMT
|
881
|
+
Content-Type:
|
882
|
+
- application/hal+json; charset=utf-8
|
883
|
+
Content-Length:
|
884
|
+
- '2483'
|
885
|
+
Connection:
|
886
|
+
- keep-alive
|
887
|
+
Set-Cookie:
|
888
|
+
- __cfduid=d4177802154d1672d8fe6dfc3bbc522001526540709; expires=Fri, 17-May-19
|
889
|
+
07:05:09 GMT; path=/; domain=.stellar.org; HttpOnly
|
890
|
+
Content-Disposition:
|
891
|
+
- inline
|
892
|
+
Vary:
|
893
|
+
- Origin
|
894
|
+
X-Ratelimit-Limit:
|
895
|
+
- '17200'
|
896
|
+
X-Ratelimit-Remaining:
|
897
|
+
- '17159'
|
898
|
+
X-Ratelimit-Reset:
|
899
|
+
- '1386'
|
900
|
+
Expect-Ct:
|
901
|
+
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
902
|
+
Server:
|
903
|
+
- cloudflare
|
904
|
+
Cf-Ray:
|
905
|
+
- 41c43bec8f707020-SIN
|
906
|
+
body:
|
907
|
+
encoding: ASCII-8BIT
|
908
|
+
string: |-
|
909
|
+
{
|
910
|
+
"_links": {
|
911
|
+
"self": {
|
912
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY"
|
913
|
+
},
|
914
|
+
"transactions": {
|
915
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/transactions{?cursor,limit,order}",
|
916
|
+
"templated": true
|
917
|
+
},
|
918
|
+
"operations": {
|
919
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/operations{?cursor,limit,order}",
|
920
|
+
"templated": true
|
921
|
+
},
|
922
|
+
"payments": {
|
923
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/payments{?cursor,limit,order}",
|
924
|
+
"templated": true
|
925
|
+
},
|
926
|
+
"effects": {
|
927
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/effects{?cursor,limit,order}",
|
928
|
+
"templated": true
|
929
|
+
},
|
930
|
+
"offers": {
|
931
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/offers{?cursor,limit,order}",
|
932
|
+
"templated": true
|
933
|
+
},
|
934
|
+
"trades": {
|
935
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/trades{?cursor,limit,order}",
|
936
|
+
"templated": true
|
937
|
+
},
|
938
|
+
"data": {
|
939
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/data/{key}",
|
940
|
+
"templated": true
|
941
|
+
}
|
942
|
+
},
|
943
|
+
"id": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
944
|
+
"paging_token": "",
|
945
|
+
"account_id": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
946
|
+
"sequence": "38686905033818114",
|
947
|
+
"subentry_count": 1,
|
948
|
+
"thresholds": {
|
949
|
+
"low_threshold": 0,
|
950
|
+
"med_threshold": 0,
|
951
|
+
"high_threshold": 0
|
952
|
+
},
|
953
|
+
"flags": {
|
954
|
+
"auth_required": false,
|
955
|
+
"auth_revocable": false
|
956
|
+
},
|
957
|
+
"balances": [
|
958
|
+
{
|
959
|
+
"balance": "0.0000000",
|
960
|
+
"limit": "100.0000000",
|
961
|
+
"asset_type": "credit_alphanum4",
|
962
|
+
"asset_code": "BTC",
|
963
|
+
"asset_issuer": "[source_address]"
|
964
|
+
},
|
965
|
+
{
|
966
|
+
"balance": "1.9999800",
|
967
|
+
"asset_type": "native"
|
968
|
+
}
|
969
|
+
],
|
970
|
+
"signers": [
|
971
|
+
{
|
972
|
+
"public_key": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
973
|
+
"weight": 1,
|
974
|
+
"key": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
975
|
+
"type": "ed25519_public_key"
|
976
|
+
}
|
977
|
+
],
|
978
|
+
"data": {}
|
979
|
+
}
|
980
|
+
http_version:
|
981
|
+
recorded_at: Thu, 17 May 2018 07:05:10 GMT
|
982
|
+
- request:
|
983
|
+
method: post
|
984
|
+
uri: https://horizon-testnet.stellar.org/transactions
|
985
|
+
body:
|
986
|
+
encoding: UTF-8
|
987
|
+
string: tx=AAAAAFfQdV3mDijZAEjcQsSmTe2bHuHcijYyZFNumPwMh%2BR%2FAAAAZACJcYkAAAADAAAAAAAAAAAAAAABAAAAAAAAAAYAAAABQlRDAAAAAAChIkre8C%2FMxyH8LCReT76CP6luxKW9ooYYlu5cT6RyQgAAAAAAAAAAAAAAAAAAAAEMh%2BR%2FAAAAQOmI76Lcj3hIXz%2B39CZ5GiG9qa4JscrkxFoxwESvENpjy7BkiMc%2BqPZexiKPwdPIRZOhQqrd03P4smCx%2B50y9wc%3D
|
988
|
+
headers:
|
989
|
+
User-Agent:
|
990
|
+
- Faraday v0.15.1
|
991
|
+
Accept:
|
992
|
+
- application/hal+json,application/problem+json,application/json
|
993
|
+
Content-Type:
|
994
|
+
- application/x-www-form-urlencoded
|
995
|
+
response:
|
996
|
+
status:
|
997
|
+
code: 200
|
998
|
+
message: OK
|
999
|
+
headers:
|
1000
|
+
Date:
|
1001
|
+
- Thu, 17 May 2018 07:05:22 GMT
|
1002
|
+
Content-Type:
|
1003
|
+
- application/hal+json; charset=utf-8
|
1004
|
+
Content-Length:
|
1005
|
+
- '1208'
|
1006
|
+
Connection:
|
1007
|
+
- keep-alive
|
1008
|
+
Set-Cookie:
|
1009
|
+
- __cfduid=dcf4915f229bbffee1b72b913357999821526540716; expires=Fri, 17-May-19
|
1010
|
+
07:05:16 GMT; path=/; domain=.stellar.org; HttpOnly
|
1011
|
+
Content-Disposition:
|
1012
|
+
- inline
|
1013
|
+
Vary:
|
1014
|
+
- Origin
|
1015
|
+
X-Ratelimit-Limit:
|
1016
|
+
- '17200'
|
1017
|
+
X-Ratelimit-Remaining:
|
1018
|
+
- '17169'
|
1019
|
+
X-Ratelimit-Reset:
|
1020
|
+
- '1381'
|
1021
|
+
Expect-Ct:
|
1022
|
+
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
1023
|
+
Server:
|
1024
|
+
- cloudflare
|
1025
|
+
Cf-Ray:
|
1026
|
+
- 41c43c149f83a9ba-SIN
|
1027
|
+
body:
|
1028
|
+
encoding: ASCII-8BIT
|
1029
|
+
string: |-
|
1030
|
+
{
|
1031
|
+
"_links": {
|
1032
|
+
"transaction": {
|
1033
|
+
"href": "https://horizon-testnet.stellar.org/transactions/c58e9c5258e87f72659c771f4c26dde39bcee8a59d3aff56cc9070c3292198eb"
|
1034
|
+
}
|
1035
|
+
},
|
1036
|
+
"hash": "c58e9c5258e87f72659c771f4c26dde39bcee8a59d3aff56cc9070c3292198eb",
|
1037
|
+
"ledger": 9007505,
|
1038
|
+
"envelope_xdr": "AAAAAFfQdV3mDijZAEjcQsSmTe2bHuHcijYyZFNumPwMh+R/AAAAZACJcYkAAAADAAAAAAAAAAAAAAABAAAAAAAAAAYAAAABQlRDAAAAAAChIkre8C/MxyH8LCReT76CP6luxKW9ooYYlu5cT6RyQgAAAAAAAAAAAAAAAAAAAAEMh+R/AAAAQOmI76Lcj3hIXz+39CZ5GiG9qa4JscrkxFoxwESvENpjy7BkiMc+qPZexiKPwdPIRZOhQqrd03P4smCx+50y9wc=",
|
1039
|
+
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAGAAAAAAAAAAA=",
|
1040
|
+
"result_meta_xdr": "AAAAAAAAAAEAAAAEAAAAAwCJcZEAAAAAAAAAAFfQdV3mDijZAEjcQsSmTe2bHuHcijYyZFNumPwMh+R/AAAAAAExK9QAiXGJAAAAAwAAAAEAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAQCJcZEAAAAAAAAAAFfQdV3mDijZAEjcQsSmTe2bHuHcijYyZFNumPwMh+R/AAAAAAExK9QAiXGJAAAAAwAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAwCJcY4AAAABAAAAAFfQdV3mDijZAEjcQsSmTe2bHuHcijYyZFNumPwMh+R/AAAAAUJUQwAAAAAAoSJK3vAvzMch/CwkXk++gj+pbsSlvaKGGJbuXE+kckIAAAAAAAAAAAAAAAA7msoAAAAAAQAAAAAAAAAAAAAAAgAAAAEAAAAAV9B1XeYOKNkASNxCxKZN7Zse4dyKNjJkU26Y/AyH5H8AAAABQlRDAAAAAAChIkre8C/MxyH8LCReT76CP6luxKW9ooYYlu5cT6RyQg=="
|
1041
|
+
}
|
1042
|
+
http_version:
|
1043
|
+
recorded_at: Thu, 17 May 2018 07:05:23 GMT
|
1044
|
+
- request:
|
1045
|
+
method: get
|
1046
|
+
uri: https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY
|
1047
|
+
body:
|
1048
|
+
encoding: US-ASCII
|
1049
|
+
string: ''
|
1050
|
+
headers:
|
1051
|
+
User-Agent:
|
1052
|
+
- Faraday v0.15.1
|
1053
|
+
Accept:
|
1054
|
+
- application/hal+json,application/problem+json,application/json
|
1055
|
+
response:
|
1056
|
+
status:
|
1057
|
+
code: 200
|
1058
|
+
message: OK
|
1059
|
+
headers:
|
1060
|
+
Date:
|
1061
|
+
- Thu, 17 May 2018 07:05:23 GMT
|
1062
|
+
Content-Type:
|
1063
|
+
- application/hal+json; charset=utf-8
|
1064
|
+
Content-Length:
|
1065
|
+
- '2262'
|
1066
|
+
Connection:
|
1067
|
+
- keep-alive
|
1068
|
+
Set-Cookie:
|
1069
|
+
- __cfduid=d2e129a707ee235f15616365dd6b7fcc21526540723; expires=Fri, 17-May-19
|
1070
|
+
07:05:23 GMT; path=/; domain=.stellar.org; HttpOnly
|
1071
|
+
Content-Disposition:
|
1072
|
+
- inline
|
1073
|
+
Vary:
|
1074
|
+
- Origin
|
1075
|
+
X-Ratelimit-Limit:
|
1076
|
+
- '17200'
|
1077
|
+
X-Ratelimit-Remaining:
|
1078
|
+
- '17168'
|
1079
|
+
X-Ratelimit-Reset:
|
1080
|
+
- '1374'
|
1081
|
+
Expect-Ct:
|
1082
|
+
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
1083
|
+
Server:
|
1084
|
+
- cloudflare
|
1085
|
+
Cf-Ray:
|
1086
|
+
- 41c43c42aadb6fd2-SIN
|
1087
|
+
body:
|
1088
|
+
encoding: ASCII-8BIT
|
1089
|
+
string: |-
|
1090
|
+
{
|
1091
|
+
"_links": {
|
1092
|
+
"self": {
|
1093
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY"
|
1094
|
+
},
|
1095
|
+
"transactions": {
|
1096
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/transactions{?cursor,limit,order}",
|
1097
|
+
"templated": true
|
1098
|
+
},
|
1099
|
+
"operations": {
|
1100
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/operations{?cursor,limit,order}",
|
1101
|
+
"templated": true
|
1102
|
+
},
|
1103
|
+
"payments": {
|
1104
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/payments{?cursor,limit,order}",
|
1105
|
+
"templated": true
|
1106
|
+
},
|
1107
|
+
"effects": {
|
1108
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/effects{?cursor,limit,order}",
|
1109
|
+
"templated": true
|
1110
|
+
},
|
1111
|
+
"offers": {
|
1112
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/offers{?cursor,limit,order}",
|
1113
|
+
"templated": true
|
1114
|
+
},
|
1115
|
+
"trades": {
|
1116
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/trades{?cursor,limit,order}",
|
1117
|
+
"templated": true
|
1118
|
+
},
|
1119
|
+
"data": {
|
1120
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY/data/{key}",
|
1121
|
+
"templated": true
|
1122
|
+
}
|
1123
|
+
},
|
1124
|
+
"id": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
1125
|
+
"paging_token": "",
|
1126
|
+
"account_id": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
1127
|
+
"sequence": "38686905033818115",
|
1128
|
+
"subentry_count": 0,
|
1129
|
+
"thresholds": {
|
1130
|
+
"low_threshold": 0,
|
1131
|
+
"med_threshold": 0,
|
1132
|
+
"high_threshold": 0
|
1133
|
+
},
|
1134
|
+
"flags": {
|
1135
|
+
"auth_required": false,
|
1136
|
+
"auth_revocable": false
|
1137
|
+
},
|
1138
|
+
"balances": [
|
1139
|
+
{
|
1140
|
+
"balance": "1.9999700",
|
1141
|
+
"asset_type": "native"
|
1142
|
+
}
|
1143
|
+
],
|
1144
|
+
"signers": [
|
1145
|
+
{
|
1146
|
+
"public_key": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
1147
|
+
"weight": 1,
|
1148
|
+
"key": "GBL5A5K54YHCRWIAJDOEFRFGJXWZWHXB3SFDMMTEKNXJR7AMQ7SH65VY",
|
1149
|
+
"type": "ed25519_public_key"
|
1150
|
+
}
|
1151
|
+
],
|
1152
|
+
"data": {}
|
1153
|
+
}
|
1154
|
+
http_version:
|
1155
|
+
recorded_at: Thu, 17 May 2018 07:05:24 GMT
|
1156
|
+
recorded_with: VCR 3.0.3
|