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,323 +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:39 GMT
|
23
|
-
X-Ratelimit-Limit:
|
24
|
-
- '72000'
|
25
|
-
X-Ratelimit-Remaining:
|
26
|
-
- '71950'
|
27
|
-
X-Ratelimit-Reset:
|
28
|
-
- '2166'
|
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": 124857,
|
72
|
-
"history_elder_ledger": 1,
|
73
|
-
"core_latest_ledger": 124857,
|
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:38 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:40 GMT
|
100
|
-
X-Ratelimit-Limit:
|
101
|
-
- '72000'
|
102
|
-
X-Ratelimit-Remaining:
|
103
|
-
- '71949'
|
104
|
-
X-Ratelimit-Reset:
|
105
|
-
- '2165'
|
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": "346973227974693",
|
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": "4949.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:39 GMT
|
177
|
-
- request:
|
178
|
-
method: post
|
179
|
-
uri: https://horizon-testnet.stellar.org/transactions
|
180
|
-
body:
|
181
|
-
encoding: UTF-8
|
182
|
-
string: tx=AAAAAKEiSt7wL8zHIfwsJF5PvoI%2FqW7Epb2ihhiW7lxPpHJCO5rKAAABO5IAAAAmAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA3thuBcDVJ%2B1nsrzNBZUsTXSzLqe%2F1uSLB3pCUNbLLccAAAAAO5rKAAAAAAAAAAABT6RyQgAAAED%2F4yyK21dzG2s7fEVNMeqQ%2FIjH12yPb%2FokUABPH3l%2FDxzTYgkWMC1V2MD4pV%2FpcqAbRrwWp6AUoTvjiE%2BhqF4C
|
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:46 GMT
|
199
|
-
X-Ratelimit-Limit:
|
200
|
-
- '72000'
|
201
|
-
X-Ratelimit-Remaining:
|
202
|
-
- '71948'
|
203
|
-
X-Ratelimit-Reset:
|
204
|
-
- '2164'
|
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/c56288996ef30a6677716d1c12879911076cd49984b997226b7d6e85105bb792"
|
216
|
-
}
|
217
|
-
},
|
218
|
-
"hash": "c56288996ef30a6677716d1c12879911076cd49984b997226b7d6e85105bb792",
|
219
|
-
"ledger": 124860,
|
220
|
-
"envelope_xdr": "AAAAAKEiSt7wL8zHIfwsJF5PvoI/qW7Epb2ihhiW7lxPpHJCO5rKAAABO5IAAAAmAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA3thuBcDVJ+1nsrzNBZUsTXSzLqe/1uSLB3pCUNbLLccAAAAAO5rKAAAAAAAAAAABT6RyQgAAAED/4yyK21dzG2s7fEVNMeqQ/IjH12yPb/okUABPH3l/DxzTYgkWMC1V2MD4pV/pcqAbRrwWp6AUoTvjiE+hqF4C",
|
221
|
-
"result_xdr": "AAAAADuaygAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA=",
|
222
|
-
"result_meta_xdr": "AAAAAAAAAAEAAAACAAAAAAAB57wAAAAAAAAAAN7YbgXA1SftZ7K8zQWVLE10sy6nv9bkiwd6QlDWyy3HAAAAADuaygAAAee8AAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAQAB57wAAAAAAAAAAKEiSt7wL8zHIfwsJF5PvoI/qW7Epb2ihhiW7lxPpHJCAAAACw84dYgAATuSAAAAJgAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAA"
|
223
|
-
}
|
224
|
-
http_version:
|
225
|
-
recorded_at: Sun, 26 Mar 2017 07:28:45 GMT
|
226
|
-
- request:
|
227
|
-
method: get
|
228
|
-
uri: https://horizon-testnet.stellar.org/accounts/GDPNQ3QFYDKSP3LHWK6M2BMVFRGXJMZOU675NZELA55EEUGWZMW4OGMC
|
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:47 GMT
|
246
|
-
X-Ratelimit-Limit:
|
247
|
-
- '72000'
|
248
|
-
X-Ratelimit-Remaining:
|
249
|
-
- '71947'
|
250
|
-
X-Ratelimit-Reset:
|
251
|
-
- '2158'
|
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/GDPNQ3QFYDKSP3LHWK6M2BMVFRGXJMZOU675NZELA55EEUGWZMW4OGMC"
|
261
|
-
},
|
262
|
-
"transactions": {
|
263
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GDPNQ3QFYDKSP3LHWK6M2BMVFRGXJMZOU675NZELA55EEUGWZMW4OGMC/transactions{?cursor,limit,order}",
|
264
|
-
"templated": true
|
265
|
-
},
|
266
|
-
"operations": {
|
267
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GDPNQ3QFYDKSP3LHWK6M2BMVFRGXJMZOU675NZELA55EEUGWZMW4OGMC/operations{?cursor,limit,order}",
|
268
|
-
"templated": true
|
269
|
-
},
|
270
|
-
"payments": {
|
271
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GDPNQ3QFYDKSP3LHWK6M2BMVFRGXJMZOU675NZELA55EEUGWZMW4OGMC/payments{?cursor,limit,order}",
|
272
|
-
"templated": true
|
273
|
-
},
|
274
|
-
"effects": {
|
275
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GDPNQ3QFYDKSP3LHWK6M2BMVFRGXJMZOU675NZELA55EEUGWZMW4OGMC/effects{?cursor,limit,order}",
|
276
|
-
"templated": true
|
277
|
-
},
|
278
|
-
"offers": {
|
279
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GDPNQ3QFYDKSP3LHWK6M2BMVFRGXJMZOU675NZELA55EEUGWZMW4OGMC/offers{?cursor,limit,order}",
|
280
|
-
"templated": true
|
281
|
-
},
|
282
|
-
"trades": {
|
283
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GDPNQ3QFYDKSP3LHWK6M2BMVFRGXJMZOU675NZELA55EEUGWZMW4OGMC/trades{?cursor,limit,order}",
|
284
|
-
"templated": true
|
285
|
-
},
|
286
|
-
"data": {
|
287
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GDPNQ3QFYDKSP3LHWK6M2BMVFRGXJMZOU675NZELA55EEUGWZMW4OGMC/data/{key}",
|
288
|
-
"templated": true
|
289
|
-
}
|
290
|
-
},
|
291
|
-
"id": "GDPNQ3QFYDKSP3LHWK6M2BMVFRGXJMZOU675NZELA55EEUGWZMW4OGMC",
|
292
|
-
"paging_token": "",
|
293
|
-
"account_id": "GDPNQ3QFYDKSP3LHWK6M2BMVFRGXJMZOU675NZELA55EEUGWZMW4OGMC",
|
294
|
-
"sequence": "536269616578560",
|
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": "100.0000000",
|
308
|
-
"asset_type": "native"
|
309
|
-
}
|
310
|
-
],
|
311
|
-
"signers": [
|
312
|
-
{
|
313
|
-
"public_key": "GDPNQ3QFYDKSP3LHWK6M2BMVFRGXJMZOU675NZELA55EEUGWZMW4OGMC",
|
314
|
-
"weight": 1,
|
315
|
-
"key": "GDPNQ3QFYDKSP3LHWK6M2BMVFRGXJMZOU675NZELA55EEUGWZMW4OGMC",
|
316
|
-
"type": "ed25519_public_key"
|
317
|
-
}
|
318
|
-
],
|
319
|
-
"data": {}
|
320
|
-
}
|
321
|
-
http_version:
|
322
|
-
recorded_at: Sun, 26 Mar 2017 07:28:46 GMT
|
323
|
-
recorded_with: VCR 3.0.3
|
@@ -1,737 +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.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:34:10 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=d742c23a7db3029b33f185769b109b0361526542450; expires=Fri, 17-May-19
|
29
|
-
07:34:10 GMT; path=/; domain=.stellar.org; HttpOnly
|
30
|
-
Content-Disposition:
|
31
|
-
- inline
|
32
|
-
Vary:
|
33
|
-
- Origin
|
34
|
-
X-Ratelimit-Limit:
|
35
|
-
- '17200'
|
36
|
-
X-Ratelimit-Remaining:
|
37
|
-
- '17188'
|
38
|
-
X-Ratelimit-Reset:
|
39
|
-
- '3267'
|
40
|
-
Expect-Ct:
|
41
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
42
|
-
Server:
|
43
|
-
- cloudflare
|
44
|
-
Cf-Ray:
|
45
|
-
- 41c4666b9a20a9ba-SIN
|
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": 9007850,
|
89
|
-
"history_elder_ledger": 1,
|
90
|
-
"core_latest_ledger": 9007850,
|
91
|
-
"network_passphrase": "Test SDF Network ; September 2015",
|
92
|
-
"protocol_version": 9
|
93
|
-
}
|
94
|
-
http_version:
|
95
|
-
recorded_at: Thu, 17 May 2018 07:34:10 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:34:12 GMT
|
114
|
-
Content-Type:
|
115
|
-
- application/hal+json; charset=utf-8
|
116
|
-
Content-Length:
|
117
|
-
- '2265'
|
118
|
-
Connection:
|
119
|
-
- keep-alive
|
120
|
-
Set-Cookie:
|
121
|
-
- __cfduid=d19419a11b1feab0f9b89ef1d1e7c72051526542452; expires=Fri, 17-May-19
|
122
|
-
07:34:12 GMT; path=/; domain=.stellar.org; HttpOnly
|
123
|
-
Content-Disposition:
|
124
|
-
- inline
|
125
|
-
Vary:
|
126
|
-
- Origin
|
127
|
-
X-Ratelimit-Limit:
|
128
|
-
- '17200'
|
129
|
-
X-Ratelimit-Remaining:
|
130
|
-
- '17187'
|
131
|
-
X-Ratelimit-Reset:
|
132
|
-
- '3265'
|
133
|
-
Expect-Ct:
|
134
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
135
|
-
Server:
|
136
|
-
- cloudflare
|
137
|
-
Cf-Ray:
|
138
|
-
- 41c466775c94705c-SIN
|
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": "38688184934072324",
|
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": "9995.9999600",
|
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:34:13 GMT
|
208
|
-
- request:
|
209
|
-
method: post
|
210
|
-
uri: https://horizon-testnet.stellar.org/transactions
|
211
|
-
body:
|
212
|
-
encoding: UTF-8
|
213
|
-
string: tx=AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAAAFAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAATST1pJMRqf2C6KsjrVKSlvOMGEzCCmomsQHdeN03a4EAAAAAATEtAAAAAAAAAAABMluxGQAAAEA5lvjEjJ9Ys8mL6knwrPLHVDjJtkgCAwFuzkc0JHbhnexGI73FFmoiljC%2FSp3e5BJpScMN%2FWi%2FaK3%2Bs%2F3sSmYO
|
214
|
-
headers:
|
215
|
-
User-Agent:
|
216
|
-
- Faraday v0.15.1
|
217
|
-
Accept:
|
218
|
-
- application/hal+json,application/problem+json,application/json
|
219
|
-
Content-Type:
|
220
|
-
- application/x-www-form-urlencoded
|
221
|
-
response:
|
222
|
-
status:
|
223
|
-
code: 200
|
224
|
-
message: OK
|
225
|
-
headers:
|
226
|
-
Date:
|
227
|
-
- Thu, 17 May 2018 07:34:16 GMT
|
228
|
-
Content-Type:
|
229
|
-
- application/hal+json; charset=utf-8
|
230
|
-
Content-Length:
|
231
|
-
- '1044'
|
232
|
-
Connection:
|
233
|
-
- keep-alive
|
234
|
-
Set-Cookie:
|
235
|
-
- __cfduid=d390bc4e7133f780526b6e77ea5f8199c1526542453; expires=Fri, 17-May-19
|
236
|
-
07:34:13 GMT; path=/; domain=.stellar.org; HttpOnly
|
237
|
-
Content-Disposition:
|
238
|
-
- inline
|
239
|
-
Vary:
|
240
|
-
- Origin
|
241
|
-
X-Ratelimit-Limit:
|
242
|
-
- '17200'
|
243
|
-
X-Ratelimit-Remaining:
|
244
|
-
- '17186'
|
245
|
-
X-Ratelimit-Reset:
|
246
|
-
- '3263'
|
247
|
-
Expect-Ct:
|
248
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
249
|
-
Server:
|
250
|
-
- cloudflare
|
251
|
-
Cf-Ray:
|
252
|
-
- 41c466802c676fde-SIN
|
253
|
-
body:
|
254
|
-
encoding: ASCII-8BIT
|
255
|
-
string: |-
|
256
|
-
{
|
257
|
-
"_links": {
|
258
|
-
"transaction": {
|
259
|
-
"href": "https://horizon-testnet.stellar.org/transactions/75485ce3d35a86fa7ec376edac6baed38ff7e5cae6db5cf3f01cbaa31306c043"
|
260
|
-
}
|
261
|
-
},
|
262
|
-
"hash": "75485ce3d35a86fa7ec376edac6baed38ff7e5cae6db5cf3f01cbaa31306c043",
|
263
|
-
"ledger": 9007852,
|
264
|
-
"envelope_xdr": "AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAAAFAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAATST1pJMRqf2C6KsjrVKSlvOMGEzCCmomsQHdeN03a4EAAAAAATEtAAAAAAAAAAABMluxGQAAAEA5lvjEjJ9Ys8mL6knwrPLHVDjJtkgCAwFuzkc0JHbhnexGI73FFmoiljC/Sp3e5BJpScMN/Wi/aK3+s/3sSmYO",
|
265
|
-
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA=",
|
266
|
-
"result_meta_xdr": "AAAAAAAAAAEAAAADAAAAAACJcuwAAAAAAAAAAE0k9aSTEan9guirI61SkpbzjBhMwgpqJrEB3XjdN2uBAAAAAAExLQAAiXLsAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAwCJcuwAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAF0YUjAwAiXKzAAAABQAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAQCJcuwAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAF0TjXwwAiXKzAAAABQAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAA"
|
267
|
-
}
|
268
|
-
http_version:
|
269
|
-
recorded_at: Thu, 17 May 2018 07:34:17 GMT
|
270
|
-
- request:
|
271
|
-
method: get
|
272
|
-
uri: https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3
|
273
|
-
body:
|
274
|
-
encoding: US-ASCII
|
275
|
-
string: ''
|
276
|
-
headers:
|
277
|
-
User-Agent:
|
278
|
-
- Faraday v0.15.1
|
279
|
-
Accept:
|
280
|
-
- application/hal+json,application/problem+json,application/json
|
281
|
-
response:
|
282
|
-
status:
|
283
|
-
code: 200
|
284
|
-
message: OK
|
285
|
-
headers:
|
286
|
-
Date:
|
287
|
-
- Thu, 17 May 2018 07:34:18 GMT
|
288
|
-
Content-Type:
|
289
|
-
- application/hal+json; charset=utf-8
|
290
|
-
Content-Length:
|
291
|
-
- '2262'
|
292
|
-
Connection:
|
293
|
-
- keep-alive
|
294
|
-
Set-Cookie:
|
295
|
-
- __cfduid=ddeeb42e112b8f4b2d651afbe433eb0f91526542457; expires=Fri, 17-May-19
|
296
|
-
07:34:17 GMT; path=/; domain=.stellar.org; HttpOnly
|
297
|
-
Content-Disposition:
|
298
|
-
- inline
|
299
|
-
Vary:
|
300
|
-
- Origin
|
301
|
-
X-Ratelimit-Limit:
|
302
|
-
- '17200'
|
303
|
-
X-Ratelimit-Remaining:
|
304
|
-
- '17188'
|
305
|
-
X-Ratelimit-Reset:
|
306
|
-
- '3257'
|
307
|
-
Expect-Ct:
|
308
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
309
|
-
Server:
|
310
|
-
- cloudflare
|
311
|
-
Cf-Ray:
|
312
|
-
- 41c466990e53705c-SIN
|
313
|
-
body:
|
314
|
-
encoding: ASCII-8BIT
|
315
|
-
string: |-
|
316
|
-
{
|
317
|
-
"_links": {
|
318
|
-
"self": {
|
319
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3"
|
320
|
-
},
|
321
|
-
"transactions": {
|
322
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/transactions{?cursor,limit,order}",
|
323
|
-
"templated": true
|
324
|
-
},
|
325
|
-
"operations": {
|
326
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/operations{?cursor,limit,order}",
|
327
|
-
"templated": true
|
328
|
-
},
|
329
|
-
"payments": {
|
330
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/payments{?cursor,limit,order}",
|
331
|
-
"templated": true
|
332
|
-
},
|
333
|
-
"effects": {
|
334
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/effects{?cursor,limit,order}",
|
335
|
-
"templated": true
|
336
|
-
},
|
337
|
-
"offers": {
|
338
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/offers{?cursor,limit,order}",
|
339
|
-
"templated": true
|
340
|
-
},
|
341
|
-
"trades": {
|
342
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/trades{?cursor,limit,order}",
|
343
|
-
"templated": true
|
344
|
-
},
|
345
|
-
"data": {
|
346
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/data/{key}",
|
347
|
-
"templated": true
|
348
|
-
}
|
349
|
-
},
|
350
|
-
"id": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
|
351
|
-
"paging_token": "",
|
352
|
-
"account_id": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
|
353
|
-
"sequence": "38688429747208192",
|
354
|
-
"subentry_count": 0,
|
355
|
-
"thresholds": {
|
356
|
-
"low_threshold": 0,
|
357
|
-
"med_threshold": 0,
|
358
|
-
"high_threshold": 0
|
359
|
-
},
|
360
|
-
"flags": {
|
361
|
-
"auth_required": false,
|
362
|
-
"auth_revocable": false
|
363
|
-
},
|
364
|
-
"balances": [
|
365
|
-
{
|
366
|
-
"balance": "2.0000000",
|
367
|
-
"asset_type": "native"
|
368
|
-
}
|
369
|
-
],
|
370
|
-
"signers": [
|
371
|
-
{
|
372
|
-
"public_key": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
|
373
|
-
"weight": 1,
|
374
|
-
"key": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
|
375
|
-
"type": "ed25519_public_key"
|
376
|
-
}
|
377
|
-
],
|
378
|
-
"data": {}
|
379
|
-
}
|
380
|
-
http_version:
|
381
|
-
recorded_at: Thu, 17 May 2018 07:34:18 GMT
|
382
|
-
- request:
|
383
|
-
method: post
|
384
|
-
uri: https://horizon-testnet.stellar.org/transactions
|
385
|
-
body:
|
386
|
-
encoding: UTF-8
|
387
|
-
string: tx=AAAAAE0k9aSTEan9guirI61SkpbzjBhMwgpqJrEB3XjdN2uBAAAAZACJcuwAAAABAAAAAAAAAAAAAAABAAAAAAAAAAYAAAACTE9OR05BTUUAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZf%2F%2F%2F%2F%2F%2F%2F%2F%2F8AAAAAAAAAAd03a4EAAABAJr8eQWEEjMrwAJ3DxQupCFcUfx8FAgnmVou5Ip4he8qvh2O65l7voZGTeJY%2BeMFOqVytzbzaOnMIfybQAoLRCQ%3D%3D
|
388
|
-
headers:
|
389
|
-
User-Agent:
|
390
|
-
- Faraday v0.15.1
|
391
|
-
Accept:
|
392
|
-
- application/hal+json,application/problem+json,application/json
|
393
|
-
Content-Type:
|
394
|
-
- application/x-www-form-urlencoded
|
395
|
-
response:
|
396
|
-
status:
|
397
|
-
code: 200
|
398
|
-
message: OK
|
399
|
-
headers:
|
400
|
-
Date:
|
401
|
-
- Thu, 17 May 2018 07:34:21 GMT
|
402
|
-
Content-Type:
|
403
|
-
- application/hal+json; charset=utf-8
|
404
|
-
Content-Length:
|
405
|
-
- '1112'
|
406
|
-
Connection:
|
407
|
-
- keep-alive
|
408
|
-
Set-Cookie:
|
409
|
-
- __cfduid=deda40a8e1ffe127e862c4133ca7ec4cf1526542459; expires=Fri, 17-May-19
|
410
|
-
07:34:19 GMT; path=/; domain=.stellar.org; HttpOnly
|
411
|
-
Content-Disposition:
|
412
|
-
- inline
|
413
|
-
Vary:
|
414
|
-
- Origin
|
415
|
-
X-Ratelimit-Limit:
|
416
|
-
- '17200'
|
417
|
-
X-Ratelimit-Remaining:
|
418
|
-
- '17185'
|
419
|
-
X-Ratelimit-Reset:
|
420
|
-
- '3257'
|
421
|
-
Expect-Ct:
|
422
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
423
|
-
Server:
|
424
|
-
- cloudflare
|
425
|
-
Cf-Ray:
|
426
|
-
- 41c466a46fc270bc-SIN
|
427
|
-
body:
|
428
|
-
encoding: ASCII-8BIT
|
429
|
-
string: |-
|
430
|
-
{
|
431
|
-
"_links": {
|
432
|
-
"transaction": {
|
433
|
-
"href": "https://horizon-testnet.stellar.org/transactions/2dd5579cd3740b2a28c0d08bed715cd9ac9813e79d591645cf19806938022cc7"
|
434
|
-
}
|
435
|
-
},
|
436
|
-
"hash": "2dd5579cd3740b2a28c0d08bed715cd9ac9813e79d591645cf19806938022cc7",
|
437
|
-
"ledger": 9007853,
|
438
|
-
"envelope_xdr": "AAAAAE0k9aSTEan9guirI61SkpbzjBhMwgpqJrEB3XjdN2uBAAAAZACJcuwAAAABAAAAAAAAAAAAAAABAAAAAAAAAAYAAAACTE9OR05BTUUAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZf/////////8AAAAAAAAAAd03a4EAAABAJr8eQWEEjMrwAJ3DxQupCFcUfx8FAgnmVou5Ip4he8qvh2O65l7voZGTeJY+eMFOqVytzbzaOnMIfybQAoLRCQ==",
|
439
|
-
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAGAAAAAAAAAAA=",
|
440
|
-
"result_meta_xdr": "AAAAAAAAAAEAAAADAAAAAACJcu0AAAABAAAAAE0k9aSTEan9guirI61SkpbzjBhMwgpqJrEB3XjdN2uBAAAAAkxPTkdOQU1FAAAAAAAAAADAaswqs6zkg/eOw0XVFSsANzwSOpCSPb5FPUMNMluxGQAAAAAAAAAAf/////////8AAAABAAAAAAAAAAAAAAADAIly7QAAAAAAAAAATST1pJMRqf2C6KsjrVKSlvOMGEzCCmomsQHdeN03a4EAAAAAATEsnACJcuwAAAABAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAIly7QAAAAAAAAAATST1pJMRqf2C6KsjrVKSlvOMGEzCCmomsQHdeN03a4EAAAAAATEsnACJcuwAAAABAAAAAQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAA="
|
441
|
-
}
|
442
|
-
http_version:
|
443
|
-
recorded_at: Thu, 17 May 2018 07:34:21 GMT
|
444
|
-
- request:
|
445
|
-
method: get
|
446
|
-
uri: https://horizon-testnet.stellar.org/accounts/[source_address]
|
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:34:23 GMT
|
462
|
-
Content-Type:
|
463
|
-
- application/hal+json; charset=utf-8
|
464
|
-
Content-Length:
|
465
|
-
- '2265'
|
466
|
-
Connection:
|
467
|
-
- keep-alive
|
468
|
-
Set-Cookie:
|
469
|
-
- __cfduid=d94507e0908af1ff027c9653dedf26adf1526542462; expires=Fri, 17-May-19
|
470
|
-
07:34:22 GMT; path=/; domain=.stellar.org; HttpOnly
|
471
|
-
Content-Disposition:
|
472
|
-
- inline
|
473
|
-
Vary:
|
474
|
-
- Origin
|
475
|
-
X-Ratelimit-Limit:
|
476
|
-
- '17200'
|
477
|
-
X-Ratelimit-Remaining:
|
478
|
-
- '17184'
|
479
|
-
X-Ratelimit-Reset:
|
480
|
-
- '3254'
|
481
|
-
Expect-Ct:
|
482
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
483
|
-
Server:
|
484
|
-
- cloudflare
|
485
|
-
Cf-Ray:
|
486
|
-
- 41c466b75afd6fde-SIN
|
487
|
-
body:
|
488
|
-
encoding: ASCII-8BIT
|
489
|
-
string: |-
|
490
|
-
{
|
491
|
-
"_links": {
|
492
|
-
"self": {
|
493
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]"
|
494
|
-
},
|
495
|
-
"transactions": {
|
496
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/transactions{?cursor,limit,order}",
|
497
|
-
"templated": true
|
498
|
-
},
|
499
|
-
"operations": {
|
500
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/operations{?cursor,limit,order}",
|
501
|
-
"templated": true
|
502
|
-
},
|
503
|
-
"payments": {
|
504
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/payments{?cursor,limit,order}",
|
505
|
-
"templated": true
|
506
|
-
},
|
507
|
-
"effects": {
|
508
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/effects{?cursor,limit,order}",
|
509
|
-
"templated": true
|
510
|
-
},
|
511
|
-
"offers": {
|
512
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/offers{?cursor,limit,order}",
|
513
|
-
"templated": true
|
514
|
-
},
|
515
|
-
"trades": {
|
516
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/trades{?cursor,limit,order}",
|
517
|
-
"templated": true
|
518
|
-
},
|
519
|
-
"data": {
|
520
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/data/{key}",
|
521
|
-
"templated": true
|
522
|
-
}
|
523
|
-
},
|
524
|
-
"id": "[source_address]",
|
525
|
-
"paging_token": "",
|
526
|
-
"account_id": "[source_address]",
|
527
|
-
"sequence": "38688184934072325",
|
528
|
-
"subentry_count": 0,
|
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": "9993.9999500",
|
541
|
-
"asset_type": "native"
|
542
|
-
}
|
543
|
-
],
|
544
|
-
"signers": [
|
545
|
-
{
|
546
|
-
"public_key": "[source_address]",
|
547
|
-
"weight": 1,
|
548
|
-
"key": "[source_address]",
|
549
|
-
"type": "ed25519_public_key"
|
550
|
-
}
|
551
|
-
],
|
552
|
-
"data": {}
|
553
|
-
}
|
554
|
-
http_version:
|
555
|
-
recorded_at: Thu, 17 May 2018 07:34:24 GMT
|
556
|
-
- request:
|
557
|
-
method: post
|
558
|
-
uri: https://horizon-testnet.stellar.org/transactions
|
559
|
-
body:
|
560
|
-
encoding: UTF-8
|
561
|
-
string: tx=AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAAAGAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAATST1pJMRqf2C6KsjrVKSlvOMGEzCCmomsQHdeN03a4EAAAACTE9OR05BTUUAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAAFloLwAAAAAAAAAAATJbsRkAAABAuhes%2FYZcnXOUC%2BI3gjk8%2FR4Iz%2FC84luLOh7TC1lVEDhnsmLkquSdxp4X%2BKoTiP9KMcvrOVWAPPX3OX1VTIPXAw%3D%3D
|
562
|
-
headers:
|
563
|
-
User-Agent:
|
564
|
-
- Faraday v0.15.1
|
565
|
-
Accept:
|
566
|
-
- application/hal+json,application/problem+json,application/json
|
567
|
-
Content-Type:
|
568
|
-
- application/x-www-form-urlencoded
|
569
|
-
response:
|
570
|
-
status:
|
571
|
-
code: 200
|
572
|
-
message: OK
|
573
|
-
headers:
|
574
|
-
Date:
|
575
|
-
- Thu, 17 May 2018 07:34:26 GMT
|
576
|
-
Content-Type:
|
577
|
-
- application/hal+json; charset=utf-8
|
578
|
-
Content-Length:
|
579
|
-
- '1076'
|
580
|
-
Connection:
|
581
|
-
- keep-alive
|
582
|
-
Set-Cookie:
|
583
|
-
- __cfduid=df97c1695e6280d0c28de94a46cc126061526542465; expires=Fri, 17-May-19
|
584
|
-
07:34:25 GMT; path=/; domain=.stellar.org; HttpOnly
|
585
|
-
Content-Disposition:
|
586
|
-
- inline
|
587
|
-
Vary:
|
588
|
-
- Origin
|
589
|
-
X-Ratelimit-Limit:
|
590
|
-
- '17200'
|
591
|
-
X-Ratelimit-Remaining:
|
592
|
-
- '17183'
|
593
|
-
X-Ratelimit-Reset:
|
594
|
-
- '3251'
|
595
|
-
Expect-Ct:
|
596
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
597
|
-
Server:
|
598
|
-
- cloudflare
|
599
|
-
Cf-Ray:
|
600
|
-
- 41c466cb4ea670bc-SIN
|
601
|
-
body:
|
602
|
-
encoding: ASCII-8BIT
|
603
|
-
string: |-
|
604
|
-
{
|
605
|
-
"_links": {
|
606
|
-
"transaction": {
|
607
|
-
"href": "https://horizon-testnet.stellar.org/transactions/758e349f99224cad293374a17aa92166affe09f8e83ea504dc3beb452c8d0a3d"
|
608
|
-
}
|
609
|
-
},
|
610
|
-
"hash": "758e349f99224cad293374a17aa92166affe09f8e83ea504dc3beb452c8d0a3d",
|
611
|
-
"ledger": 9007854,
|
612
|
-
"envelope_xdr": "AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAAAGAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAATST1pJMRqf2C6KsjrVKSlvOMGEzCCmomsQHdeN03a4EAAAACTE9OR05BTUUAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAAFloLwAAAAAAAAAAATJbsRkAAABAuhes/YZcnXOUC+I3gjk8/R4Iz/C84luLOh7TC1lVEDhnsmLkquSdxp4X+KoTiP9KMcvrOVWAPPX3OX1VTIPXAw==",
|
613
|
-
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAA=",
|
614
|
-
"result_meta_xdr": "AAAAAAAAAAEAAAACAAAAAwCJcu0AAAABAAAAAE0k9aSTEan9guirI61SkpbzjBhMwgpqJrEB3XjdN2uBAAAAAkxPTkdOQU1FAAAAAAAAAADAaswqs6zkg/eOw0XVFSsANzwSOpCSPb5FPUMNMluxGQAAAAAAAAAAf/////////8AAAABAAAAAAAAAAAAAAABAIly7gAAAAEAAAAATST1pJMRqf2C6KsjrVKSlvOMGEzCCmomsQHdeN03a4EAAAACTE9OR05BTUUAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAAFloLwB//////////wAAAAEAAAAAAAAAAA=="
|
615
|
-
}
|
616
|
-
http_version:
|
617
|
-
recorded_at: Thu, 17 May 2018 07:34:27 GMT
|
618
|
-
- request:
|
619
|
-
method: get
|
620
|
-
uri: https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3
|
621
|
-
body:
|
622
|
-
encoding: US-ASCII
|
623
|
-
string: ''
|
624
|
-
headers:
|
625
|
-
User-Agent:
|
626
|
-
- Faraday v0.15.1
|
627
|
-
Accept:
|
628
|
-
- application/hal+json,application/problem+json,application/json
|
629
|
-
response:
|
630
|
-
status:
|
631
|
-
code: 200
|
632
|
-
message: OK
|
633
|
-
headers:
|
634
|
-
Date:
|
635
|
-
- Thu, 17 May 2018 07:34:28 GMT
|
636
|
-
Content-Type:
|
637
|
-
- application/hal+json; charset=utf-8
|
638
|
-
Content-Length:
|
639
|
-
- '2500'
|
640
|
-
Connection:
|
641
|
-
- keep-alive
|
642
|
-
Set-Cookie:
|
643
|
-
- __cfduid=d75c79c20bcdaf822ddadaa8a67a82f491526542468; expires=Fri, 17-May-19
|
644
|
-
07:34:28 GMT; path=/; domain=.stellar.org; HttpOnly
|
645
|
-
Content-Disposition:
|
646
|
-
- inline
|
647
|
-
Vary:
|
648
|
-
- Origin
|
649
|
-
X-Ratelimit-Limit:
|
650
|
-
- '17200'
|
651
|
-
X-Ratelimit-Remaining:
|
652
|
-
- '17182'
|
653
|
-
X-Ratelimit-Reset:
|
654
|
-
- '3249'
|
655
|
-
Expect-Ct:
|
656
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
657
|
-
Server:
|
658
|
-
- cloudflare
|
659
|
-
Cf-Ray:
|
660
|
-
- 41c466d8f870706e-SIN
|
661
|
-
body:
|
662
|
-
encoding: ASCII-8BIT
|
663
|
-
string: |-
|
664
|
-
{
|
665
|
-
"_links": {
|
666
|
-
"self": {
|
667
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3"
|
668
|
-
},
|
669
|
-
"transactions": {
|
670
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/transactions{?cursor,limit,order}",
|
671
|
-
"templated": true
|
672
|
-
},
|
673
|
-
"operations": {
|
674
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/operations{?cursor,limit,order}",
|
675
|
-
"templated": true
|
676
|
-
},
|
677
|
-
"payments": {
|
678
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/payments{?cursor,limit,order}",
|
679
|
-
"templated": true
|
680
|
-
},
|
681
|
-
"effects": {
|
682
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/effects{?cursor,limit,order}",
|
683
|
-
"templated": true
|
684
|
-
},
|
685
|
-
"offers": {
|
686
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/offers{?cursor,limit,order}",
|
687
|
-
"templated": true
|
688
|
-
},
|
689
|
-
"trades": {
|
690
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/trades{?cursor,limit,order}",
|
691
|
-
"templated": true
|
692
|
-
},
|
693
|
-
"data": {
|
694
|
-
"href": "https://horizon-testnet.stellar.org/accounts/GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3/data/{key}",
|
695
|
-
"templated": true
|
696
|
-
}
|
697
|
-
},
|
698
|
-
"id": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
|
699
|
-
"paging_token": "",
|
700
|
-
"account_id": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
|
701
|
-
"sequence": "38688429747208193",
|
702
|
-
"subentry_count": 1,
|
703
|
-
"thresholds": {
|
704
|
-
"low_threshold": 0,
|
705
|
-
"med_threshold": 0,
|
706
|
-
"high_threshold": 0
|
707
|
-
},
|
708
|
-
"flags": {
|
709
|
-
"auth_required": false,
|
710
|
-
"auth_revocable": false
|
711
|
-
},
|
712
|
-
"balances": [
|
713
|
-
{
|
714
|
-
"balance": "150.0000000",
|
715
|
-
"limit": "922337203685.4775807",
|
716
|
-
"asset_type": "credit_alphanum12",
|
717
|
-
"asset_code": "LONGNAME",
|
718
|
-
"asset_issuer": "[source_address]"
|
719
|
-
},
|
720
|
-
{
|
721
|
-
"balance": "1.9999900",
|
722
|
-
"asset_type": "native"
|
723
|
-
}
|
724
|
-
],
|
725
|
-
"signers": [
|
726
|
-
{
|
727
|
-
"public_key": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
|
728
|
-
"weight": 1,
|
729
|
-
"key": "GBGSJ5NESMI2T7MC5CVSHLKSSKLPHDAYJTBAU2RGWEA526G5G5VYCQO3",
|
730
|
-
"type": "ed25519_public_key"
|
731
|
-
}
|
732
|
-
],
|
733
|
-
"data": {}
|
734
|
-
}
|
735
|
-
http_version:
|
736
|
-
recorded_at: Thu, 17 May 2018 07:34:28 GMT
|
737
|
-
recorded_with: VCR 3.0.3
|