stellar-sdk 0.5.0 → 0.9.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -2
- data/{LICENSE.txt → LICENSE} +0 -0
- data/README.md +17 -11
- data/lib/stellar-sdk.rb +3 -4
- data/lib/stellar/account.rb +16 -18
- data/lib/stellar/amount.rb +9 -13
- data/lib/stellar/client.rb +217 -91
- data/lib/stellar/horizon/problem.rb +14 -16
- data/lib/stellar/sep10.rb +347 -0
- data/lib/stellar/transaction_page.rb +4 -6
- data/lib/stellar/version.rb +1 -1
- metadata +17 -207
- data/.gitignore +0 -16
- data/.travis.yml +0 -13
- data/.yardopts +0 -7
- data/CONTRIBUTING.md +0 -48
- data/Gemfile +0 -14
- data/Guardfile +0 -5
- data/Rakefile +0 -3
- data/examples/01_get_funded.rb +0 -37
- data/examples/02_payment.rb +0 -15
- data/examples/03_transaction_history.rb +0 -21
- data/examples/04_setting_trust.rb +0 -1
- data/examples/05_fiat_payment.rb +0 -13
- data/examples/06_fund_testnet_friendbot.rb +0 -15
- data/ruby-stellar-sdk.gemspec +0 -36
- data/spec/config.yml.sample +0 -7
- data/spec/fixtures/vcr_cassettes/Stellar_Account/_lookup/should_handle_404_request_when_performing_federation_lookup.yml +0 -133
- data/spec/fixtures/vcr_cassettes/Stellar_Account/_lookup/should_handle_domains_that_are_not_federation_servers.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Stellar_Account/_lookup/should_peforms_federation_lookup.yml +0 -85
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_account_info/returns_the_current_details_for_the_account.yml +0 -190
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_account_merge/merges_source_account_into_destination.yml +0 -714
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_change_trust/given_an_asset_described_as_an_array/creates_updates_or_deletes_a_trustline.yml +0 -1156
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_create_account/creates_the_account.yml +0 -323
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/alphanum12_asset/sends_a_alphanum12_asset_to_the_destination.yml +0 -737
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/alphanum4_asset/sends_a_alphanum4_asset_to_the_destination.yml +0 -737
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/native_asset/sends_a_native_payment_to_the_account.yml +0 -469
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_transactions/account_transactions/accepts_a_cursor_to_return_less_data.yml +0 -94
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_transactions/account_transactions/returns_a_list_of_transaction_for_an_account.yml +0 -94
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_transactions/all_transactions/accepts_a_cursor_to_return_less_data.yml +0 -94
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_transactions/all_transactions/returns_a_list_of_transactions.yml +0 -94
- data/spec/lib/stellar/account_spec.rb +0 -59
- data/spec/lib/stellar/amount_spec.rb +0 -70
- data/spec/lib/stellar/client_spec.rb +0 -302
- data/spec/spec_helper.rb +0 -14
- data/spec/support/config.rb +0 -3
- data/spec/support/vcr.rb +0 -10
- data/tasks/rspec.rake +0 -6
- data/tasks/travis.rake +0 -1
@@ -1,469 +0,0 @@
|
|
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.9.2
|
12
|
-
Accept:
|
13
|
-
- application/hal+json,application/problem+json,application/json
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: OK
|
18
|
-
headers:
|
19
|
-
Content-Type:
|
20
|
-
- application/hal+json; charset=utf-8
|
21
|
-
Date:
|
22
|
-
- Sun, 26 Mar 2017 07:28:49 GMT
|
23
|
-
X-Ratelimit-Limit:
|
24
|
-
- '72000'
|
25
|
-
X-Ratelimit-Remaining:
|
26
|
-
- '71946'
|
27
|
-
X-Ratelimit-Reset:
|
28
|
-
- '2156'
|
29
|
-
Content-Length:
|
30
|
-
- '1366'
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
body:
|
34
|
-
encoding: UTF-8
|
35
|
-
string: |-
|
36
|
-
{
|
37
|
-
"_links": {
|
38
|
-
"account": {
|
39
|
-
"href": "https://horizon-testnet.stellar.org/accounts/{account_id}",
|
40
|
-
"templated": true
|
41
|
-
},
|
42
|
-
"account_transactions": {
|
43
|
-
"href": "https://horizon-testnet.stellar.org/accounts/{account_id}/transactions{?cursor,limit,order}",
|
44
|
-
"templated": true
|
45
|
-
},
|
46
|
-
"friendbot": {
|
47
|
-
"href": "https://horizon-testnet.stellar.org/friendbot{?addr}",
|
48
|
-
"templated": true
|
49
|
-
},
|
50
|
-
"metrics": {
|
51
|
-
"href": "https://horizon-testnet.stellar.org/metrics"
|
52
|
-
},
|
53
|
-
"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}",
|
55
|
-
"templated": true
|
56
|
-
},
|
57
|
-
"self": {
|
58
|
-
"href": "https://horizon-testnet.stellar.org/"
|
59
|
-
},
|
60
|
-
"transaction": {
|
61
|
-
"href": "https://horizon-testnet.stellar.org/transactions/{hash}",
|
62
|
-
"templated": true
|
63
|
-
},
|
64
|
-
"transactions": {
|
65
|
-
"href": "https://horizon-testnet.stellar.org/transactions{?cursor,limit,order}",
|
66
|
-
"templated": true
|
67
|
-
}
|
68
|
-
},
|
69
|
-
"horizon_version": "v0.10.0-3-g50eda21",
|
70
|
-
"core_version": "v0.6.1-2-g12a1603",
|
71
|
-
"history_latest_ledger": 124860,
|
72
|
-
"history_elder_ledger": 1,
|
73
|
-
"core_latest_ledger": 124860,
|
74
|
-
"core_elder_ledger": 1,
|
75
|
-
"network_passphrase": "Test SDF Network ; September 2015",
|
76
|
-
"protocol_version": 4
|
77
|
-
}
|
78
|
-
http_version:
|
79
|
-
recorded_at: Sun, 26 Mar 2017 07:28:48 GMT
|
80
|
-
- request:
|
81
|
-
method: get
|
82
|
-
uri: https://horizon-testnet.stellar.org/accounts/[source_address]
|
83
|
-
body:
|
84
|
-
encoding: US-ASCII
|
85
|
-
string: ''
|
86
|
-
headers:
|
87
|
-
User-Agent:
|
88
|
-
- Faraday v0.9.2
|
89
|
-
Accept:
|
90
|
-
- application/hal+json,application/problem+json,application/json
|
91
|
-
response:
|
92
|
-
status:
|
93
|
-
code: 200
|
94
|
-
message: OK
|
95
|
-
headers:
|
96
|
-
Content-Type:
|
97
|
-
- application/hal+json; charset=utf-8
|
98
|
-
Date:
|
99
|
-
- Sun, 26 Mar 2017 07:28:50 GMT
|
100
|
-
X-Ratelimit-Limit:
|
101
|
-
- '72000'
|
102
|
-
X-Ratelimit-Remaining:
|
103
|
-
- '71945'
|
104
|
-
X-Ratelimit-Reset:
|
105
|
-
- '2155'
|
106
|
-
Connection:
|
107
|
-
- keep-alive
|
108
|
-
body:
|
109
|
-
encoding: UTF-8
|
110
|
-
string: |-
|
111
|
-
{
|
112
|
-
"_links": {
|
113
|
-
"self": {
|
114
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]"
|
115
|
-
},
|
116
|
-
"transactions": {
|
117
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/transactions{?cursor,limit,order}",
|
118
|
-
"templated": true
|
119
|
-
},
|
120
|
-
"operations": {
|
121
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/operations{?cursor,limit,order}",
|
122
|
-
"templated": true
|
123
|
-
},
|
124
|
-
"payments": {
|
125
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/payments{?cursor,limit,order}",
|
126
|
-
"templated": true
|
127
|
-
},
|
128
|
-
"effects": {
|
129
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/effects{?cursor,limit,order}",
|
130
|
-
"templated": true
|
131
|
-
},
|
132
|
-
"offers": {
|
133
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/offers{?cursor,limit,order}",
|
134
|
-
"templated": true
|
135
|
-
},
|
136
|
-
"trades": {
|
137
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/trades{?cursor,limit,order}",
|
138
|
-
"templated": true
|
139
|
-
},
|
140
|
-
"data": {
|
141
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/data/{key}",
|
142
|
-
"templated": true
|
143
|
-
}
|
144
|
-
},
|
145
|
-
"id": "[source_address]",
|
146
|
-
"paging_token": "",
|
147
|
-
"account_id": "[source_address]",
|
148
|
-
"sequence": "346973227974694",
|
149
|
-
"subentry_count": 0,
|
150
|
-
"thresholds": {
|
151
|
-
"low_threshold": 0,
|
152
|
-
"med_threshold": 0,
|
153
|
-
"high_threshold": 0
|
154
|
-
},
|
155
|
-
"flags": {
|
156
|
-
"auth_required": false,
|
157
|
-
"auth_revocable": false
|
158
|
-
},
|
159
|
-
"balances": [
|
160
|
-
{
|
161
|
-
"balance": "4749.9998600",
|
162
|
-
"asset_type": "native"
|
163
|
-
}
|
164
|
-
],
|
165
|
-
"signers": [
|
166
|
-
{
|
167
|
-
"public_key": "[source_address]",
|
168
|
-
"weight": 1,
|
169
|
-
"key": "[source_address]",
|
170
|
-
"type": "ed25519_public_key"
|
171
|
-
}
|
172
|
-
],
|
173
|
-
"data": {}
|
174
|
-
}
|
175
|
-
http_version:
|
176
|
-
recorded_at: Sun, 26 Mar 2017 07:28:49 GMT
|
177
|
-
- request:
|
178
|
-
method: post
|
179
|
-
uri: https://horizon-testnet.stellar.org/transactions
|
180
|
-
body:
|
181
|
-
encoding: UTF-8
|
182
|
-
string: tx=AAAAAKEiSt7wL8zHIfwsJF5PvoI%2FqW7Epb2ihhiW7lxPpHJCO5rKAAABO5IAAAAnAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA3EVejc%2BkLyLyCCoS3V6dhSxNnPdQkAV2zvUkRTyAdLsAAAAAO5rKAAAAAAAAAAABT6RyQgAAAEBMVplDCKfB%2FOZaf%2FLGaOI3pLL00YzE%2FI%2Fyvsnmy5Y3oPNCHmIwkUDgTC5Eob7cXqGVpy92VdwjoMXeUz5Imz4E
|
183
|
-
headers:
|
184
|
-
User-Agent:
|
185
|
-
- Faraday v0.9.2
|
186
|
-
Accept:
|
187
|
-
- application/hal+json,application/problem+json,application/json
|
188
|
-
Content-Type:
|
189
|
-
- application/x-www-form-urlencoded
|
190
|
-
response:
|
191
|
-
status:
|
192
|
-
code: 200
|
193
|
-
message: OK
|
194
|
-
headers:
|
195
|
-
Content-Type:
|
196
|
-
- application/hal+json; charset=utf-8
|
197
|
-
Date:
|
198
|
-
- Sun, 26 Mar 2017 07:28:56 GMT
|
199
|
-
X-Ratelimit-Limit:
|
200
|
-
- '72000'
|
201
|
-
X-Ratelimit-Remaining:
|
202
|
-
- '71944'
|
203
|
-
X-Ratelimit-Reset:
|
204
|
-
- '2154'
|
205
|
-
Content-Length:
|
206
|
-
- '915'
|
207
|
-
Connection:
|
208
|
-
- keep-alive
|
209
|
-
body:
|
210
|
-
encoding: UTF-8
|
211
|
-
string: |-
|
212
|
-
{
|
213
|
-
"_links": {
|
214
|
-
"transaction": {
|
215
|
-
"href": "https://horizon-testnet.stellar.org/transactions/4e61a390afc10a26f6fe64470cff4f8b7e58a6dd237743d2e674343ae4edcf53"
|
216
|
-
}
|
217
|
-
},
|
218
|
-
"hash": "4e61a390afc10a26f6fe64470cff4f8b7e58a6dd237743d2e674343ae4edcf53",
|
219
|
-
"ledger": 124862,
|
220
|
-
"envelope_xdr": "AAAAAKEiSt7wL8zHIfwsJF5PvoI/qW7Epb2ihhiW7lxPpHJCO5rKAAABO5IAAAAnAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA3EVejc+kLyLyCCoS3V6dhSxNnPdQkAV2zvUkRTyAdLsAAAAAO5rKAAAAAAAAAAABT6RyQgAAAEBMVplDCKfB/OZaf/LGaOI3pLL00YzE/I/yvsnmy5Y3oPNCHmIwkUDgTC5Eob7cXqGVpy92VdwjoMXeUz5Imz4E",
|
221
|
-
"result_xdr": "AAAAADuaygAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA=",
|
222
|
-
"result_meta_xdr": "AAAAAAAAAAEAAAACAAAAAAAB574AAAAAAAAAANxFXo3PpC8i8ggqEt1enYUsTZz3UJAFds71JEU8gHS7AAAAADuaygAAAee+AAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAQAB574AAAAAAAAAAKEiSt7wL8zHIfwsJF5PvoI/qW7Epb2ihhiW7lxPpHJCAAAACpgC4YgAATuSAAAAJwAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAA"
|
223
|
-
}
|
224
|
-
http_version:
|
225
|
-
recorded_at: Sun, 26 Mar 2017 07:28:55 GMT
|
226
|
-
- request:
|
227
|
-
method: get
|
228
|
-
uri: https://horizon-testnet.stellar.org/accounts/[source_address]
|
229
|
-
body:
|
230
|
-
encoding: US-ASCII
|
231
|
-
string: ''
|
232
|
-
headers:
|
233
|
-
User-Agent:
|
234
|
-
- Faraday v0.9.2
|
235
|
-
Accept:
|
236
|
-
- application/hal+json,application/problem+json,application/json
|
237
|
-
response:
|
238
|
-
status:
|
239
|
-
code: 200
|
240
|
-
message: OK
|
241
|
-
headers:
|
242
|
-
Content-Type:
|
243
|
-
- application/hal+json; charset=utf-8
|
244
|
-
Date:
|
245
|
-
- Sun, 26 Mar 2017 07:28:58 GMT
|
246
|
-
X-Ratelimit-Limit:
|
247
|
-
- '72000'
|
248
|
-
X-Ratelimit-Remaining:
|
249
|
-
- '71943'
|
250
|
-
X-Ratelimit-Reset:
|
251
|
-
- '2147'
|
252
|
-
Connection:
|
253
|
-
- keep-alive
|
254
|
-
body:
|
255
|
-
encoding: UTF-8
|
256
|
-
string: |-
|
257
|
-
{
|
258
|
-
"_links": {
|
259
|
-
"self": {
|
260
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]"
|
261
|
-
},
|
262
|
-
"transactions": {
|
263
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/transactions{?cursor,limit,order}",
|
264
|
-
"templated": true
|
265
|
-
},
|
266
|
-
"operations": {
|
267
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/operations{?cursor,limit,order}",
|
268
|
-
"templated": true
|
269
|
-
},
|
270
|
-
"payments": {
|
271
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/payments{?cursor,limit,order}",
|
272
|
-
"templated": true
|
273
|
-
},
|
274
|
-
"effects": {
|
275
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/effects{?cursor,limit,order}",
|
276
|
-
"templated": true
|
277
|
-
},
|
278
|
-
"offers": {
|
279
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/offers{?cursor,limit,order}",
|
280
|
-
"templated": true
|
281
|
-
},
|
282
|
-
"trades": {
|
283
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/trades{?cursor,limit,order}",
|
284
|
-
"templated": true
|
285
|
-
},
|
286
|
-
"data": {
|
287
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/data/{key}",
|
288
|
-
"templated": true
|
289
|
-
}
|
290
|
-
},
|
291
|
-
"id": "[source_address]",
|
292
|
-
"paging_token": "",
|
293
|
-
"account_id": "[source_address]",
|
294
|
-
"sequence": "346973227974695",
|
295
|
-
"subentry_count": 0,
|
296
|
-
"thresholds": {
|
297
|
-
"low_threshold": 0,
|
298
|
-
"med_threshold": 0,
|
299
|
-
"high_threshold": 0
|
300
|
-
},
|
301
|
-
"flags": {
|
302
|
-
"auth_required": false,
|
303
|
-
"auth_revocable": false
|
304
|
-
},
|
305
|
-
"balances": [
|
306
|
-
{
|
307
|
-
"balance": "4549.9998600",
|
308
|
-
"asset_type": "native"
|
309
|
-
}
|
310
|
-
],
|
311
|
-
"signers": [
|
312
|
-
{
|
313
|
-
"public_key": "[source_address]",
|
314
|
-
"weight": 1,
|
315
|
-
"key": "[source_address]",
|
316
|
-
"type": "ed25519_public_key"
|
317
|
-
}
|
318
|
-
],
|
319
|
-
"data": {}
|
320
|
-
}
|
321
|
-
http_version:
|
322
|
-
recorded_at: Sun, 26 Mar 2017 07:28:57 GMT
|
323
|
-
- request:
|
324
|
-
method: post
|
325
|
-
uri: https://horizon-testnet.stellar.org/transactions
|
326
|
-
body:
|
327
|
-
encoding: UTF-8
|
328
|
-
string: tx=AAAAAKEiSt7wL8zHIfwsJF5PvoI%2FqW7Epb2ihhiW7lxPpHJCAAAAZAABO5IAAAAoAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAA3EVejc%2BkLyLyCCoS3V6dhSxNnPdQkAV2zvUkRTyAdLsAAAAAAAAAAFloLwAAAAAAAAAAAU%2BkckIAAABAtkN4J57xCr%2BBdg5TvYnp%2FC8LZBzFT891v%2BIKb8Cmq0gEHw79gVDWTY1%2FCZU4IhZ00v5nluViECmJ%2FDPnX0JTAQ%3D%3D
|
329
|
-
headers:
|
330
|
-
User-Agent:
|
331
|
-
- Faraday v0.9.2
|
332
|
-
Accept:
|
333
|
-
- application/hal+json,application/problem+json,application/json
|
334
|
-
Content-Type:
|
335
|
-
- application/x-www-form-urlencoded
|
336
|
-
response:
|
337
|
-
status:
|
338
|
-
code: 200
|
339
|
-
message: OK
|
340
|
-
headers:
|
341
|
-
Content-Type:
|
342
|
-
- application/hal+json; charset=utf-8
|
343
|
-
Date:
|
344
|
-
- Sun, 26 Mar 2017 07:29:01 GMT
|
345
|
-
X-Ratelimit-Limit:
|
346
|
-
- '72000'
|
347
|
-
X-Ratelimit-Remaining:
|
348
|
-
- '71942'
|
349
|
-
X-Ratelimit-Reset:
|
350
|
-
- '2146'
|
351
|
-
Content-Length:
|
352
|
-
- '1051'
|
353
|
-
Connection:
|
354
|
-
- keep-alive
|
355
|
-
body:
|
356
|
-
encoding: UTF-8
|
357
|
-
string: |-
|
358
|
-
{
|
359
|
-
"_links": {
|
360
|
-
"transaction": {
|
361
|
-
"href": "https://horizon-testnet.stellar.org/transactions/116d0ba7bd66f7d50141db0a78f2c8fe13a4bc87a47eeb1ec331fb5a0a347521"
|
362
|
-
}
|
363
|
-
},
|
364
|
-
"hash": "116d0ba7bd66f7d50141db0a78f2c8fe13a4bc87a47eeb1ec331fb5a0a347521",
|
365
|
-
"ledger": 124863,
|
366
|
-
"envelope_xdr": "AAAAAKEiSt7wL8zHIfwsJF5PvoI/qW7Epb2ihhiW7lxPpHJCAAAAZAABO5IAAAAoAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAA3EVejc+kLyLyCCoS3V6dhSxNnPdQkAV2zvUkRTyAdLsAAAAAAAAAAFloLwAAAAAAAAAAAU+kckIAAABAtkN4J57xCr+Bdg5TvYnp/C8LZBzFT891v+IKb8Cmq0gEHw79gVDWTY1/CZU4IhZ00v5nluViECmJ/DPnX0JTAQ==",
|
367
|
-
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAA=",
|
368
|
-
"result_meta_xdr": "AAAAAAAAAAEAAAADAAAAAQAB578AAAAAAAAAAKEiSt7wL8zHIfwsJF5PvoI/qW7Epb2ihhiW7lxPpHJCAAAACj6asiQAATuSAAAAKAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAwAB574AAAAAAAAAANxFXo3PpC8i8ggqEt1enYUsTZz3UJAFds71JEU8gHS7AAAAADuaygAAAee+AAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAQAB578AAAAAAAAAANxFXo3PpC8i8ggqEt1enYUsTZz3UJAFds71JEU8gHS7AAAAAJUC+QAAAee+AAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAA"
|
369
|
-
}
|
370
|
-
http_version:
|
371
|
-
recorded_at: Sun, 26 Mar 2017 07:29:00 GMT
|
372
|
-
- request:
|
373
|
-
method: get
|
374
|
-
uri: https://horizon-testnet.stellar.org/accounts/GDOEKXUNZ6SC6IXSBAVBFXK6TWCSYTM465IJABLWZ32SIRJ4QB2LW247
|
375
|
-
body:
|
376
|
-
encoding: US-ASCII
|
377
|
-
string: ''
|
378
|
-
headers:
|
379
|
-
User-Agent:
|
380
|
-
- Faraday v0.9.2
|
381
|
-
Accept:
|
382
|
-
- application/hal+json,application/problem+json,application/json
|
383
|
-
response:
|
384
|
-
status:
|
385
|
-
code: 200
|
386
|
-
message: OK
|
387
|
-
headers:
|
388
|
-
Content-Type:
|
389
|
-
- application/hal+json; charset=utf-8
|
390
|
-
Date:
|
391
|
-
- Sun, 26 Mar 2017 07:29:02 GMT
|
392
|
-
X-Ratelimit-Limit:
|
393
|
-
- '72000'
|
394
|
-
X-Ratelimit-Remaining:
|
395
|
-
- '71941'
|
396
|
-
X-Ratelimit-Reset:
|
397
|
-
- '2142'
|
398
|
-
Connection:
|
399
|
-
- keep-alive
|
400
|
-
body:
|
401
|
-
encoding: UTF-8
|
402
|
-
string: |-
|
403
|
-
{
|
404
|
-
"_links": {
|
405
|
-
"self": {
|
406
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GDOEKXUNZ6SC6IXSBAVBFXK6TWCSYTM465IJABLWZ32SIRJ4QB2LW247"
|
407
|
-
},
|
408
|
-
"transactions": {
|
409
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GDOEKXUNZ6SC6IXSBAVBFXK6TWCSYTM465IJABLWZ32SIRJ4QB2LW247/transactions{?cursor,limit,order}",
|
410
|
-
"templated": true
|
411
|
-
},
|
412
|
-
"operations": {
|
413
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GDOEKXUNZ6SC6IXSBAVBFXK6TWCSYTM465IJABLWZ32SIRJ4QB2LW247/operations{?cursor,limit,order}",
|
414
|
-
"templated": true
|
415
|
-
},
|
416
|
-
"payments": {
|
417
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GDOEKXUNZ6SC6IXSBAVBFXK6TWCSYTM465IJABLWZ32SIRJ4QB2LW247/payments{?cursor,limit,order}",
|
418
|
-
"templated": true
|
419
|
-
},
|
420
|
-
"effects": {
|
421
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GDOEKXUNZ6SC6IXSBAVBFXK6TWCSYTM465IJABLWZ32SIRJ4QB2LW247/effects{?cursor,limit,order}",
|
422
|
-
"templated": true
|
423
|
-
},
|
424
|
-
"offers": {
|
425
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GDOEKXUNZ6SC6IXSBAVBFXK6TWCSYTM465IJABLWZ32SIRJ4QB2LW247/offers{?cursor,limit,order}",
|
426
|
-
"templated": true
|
427
|
-
},
|
428
|
-
"trades": {
|
429
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GDOEKXUNZ6SC6IXSBAVBFXK6TWCSYTM465IJABLWZ32SIRJ4QB2LW247/trades{?cursor,limit,order}",
|
430
|
-
"templated": true
|
431
|
-
},
|
432
|
-
"data": {
|
433
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GDOEKXUNZ6SC6IXSBAVBFXK6TWCSYTM465IJABLWZ32SIRJ4QB2LW247/data/{key}",
|
434
|
-
"templated": true
|
435
|
-
}
|
436
|
-
},
|
437
|
-
"id": "GDOEKXUNZ6SC6IXSBAVBFXK6TWCSYTM465IJABLWZ32SIRJ4QB2LW247",
|
438
|
-
"paging_token": "",
|
439
|
-
"account_id": "GDOEKXUNZ6SC6IXSBAVBFXK6TWCSYTM465IJABLWZ32SIRJ4QB2LW247",
|
440
|
-
"sequence": "536278206513152",
|
441
|
-
"subentry_count": 0,
|
442
|
-
"thresholds": {
|
443
|
-
"low_threshold": 0,
|
444
|
-
"med_threshold": 0,
|
445
|
-
"high_threshold": 0
|
446
|
-
},
|
447
|
-
"flags": {
|
448
|
-
"auth_required": false,
|
449
|
-
"auth_revocable": false
|
450
|
-
},
|
451
|
-
"balances": [
|
452
|
-
{
|
453
|
-
"balance": "250.0000000",
|
454
|
-
"asset_type": "native"
|
455
|
-
}
|
456
|
-
],
|
457
|
-
"signers": [
|
458
|
-
{
|
459
|
-
"public_key": "GDOEKXUNZ6SC6IXSBAVBFXK6TWCSYTM465IJABLWZ32SIRJ4QB2LW247",
|
460
|
-
"weight": 1,
|
461
|
-
"key": "GDOEKXUNZ6SC6IXSBAVBFXK6TWCSYTM465IJABLWZ32SIRJ4QB2LW247",
|
462
|
-
"type": "ed25519_public_key"
|
463
|
-
}
|
464
|
-
],
|
465
|
-
"data": {}
|
466
|
-
}
|
467
|
-
http_version:
|
468
|
-
recorded_at: Sun, 26 Mar 2017 07:29:01 GMT
|
469
|
-
recorded_with: VCR 3.0.3
|