stellar-sdk 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +4 -0
- data/CHANGELOG.md +10 -2
- data/README.md +6 -0
- data/lib/stellar/client.rb +21 -6
- data/lib/stellar/version.rb +1 -1
- data/ruby-stellar-sdk.gemspec +1 -1
- data/spec/config.yml.sample +5 -0
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/alphanum12_asset/sends_a_alphanum12_asset_to_the_destination.yml +146 -136
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/alphanum4_asset/sends_a_alphanum4_asset_to_the_destination.yml +146 -136
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/memo/accepts_the_memo_attribute.yml +716 -0
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/native_asset/sends_a_native_payment_to_the_account.yml +198 -105
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/using_a_payment_channel/sends_a_payment_account_through_a_channel_account.yml +694 -0
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/using_a_payment_channel/sends_a_payment_when_the_channel_is_the_same_as_from_.yml +586 -0
- data/spec/lib/stellar/client_spec.rb +90 -0
- data/spec/support/vcr.rb +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4f4c58d5a53d9bfd6d7738fe6d70cabb61c0d6fe
|
4
|
+
data.tar.gz: f580c29fc169d126e7546589f03d675c5aaee307
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e38b8a8b03360f65fe9e739806cb0b2fbddc563026c61a512e75c1f5808cf5c5e20b0a195e60bbc50d2bfff1c72a255717f74de05d65f586063d42ce2756a6f6
|
7
|
+
data.tar.gz: 85afab30aa425ee7fb29a5d2b919fb7f2fc556369186665f7d513704dac4881aa8fbe6362bcce9bd5ace283c0c2046873a6d4a2cd9c9b16993b58d4828540100
|
data/.travis.yml
CHANGED
@@ -5,6 +5,10 @@ rvm:
|
|
5
5
|
- 2.5.1
|
6
6
|
- jruby-9.1.6.0
|
7
7
|
cache: bundler
|
8
|
+
before_install:
|
9
|
+
- sudo add-apt-repository -y ppa:chris-lea/libsodium
|
10
|
+
- sudo apt-get -y update
|
11
|
+
- sudo apt-get install -y libsodium-dev
|
8
12
|
script: LD_LIBRARY_PATH=lib bundle exec rake travis
|
9
13
|
before_script:
|
10
14
|
- cp spec/config.yml.sample spec/config.yml
|
data/CHANGELOG.md
CHANGED
@@ -4,12 +4,20 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
6
6
|
|
7
|
-
## [
|
7
|
+
## [0.6.0] - 2018-11-27
|
8
|
+
### Added
|
9
|
+
- Allow setting of memo in `Stellar::Client#send_payment`
|
10
|
+
- Optionally send payments through a payment channel with `Stellar::Client#send_payment`
|
11
|
+
- Clarify variable names for payment channels in `#send_payment`
|
12
|
+
|
13
|
+
## [0.5.0] - 2018-07-10
|
8
14
|
### Changed
|
9
|
-
- Update stellar-base to
|
15
|
+
- Update stellar-base to `>= 0.16.0`
|
16
|
+
- Update hyperclient, excon, contracts, activesupport
|
10
17
|
|
11
18
|
### Fixed
|
12
19
|
- `#create_account`, along with `#send_payment`
|
13
20
|
|
14
21
|
### Added
|
15
22
|
- `Stellar::Client#change_trust` to create, update, delete a trustline
|
23
|
+
- `Stellar::Client#account_merge` to merge accounts
|
data/README.md
CHANGED
@@ -45,6 +45,12 @@ client.send_payment({
|
|
45
45
|
})
|
46
46
|
```
|
47
47
|
|
48
|
+
Be sure to set the network when submitting to the public network (more information in [stellar-base](https://www.github.com/stellar/ruby-stellar-base)):
|
49
|
+
|
50
|
+
```ruby
|
51
|
+
Stellar.default_network = Stellar::Networks::PUBLIC
|
52
|
+
```
|
53
|
+
|
48
54
|
## Development
|
49
55
|
|
50
56
|
- Copy `spec/config.yml.sample` to `spec/config.yml`
|
data/lib/stellar/client.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'hyperclient'
|
2
|
+
require "active_support/core_ext/object/blank"
|
2
3
|
|
3
4
|
module Stellar
|
4
5
|
class Client
|
@@ -108,17 +109,31 @@ module Stellar
|
|
108
109
|
amount: Stellar::Amount
|
109
110
|
}) => Any
|
110
111
|
def send_payment(options={})
|
111
|
-
|
112
|
-
|
112
|
+
from_account = options[:from]
|
113
|
+
tx_source_account = options[:transaction_source] || from_account
|
114
|
+
op_source_account = from_account if tx_source_account.present?
|
113
115
|
|
114
|
-
|
115
|
-
|
116
|
+
sequence = options[:sequence] ||
|
117
|
+
(account_info(tx_source_account).sequence.to_i + 1)
|
118
|
+
|
119
|
+
payment_details = {
|
116
120
|
destination: options[:to].keypair,
|
117
121
|
sequence: sequence,
|
118
122
|
amount: options[:amount].to_payment,
|
119
|
-
|
123
|
+
memo: options[:memo],
|
124
|
+
}
|
125
|
+
|
126
|
+
payment_details[:account] = tx_source_account.keypair
|
127
|
+
if op_source_account.present?
|
128
|
+
payment_details[:source_account] = op_source_account.keypair
|
129
|
+
end
|
130
|
+
|
131
|
+
payment = Stellar::Transaction.payment(payment_details)
|
132
|
+
|
133
|
+
signers = [tx_source_account, op_source_account].uniq(&:address)
|
134
|
+
to_envelope_args = signers.map(&:keypair)
|
120
135
|
|
121
|
-
envelope_base64 = payment.to_envelope(
|
136
|
+
envelope_base64 = payment.to_envelope(*to_envelope_args).to_xdr(:base64)
|
122
137
|
@horizon.transactions._post(tx: envelope_base64)
|
123
138
|
end
|
124
139
|
|
data/lib/stellar/version.rb
CHANGED
data/ruby-stellar-sdk.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
-
spec.add_dependency "stellar-base", ">= 0.
|
20
|
+
spec.add_dependency "stellar-base", ">= 0.18.0"
|
21
21
|
spec.add_dependency "hyperclient", "~> 0.7"
|
22
22
|
spec.add_dependency "excon", "~> 0.44", ">= 0.44.4"
|
23
23
|
spec.add_dependency "contracts", "~> 0.16"
|
data/spec/config.yml.sample
CHANGED
@@ -5,3 +5,8 @@
|
|
5
5
|
# to pass (as long as we're not re-recording)
|
6
6
|
source_seed: "SALQBNNRCXWD32E4QKIXKXCMXCPJKWUP34EAK53SP6PNGAUVWSAM5IUQ"
|
7
7
|
source_address: "GCIDYJRG5HV4WEESRA4LEKIMXLCU46XIKXGZK4PWX5K23PJIATMWR3UE"
|
8
|
+
|
9
|
+
# Channel must be funded as well, but put a real address (not funded is fine)
|
10
|
+
# so that Travis will still pass
|
11
|
+
channel_address: "GBLVRKRL4NCY6MBDPRYMH4CQZMYME2CJGCVAD5YSRPDUS74AREQE7QOK"
|
12
|
+
channel_seed: "SAOS5HRNKGRGFVQQPEZOJN33MHUGHMS6GR3LB7GWFJFKSVSWIFYMQYFM"
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.15.
|
11
|
+
- Faraday v0.15.2
|
12
12
|
Accept:
|
13
13
|
- application/hal+json,application/problem+json,application/json
|
14
14
|
response:
|
@@ -17,16 +17,16 @@ http_interactions:
|
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
19
|
Date:
|
20
|
-
-
|
20
|
+
- Sun, 02 Sep 2018 04:18:37 GMT
|
21
21
|
Content-Type:
|
22
22
|
- application/hal+json; charset=utf-8
|
23
|
-
Content-Length:
|
24
|
-
- '1545'
|
25
23
|
Connection:
|
26
24
|
- keep-alive
|
27
25
|
Set-Cookie:
|
28
|
-
- __cfduid=
|
29
|
-
|
26
|
+
- __cfduid=d327107b3b21c1dcd01cbee31e99605b41535861917; expires=Mon, 02-Sep-19
|
27
|
+
04:18:37 GMT; path=/; domain=.stellar.org; HttpOnly
|
28
|
+
Cache-Control:
|
29
|
+
- no-cache, no-store, max-age=0
|
30
30
|
Content-Disposition:
|
31
31
|
- inline
|
32
32
|
Vary:
|
@@ -34,15 +34,15 @@ http_interactions:
|
|
34
34
|
X-Ratelimit-Limit:
|
35
35
|
- '17200'
|
36
36
|
X-Ratelimit-Remaining:
|
37
|
-
- '
|
37
|
+
- '17170'
|
38
38
|
X-Ratelimit-Reset:
|
39
|
-
- '
|
39
|
+
- '2058'
|
40
40
|
Expect-Ct:
|
41
41
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
42
42
|
Server:
|
43
43
|
- cloudflare
|
44
44
|
Cf-Ray:
|
45
|
-
-
|
45
|
+
- 453d2c7788cd7912-LAX
|
46
46
|
body:
|
47
47
|
encoding: ASCII-8BIT
|
48
48
|
string: |-
|
@@ -83,16 +83,16 @@ http_interactions:
|
|
83
83
|
"templated": true
|
84
84
|
}
|
85
85
|
},
|
86
|
-
"horizon_version": "
|
87
|
-
"core_version": "stellar-core
|
88
|
-
"history_latest_ledger":
|
86
|
+
"horizon_version": "0.14.0rc3-5bbd27814a3ffca9aeffcbd75a09a6164959776a",
|
87
|
+
"core_version": "stellar-core 10.0.0rc1 (cb61d6b09b0088989c6c3a23d55d97ef5ce1001d)",
|
88
|
+
"history_latest_ledger": 10842196,
|
89
89
|
"history_elder_ledger": 1,
|
90
|
-
"core_latest_ledger":
|
90
|
+
"core_latest_ledger": 10842196,
|
91
91
|
"network_passphrase": "Test SDF Network ; September 2015",
|
92
|
-
"protocol_version":
|
92
|
+
"protocol_version": 10
|
93
93
|
}
|
94
94
|
http_version:
|
95
|
-
recorded_at:
|
95
|
+
recorded_at: Sun, 02 Sep 2018 04:18:37 GMT
|
96
96
|
- request:
|
97
97
|
method: get
|
98
98
|
uri: https://horizon-testnet.stellar.org/accounts/[source_address]
|
@@ -101,7 +101,7 @@ http_interactions:
|
|
101
101
|
string: ''
|
102
102
|
headers:
|
103
103
|
User-Agent:
|
104
|
-
- Faraday v0.15.
|
104
|
+
- Faraday v0.15.2
|
105
105
|
Accept:
|
106
106
|
- application/hal+json,application/problem+json,application/json
|
107
107
|
response:
|
@@ -110,16 +110,16 @@ http_interactions:
|
|
110
110
|
message: OK
|
111
111
|
headers:
|
112
112
|
Date:
|
113
|
-
-
|
113
|
+
- Sun, 02 Sep 2018 04:18:38 GMT
|
114
114
|
Content-Type:
|
115
115
|
- application/hal+json; charset=utf-8
|
116
|
-
Content-Length:
|
117
|
-
- '2265'
|
118
116
|
Connection:
|
119
117
|
- keep-alive
|
120
118
|
Set-Cookie:
|
121
|
-
- __cfduid=
|
122
|
-
|
119
|
+
- __cfduid=d999b7ace92907ca50f09efa6a9be47061535861918; expires=Mon, 02-Sep-19
|
120
|
+
04:18:38 GMT; path=/; domain=.stellar.org; HttpOnly
|
121
|
+
Cache-Control:
|
122
|
+
- no-cache, no-store, max-age=0
|
123
123
|
Content-Disposition:
|
124
124
|
- inline
|
125
125
|
Vary:
|
@@ -127,15 +127,15 @@ http_interactions:
|
|
127
127
|
X-Ratelimit-Limit:
|
128
128
|
- '17200'
|
129
129
|
X-Ratelimit-Remaining:
|
130
|
-
- '
|
130
|
+
- '17169'
|
131
131
|
X-Ratelimit-Reset:
|
132
|
-
- '
|
132
|
+
- '2057'
|
133
133
|
Expect-Ct:
|
134
134
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
135
135
|
Server:
|
136
136
|
- cloudflare
|
137
137
|
Cf-Ray:
|
138
|
-
-
|
138
|
+
- 453d2c7e3ae777ae-LAX
|
139
139
|
body:
|
140
140
|
encoding: ASCII-8BIT
|
141
141
|
string: |-
|
@@ -176,7 +176,7 @@ http_interactions:
|
|
176
176
|
"id": "[source_address]",
|
177
177
|
"paging_token": "",
|
178
178
|
"account_id": "[source_address]",
|
179
|
-
"sequence": "
|
179
|
+
"sequence": "38688184934072388",
|
180
180
|
"subentry_count": 0,
|
181
181
|
"thresholds": {
|
182
182
|
"low_threshold": 0,
|
@@ -189,7 +189,9 @@ http_interactions:
|
|
189
189
|
},
|
190
190
|
"balances": [
|
191
191
|
{
|
192
|
-
"balance": "
|
192
|
+
"balance": "8379.9993200",
|
193
|
+
"buying_liabilities": "0.0000000",
|
194
|
+
"selling_liabilities": "0.0000000",
|
193
195
|
"asset_type": "native"
|
194
196
|
}
|
195
197
|
],
|
@@ -204,16 +206,16 @@ http_interactions:
|
|
204
206
|
"data": {}
|
205
207
|
}
|
206
208
|
http_version:
|
207
|
-
recorded_at:
|
209
|
+
recorded_at: Sun, 02 Sep 2018 04:18:39 GMT
|
208
210
|
- request:
|
209
211
|
method: post
|
210
212
|
uri: https://horizon-testnet.stellar.org/transactions
|
211
213
|
body:
|
212
214
|
encoding: UTF-8
|
213
|
-
string: tx=
|
215
|
+
string: tx=AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAABFAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA7ehP10iad9iDYRJP91du0b035ObD7lotC5ov76%2Fx54gAAAAAATEtAAAAAAAAAAABMluxGQAAAEB5FxCV2%2F50ZYkTpUi4LQCN%2FOQynqDLq3ruTWhg%2FrM1KQvMYJZ0Fv3PnfGdP6jYvJEtJs6zuCDrfzETvyd8KlkJ
|
214
216
|
headers:
|
215
217
|
User-Agent:
|
216
|
-
- Faraday v0.15.
|
218
|
+
- Faraday v0.15.2
|
217
219
|
Accept:
|
218
220
|
- application/hal+json,application/problem+json,application/json
|
219
221
|
Content-Type:
|
@@ -224,16 +226,16 @@ http_interactions:
|
|
224
226
|
message: OK
|
225
227
|
headers:
|
226
228
|
Date:
|
227
|
-
-
|
229
|
+
- Sun, 02 Sep 2018 04:18:44 GMT
|
228
230
|
Content-Type:
|
229
231
|
- application/hal+json; charset=utf-8
|
230
|
-
Content-Length:
|
231
|
-
- '1044'
|
232
232
|
Connection:
|
233
233
|
- keep-alive
|
234
234
|
Set-Cookie:
|
235
|
-
- __cfduid=
|
236
|
-
|
235
|
+
- __cfduid=d6b97a1ac0550dd670b1bf898302e6c301535861920; expires=Mon, 02-Sep-19
|
236
|
+
04:18:40 GMT; path=/; domain=.stellar.org; HttpOnly
|
237
|
+
Cache-Control:
|
238
|
+
- no-cache, no-store, max-age=0
|
237
239
|
Content-Disposition:
|
238
240
|
- inline
|
239
241
|
Vary:
|
@@ -241,41 +243,41 @@ http_interactions:
|
|
241
243
|
X-Ratelimit-Limit:
|
242
244
|
- '17200'
|
243
245
|
X-Ratelimit-Remaining:
|
244
|
-
- '
|
246
|
+
- '17159'
|
245
247
|
X-Ratelimit-Reset:
|
246
|
-
- '
|
248
|
+
- '2054'
|
247
249
|
Expect-Ct:
|
248
250
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
249
251
|
Server:
|
250
252
|
- cloudflare
|
251
253
|
Cf-Ray:
|
252
|
-
-
|
254
|
+
- 453d2c88985678da-LAX
|
253
255
|
body:
|
254
256
|
encoding: ASCII-8BIT
|
255
257
|
string: |-
|
256
258
|
{
|
257
259
|
"_links": {
|
258
260
|
"transaction": {
|
259
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
261
|
+
"href": "https://horizon-testnet.stellar.org/transactions/960850b83f89e3fd74a1ac7dd0e22a05c4b117e2ee2d26283b6d50de107dc4d1"
|
260
262
|
}
|
261
263
|
},
|
262
|
-
"hash": "
|
263
|
-
"ledger":
|
264
|
-
"envelope_xdr": "
|
264
|
+
"hash": "960850b83f89e3fd74a1ac7dd0e22a05c4b117e2ee2d26283b6d50de107dc4d1",
|
265
|
+
"ledger": 10842198,
|
266
|
+
"envelope_xdr": "AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAABFAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA7ehP10iad9iDYRJP91du0b035ObD7lotC5ov76/x54gAAAAAATEtAAAAAAAAAAABMluxGQAAAEB5FxCV2/50ZYkTpUi4LQCN/OQynqDLq3ruTWhg/rM1KQvMYJZ0Fv3PnfGdP6jYvJEtJs6zuCDrfzETvyd8KlkJ",
|
265
267
|
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA=",
|
266
|
-
"result_meta_xdr": "
|
268
|
+
"result_meta_xdr": "AAAAAQAAAAIAAAADAKVwVgAAAAAAAAAAwGrMKrOs5IP3jsNF1RUrADc8EjqQkj2+RT1DDTJbsRkAAAATgt5rDACJcrMAAABEAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAKVwVgAAAAAAAAAAwGrMKrOs5IP3jsNF1RUrADc8EjqQkj2+RT1DDTJbsRkAAAATgt5rDACJcrMAAABFAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAwAAAAAApXBWAAAAAAAAAADt6E/XSJp32INhEk/3V27RvTfk5sPuWi0Lmi/vr/HniAAAAAABMS0AAKVwVgAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAMApXBWAAAAAAAAAADAaswqs6zkg/eOw0XVFSsANzwSOpCSPb5FPUMNMluxGQAAABOC3msMAIlyswAAAEUAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEApXBWAAAAAAAAAADAaswqs6zkg/eOw0XVFSsANzwSOpCSPb5FPUMNMluxGQAAABOBrT4MAIlyswAAAEUAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA=="
|
267
269
|
}
|
268
270
|
http_version:
|
269
|
-
recorded_at:
|
271
|
+
recorded_at: Sun, 02 Sep 2018 04:18:44 GMT
|
270
272
|
- request:
|
271
273
|
method: get
|
272
|
-
uri: https://horizon-testnet.stellar.org/accounts/
|
274
|
+
uri: https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU
|
273
275
|
body:
|
274
276
|
encoding: US-ASCII
|
275
277
|
string: ''
|
276
278
|
headers:
|
277
279
|
User-Agent:
|
278
|
-
- Faraday v0.15.
|
280
|
+
- Faraday v0.15.2
|
279
281
|
Accept:
|
280
282
|
- application/hal+json,application/problem+json,application/json
|
281
283
|
response:
|
@@ -284,16 +286,16 @@ http_interactions:
|
|
284
286
|
message: OK
|
285
287
|
headers:
|
286
288
|
Date:
|
287
|
-
-
|
289
|
+
- Sun, 02 Sep 2018 04:18:45 GMT
|
288
290
|
Content-Type:
|
289
291
|
- application/hal+json; charset=utf-8
|
290
|
-
Content-Length:
|
291
|
-
- '2262'
|
292
292
|
Connection:
|
293
293
|
- keep-alive
|
294
294
|
Set-Cookie:
|
295
|
-
- __cfduid=
|
296
|
-
|
295
|
+
- __cfduid=dd1f4d15333631dc91c36441112a7798f1535861925; expires=Mon, 02-Sep-19
|
296
|
+
04:18:45 GMT; path=/; domain=.stellar.org; HttpOnly
|
297
|
+
Cache-Control:
|
298
|
+
- no-cache, no-store, max-age=0
|
297
299
|
Content-Disposition:
|
298
300
|
- inline
|
299
301
|
Vary:
|
@@ -301,56 +303,56 @@ http_interactions:
|
|
301
303
|
X-Ratelimit-Limit:
|
302
304
|
- '17200'
|
303
305
|
X-Ratelimit-Remaining:
|
304
|
-
- '
|
306
|
+
- '17158'
|
305
307
|
X-Ratelimit-Reset:
|
306
|
-
- '
|
308
|
+
- '2049'
|
307
309
|
Expect-Ct:
|
308
310
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
309
311
|
Server:
|
310
312
|
- cloudflare
|
311
313
|
Cf-Ray:
|
312
|
-
-
|
314
|
+
- 453d2caa8fc877b4-LAX
|
313
315
|
body:
|
314
316
|
encoding: ASCII-8BIT
|
315
317
|
string: |-
|
316
318
|
{
|
317
319
|
"_links": {
|
318
320
|
"self": {
|
319
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
321
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU"
|
320
322
|
},
|
321
323
|
"transactions": {
|
322
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
324
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU/transactions{?cursor,limit,order}",
|
323
325
|
"templated": true
|
324
326
|
},
|
325
327
|
"operations": {
|
326
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
328
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU/operations{?cursor,limit,order}",
|
327
329
|
"templated": true
|
328
330
|
},
|
329
331
|
"payments": {
|
330
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
332
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU/payments{?cursor,limit,order}",
|
331
333
|
"templated": true
|
332
334
|
},
|
333
335
|
"effects": {
|
334
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
336
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU/effects{?cursor,limit,order}",
|
335
337
|
"templated": true
|
336
338
|
},
|
337
339
|
"offers": {
|
338
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
340
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU/offers{?cursor,limit,order}",
|
339
341
|
"templated": true
|
340
342
|
},
|
341
343
|
"trades": {
|
342
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
344
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU/trades{?cursor,limit,order}",
|
343
345
|
"templated": true
|
344
346
|
},
|
345
347
|
"data": {
|
346
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
348
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU/data/{key}",
|
347
349
|
"templated": true
|
348
350
|
}
|
349
351
|
},
|
350
|
-
"id": "
|
352
|
+
"id": "GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU",
|
351
353
|
"paging_token": "",
|
352
|
-
"account_id": "
|
353
|
-
"sequence": "
|
354
|
+
"account_id": "GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU",
|
355
|
+
"sequence": "46566885826756608",
|
354
356
|
"subentry_count": 0,
|
355
357
|
"thresholds": {
|
356
358
|
"low_threshold": 0,
|
@@ -364,30 +366,32 @@ http_interactions:
|
|
364
366
|
"balances": [
|
365
367
|
{
|
366
368
|
"balance": "2.0000000",
|
369
|
+
"buying_liabilities": "0.0000000",
|
370
|
+
"selling_liabilities": "0.0000000",
|
367
371
|
"asset_type": "native"
|
368
372
|
}
|
369
373
|
],
|
370
374
|
"signers": [
|
371
375
|
{
|
372
|
-
"public_key": "
|
376
|
+
"public_key": "GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU",
|
373
377
|
"weight": 1,
|
374
|
-
"key": "
|
378
|
+
"key": "GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU",
|
375
379
|
"type": "ed25519_public_key"
|
376
380
|
}
|
377
381
|
],
|
378
382
|
"data": {}
|
379
383
|
}
|
380
384
|
http_version:
|
381
|
-
recorded_at:
|
385
|
+
recorded_at: Sun, 02 Sep 2018 04:18:45 GMT
|
382
386
|
- request:
|
383
387
|
method: post
|
384
388
|
uri: https://horizon-testnet.stellar.org/transactions
|
385
389
|
body:
|
386
390
|
encoding: UTF-8
|
387
|
-
string: tx=
|
391
|
+
string: tx=AAAAAO3oT9dImnfYg2EST%2FdXbtG9N%2BTmw%2B5aLQuaL%2B%2Bv8eeIAAAAZAClcFYAAAABAAAAAAAAAAAAAAABAAAAAAAAAAYAAAACTE9OR05BTUUAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZf%2F%2F%2F%2F%2F%2F%2F%2F%2F8AAAAAAAAAAa%2Fx54gAAABAhnP7%2BFeujlvIuwTdtEWazhFiAJQ4p3SAd6%2FVos%2Bpf%2FI34yJSpjpuIdBFOYlvaV1hKskMGufKBNZD9NXmKpu1DA%3D%3D
|
388
392
|
headers:
|
389
393
|
User-Agent:
|
390
|
-
- Faraday v0.15.
|
394
|
+
- Faraday v0.15.2
|
391
395
|
Accept:
|
392
396
|
- application/hal+json,application/problem+json,application/json
|
393
397
|
Content-Type:
|
@@ -398,16 +402,16 @@ http_interactions:
|
|
398
402
|
message: OK
|
399
403
|
headers:
|
400
404
|
Date:
|
401
|
-
-
|
405
|
+
- Sun, 02 Sep 2018 04:18:49 GMT
|
402
406
|
Content-Type:
|
403
407
|
- application/hal+json; charset=utf-8
|
404
|
-
Content-Length:
|
405
|
-
- '1112'
|
406
408
|
Connection:
|
407
409
|
- keep-alive
|
408
410
|
Set-Cookie:
|
409
|
-
- __cfduid=
|
410
|
-
|
411
|
+
- __cfduid=d5a09e3efa987bfa6be1330cc08e0784e1535861926; expires=Mon, 02-Sep-19
|
412
|
+
04:18:46 GMT; path=/; domain=.stellar.org; HttpOnly
|
413
|
+
Cache-Control:
|
414
|
+
- no-cache, no-store, max-age=0
|
411
415
|
Content-Disposition:
|
412
416
|
- inline
|
413
417
|
Vary:
|
@@ -415,32 +419,32 @@ http_interactions:
|
|
415
419
|
X-Ratelimit-Limit:
|
416
420
|
- '17200'
|
417
421
|
X-Ratelimit-Remaining:
|
418
|
-
- '
|
422
|
+
- '17157'
|
419
423
|
X-Ratelimit-Reset:
|
420
|
-
- '
|
424
|
+
- '2048'
|
421
425
|
Expect-Ct:
|
422
426
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
423
427
|
Server:
|
424
428
|
- cloudflare
|
425
429
|
Cf-Ray:
|
426
|
-
-
|
430
|
+
- 453d2cb08dd87808-LAX
|
427
431
|
body:
|
428
432
|
encoding: ASCII-8BIT
|
429
433
|
string: |-
|
430
434
|
{
|
431
435
|
"_links": {
|
432
436
|
"transaction": {
|
433
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
437
|
+
"href": "https://horizon-testnet.stellar.org/transactions/ee88490d1f116c3198b3fd86ed54c1f3c8c4bbaa8f38f6398d9d90b730277a7d"
|
434
438
|
}
|
435
439
|
},
|
436
|
-
"hash": "
|
437
|
-
"ledger":
|
438
|
-
"envelope_xdr": "
|
440
|
+
"hash": "ee88490d1f116c3198b3fd86ed54c1f3c8c4bbaa8f38f6398d9d90b730277a7d",
|
441
|
+
"ledger": 10842199,
|
442
|
+
"envelope_xdr": "AAAAAO3oT9dImnfYg2EST/dXbtG9N+Tmw+5aLQuaL++v8eeIAAAAZAClcFYAAAABAAAAAAAAAAAAAAABAAAAAAAAAAYAAAACTE9OR05BTUUAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZf/////////8AAAAAAAAAAa/x54gAAABAhnP7+FeujlvIuwTdtEWazhFiAJQ4p3SAd6/Vos+pf/I34yJSpjpuIdBFOYlvaV1hKskMGufKBNZD9NXmKpu1DA==",
|
439
443
|
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAGAAAAAAAAAAA=",
|
440
|
-
"result_meta_xdr": "
|
444
|
+
"result_meta_xdr": "AAAAAQAAAAIAAAADAKVwVwAAAAAAAAAA7ehP10iad9iDYRJP91du0b035ObD7lotC5ov76/x54gAAAAAATEsnAClcFYAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAKVwVwAAAAAAAAAA7ehP10iad9iDYRJP91du0b035ObD7lotC5ov76/x54gAAAAAATEsnAClcFYAAAABAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAwAAAAAApXBXAAAAAQAAAADt6E/XSJp32INhEk/3V27RvTfk5sPuWi0Lmi/vr/HniAAAAAJMT05HTkFNRQAAAAAAAAAAwGrMKrOs5IP3jsNF1RUrADc8EjqQkj2+RT1DDTJbsRkAAAAAAAAAAH//////////AAAAAQAAAAAAAAAAAAAAAwClcFcAAAAAAAAAAO3oT9dImnfYg2EST/dXbtG9N+Tmw+5aLQuaL++v8eeIAAAAAAExLJwApXBWAAAAAQAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAQClcFcAAAAAAAAAAO3oT9dImnfYg2EST/dXbtG9N+Tmw+5aLQuaL++v8eeIAAAAAAExLJwApXBWAAAAAQAAAAEAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAA"
|
441
445
|
}
|
442
446
|
http_version:
|
443
|
-
recorded_at:
|
447
|
+
recorded_at: Sun, 02 Sep 2018 04:18:49 GMT
|
444
448
|
- request:
|
445
449
|
method: get
|
446
450
|
uri: https://horizon-testnet.stellar.org/accounts/[source_address]
|
@@ -449,7 +453,7 @@ http_interactions:
|
|
449
453
|
string: ''
|
450
454
|
headers:
|
451
455
|
User-Agent:
|
452
|
-
- Faraday v0.15.
|
456
|
+
- Faraday v0.15.2
|
453
457
|
Accept:
|
454
458
|
- application/hal+json,application/problem+json,application/json
|
455
459
|
response:
|
@@ -458,16 +462,16 @@ http_interactions:
|
|
458
462
|
message: OK
|
459
463
|
headers:
|
460
464
|
Date:
|
461
|
-
-
|
465
|
+
- Sun, 02 Sep 2018 04:18:50 GMT
|
462
466
|
Content-Type:
|
463
467
|
- application/hal+json; charset=utf-8
|
464
|
-
Content-Length:
|
465
|
-
- '2265'
|
466
468
|
Connection:
|
467
469
|
- keep-alive
|
468
470
|
Set-Cookie:
|
469
|
-
- __cfduid=
|
470
|
-
|
471
|
+
- __cfduid=dbb6a38b0728022ce42d78beaa245400f1535861930; expires=Mon, 02-Sep-19
|
472
|
+
04:18:50 GMT; path=/; domain=.stellar.org; HttpOnly
|
473
|
+
Cache-Control:
|
474
|
+
- no-cache, no-store, max-age=0
|
471
475
|
Content-Disposition:
|
472
476
|
- inline
|
473
477
|
Vary:
|
@@ -475,15 +479,15 @@ http_interactions:
|
|
475
479
|
X-Ratelimit-Limit:
|
476
480
|
- '17200'
|
477
481
|
X-Ratelimit-Remaining:
|
478
|
-
- '
|
482
|
+
- '17156'
|
479
483
|
X-Ratelimit-Reset:
|
480
|
-
- '
|
484
|
+
- '2044'
|
481
485
|
Expect-Ct:
|
482
486
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
483
487
|
Server:
|
484
488
|
- cloudflare
|
485
489
|
Cf-Ray:
|
486
|
-
-
|
490
|
+
- 453d2cc95c527942-LAX
|
487
491
|
body:
|
488
492
|
encoding: ASCII-8BIT
|
489
493
|
string: |-
|
@@ -524,7 +528,7 @@ http_interactions:
|
|
524
528
|
"id": "[source_address]",
|
525
529
|
"paging_token": "",
|
526
530
|
"account_id": "[source_address]",
|
527
|
-
"sequence": "
|
531
|
+
"sequence": "38688184934072389",
|
528
532
|
"subentry_count": 0,
|
529
533
|
"thresholds": {
|
530
534
|
"low_threshold": 0,
|
@@ -537,7 +541,9 @@ http_interactions:
|
|
537
541
|
},
|
538
542
|
"balances": [
|
539
543
|
{
|
540
|
-
"balance": "
|
544
|
+
"balance": "8377.9993100",
|
545
|
+
"buying_liabilities": "0.0000000",
|
546
|
+
"selling_liabilities": "0.0000000",
|
541
547
|
"asset_type": "native"
|
542
548
|
}
|
543
549
|
],
|
@@ -552,16 +558,16 @@ http_interactions:
|
|
552
558
|
"data": {}
|
553
559
|
}
|
554
560
|
http_version:
|
555
|
-
recorded_at:
|
561
|
+
recorded_at: Sun, 02 Sep 2018 04:18:50 GMT
|
556
562
|
- request:
|
557
563
|
method: post
|
558
564
|
uri: https://horizon-testnet.stellar.org/transactions
|
559
565
|
body:
|
560
566
|
encoding: UTF-8
|
561
|
-
string: tx=
|
567
|
+
string: tx=AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAABGAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAA7ehP10iad9iDYRJP91du0b035ObD7lotC5ov76%2Fx54gAAAACTE9OR05BTUUAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAAFloLwAAAAAAAAAAATJbsRkAAABAQczyZ3C1LlGk0lM%2FwUAsFXv0uTVIvCkEUvyzA4EjMkrtZBpyuYMfBPnwxGa5ab215qnP48fedptOUr4paf7ODQ%3D%3D
|
562
568
|
headers:
|
563
569
|
User-Agent:
|
564
|
-
- Faraday v0.15.
|
570
|
+
- Faraday v0.15.2
|
565
571
|
Accept:
|
566
572
|
- application/hal+json,application/problem+json,application/json
|
567
573
|
Content-Type:
|
@@ -572,16 +578,16 @@ http_interactions:
|
|
572
578
|
message: OK
|
573
579
|
headers:
|
574
580
|
Date:
|
575
|
-
-
|
581
|
+
- Sun, 02 Sep 2018 04:18:55 GMT
|
576
582
|
Content-Type:
|
577
583
|
- application/hal+json; charset=utf-8
|
578
|
-
Content-Length:
|
579
|
-
- '1076'
|
580
584
|
Connection:
|
581
585
|
- keep-alive
|
582
586
|
Set-Cookie:
|
583
|
-
- __cfduid=
|
584
|
-
|
587
|
+
- __cfduid=d74c99a554ff427481173342f14f96cd61535861931; expires=Mon, 02-Sep-19
|
588
|
+
04:18:51 GMT; path=/; domain=.stellar.org; HttpOnly
|
589
|
+
Cache-Control:
|
590
|
+
- no-cache, no-store, max-age=0
|
585
591
|
Content-Disposition:
|
586
592
|
- inline
|
587
593
|
Vary:
|
@@ -589,41 +595,41 @@ http_interactions:
|
|
589
595
|
X-Ratelimit-Limit:
|
590
596
|
- '17200'
|
591
597
|
X-Ratelimit-Remaining:
|
592
|
-
- '
|
598
|
+
- '17168'
|
593
599
|
X-Ratelimit-Reset:
|
594
|
-
- '
|
600
|
+
- '2044'
|
595
601
|
Expect-Ct:
|
596
602
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
597
603
|
Server:
|
598
604
|
- cloudflare
|
599
605
|
Cf-Ray:
|
600
|
-
-
|
606
|
+
- 453d2ccdfd087808-LAX
|
601
607
|
body:
|
602
608
|
encoding: ASCII-8BIT
|
603
609
|
string: |-
|
604
610
|
{
|
605
611
|
"_links": {
|
606
612
|
"transaction": {
|
607
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
613
|
+
"href": "https://horizon-testnet.stellar.org/transactions/8538b53be1bcc4f2224e045a8c543f5dfc1a928954ef2d8fba9f3950cd5c5277"
|
608
614
|
}
|
609
615
|
},
|
610
|
-
"hash": "
|
611
|
-
"ledger":
|
612
|
-
"envelope_xdr": "
|
616
|
+
"hash": "8538b53be1bcc4f2224e045a8c543f5dfc1a928954ef2d8fba9f3950cd5c5277",
|
617
|
+
"ledger": 10842200,
|
618
|
+
"envelope_xdr": "AAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAZACJcrMAAABGAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAA7ehP10iad9iDYRJP91du0b035ObD7lotC5ov76/x54gAAAACTE9OR05BTUUAAAAAAAAAAMBqzCqzrOSD947DRdUVKwA3PBI6kJI9vkU9Qw0yW7EZAAAAAFloLwAAAAAAAAAAATJbsRkAAABAQczyZ3C1LlGk0lM/wUAsFXv0uTVIvCkEUvyzA4EjMkrtZBpyuYMfBPnwxGa5ab215qnP48fedptOUr4paf7ODQ==",
|
613
619
|
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAA=",
|
614
|
-
"result_meta_xdr": "
|
620
|
+
"result_meta_xdr": "AAAAAQAAAAIAAAADAKVwWAAAAAAAAAAAwGrMKrOs5IP3jsNF1RUrADc8EjqQkj2+RT1DDTJbsRkAAAATga09qACJcrMAAABFAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAKVwWAAAAAAAAAAAwGrMKrOs5IP3jsNF1RUrADc8EjqQkj2+RT1DDTJbsRkAAAATga09qACJcrMAAABGAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAgAAAAMApXBXAAAAAQAAAADt6E/XSJp32INhEk/3V27RvTfk5sPuWi0Lmi/vr/HniAAAAAJMT05HTkFNRQAAAAAAAAAAwGrMKrOs5IP3jsNF1RUrADc8EjqQkj2+RT1DDTJbsRkAAAAAAAAAAH//////////AAAAAQAAAAAAAAAAAAAAAQClcFgAAAABAAAAAO3oT9dImnfYg2EST/dXbtG9N+Tmw+5aLQuaL++v8eeIAAAAAkxPTkdOQU1FAAAAAAAAAADAaswqs6zkg/eOw0XVFSsANzwSOpCSPb5FPUMNMluxGQAAAABZaC8Af/////////8AAAABAAAAAAAAAAA="
|
615
621
|
}
|
616
622
|
http_version:
|
617
|
-
recorded_at:
|
623
|
+
recorded_at: Sun, 02 Sep 2018 04:18:55 GMT
|
618
624
|
- request:
|
619
625
|
method: get
|
620
|
-
uri: https://horizon-testnet.stellar.org/accounts/
|
626
|
+
uri: https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU
|
621
627
|
body:
|
622
628
|
encoding: US-ASCII
|
623
629
|
string: ''
|
624
630
|
headers:
|
625
631
|
User-Agent:
|
626
|
-
- Faraday v0.15.
|
632
|
+
- Faraday v0.15.2
|
627
633
|
Accept:
|
628
634
|
- application/hal+json,application/problem+json,application/json
|
629
635
|
response:
|
@@ -632,16 +638,16 @@ http_interactions:
|
|
632
638
|
message: OK
|
633
639
|
headers:
|
634
640
|
Date:
|
635
|
-
-
|
641
|
+
- Sun, 02 Sep 2018 04:18:56 GMT
|
636
642
|
Content-Type:
|
637
643
|
- application/hal+json; charset=utf-8
|
638
|
-
Content-Length:
|
639
|
-
- '2500'
|
640
644
|
Connection:
|
641
645
|
- keep-alive
|
642
646
|
Set-Cookie:
|
643
|
-
- __cfduid=
|
644
|
-
|
647
|
+
- __cfduid=d1e30c377d6bb9bae9a4bdb20216ba4561535861936; expires=Mon, 02-Sep-19
|
648
|
+
04:18:56 GMT; path=/; domain=.stellar.org; HttpOnly
|
649
|
+
Cache-Control:
|
650
|
+
- no-cache, no-store, max-age=0
|
645
651
|
Content-Disposition:
|
646
652
|
- inline
|
647
653
|
Vary:
|
@@ -649,56 +655,56 @@ http_interactions:
|
|
649
655
|
X-Ratelimit-Limit:
|
650
656
|
- '17200'
|
651
657
|
X-Ratelimit-Remaining:
|
652
|
-
- '
|
658
|
+
- '17155'
|
653
659
|
X-Ratelimit-Reset:
|
654
|
-
- '
|
660
|
+
- '2037'
|
655
661
|
Expect-Ct:
|
656
662
|
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
657
663
|
Server:
|
658
664
|
- cloudflare
|
659
665
|
Cf-Ray:
|
660
|
-
-
|
666
|
+
- 453d2cf03a0a78da-LAX
|
661
667
|
body:
|
662
668
|
encoding: ASCII-8BIT
|
663
669
|
string: |-
|
664
670
|
{
|
665
671
|
"_links": {
|
666
672
|
"self": {
|
667
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
673
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU"
|
668
674
|
},
|
669
675
|
"transactions": {
|
670
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
676
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU/transactions{?cursor,limit,order}",
|
671
677
|
"templated": true
|
672
678
|
},
|
673
679
|
"operations": {
|
674
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
680
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU/operations{?cursor,limit,order}",
|
675
681
|
"templated": true
|
676
682
|
},
|
677
683
|
"payments": {
|
678
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
684
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU/payments{?cursor,limit,order}",
|
679
685
|
"templated": true
|
680
686
|
},
|
681
687
|
"effects": {
|
682
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
688
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU/effects{?cursor,limit,order}",
|
683
689
|
"templated": true
|
684
690
|
},
|
685
691
|
"offers": {
|
686
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
692
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU/offers{?cursor,limit,order}",
|
687
693
|
"templated": true
|
688
694
|
},
|
689
695
|
"trades": {
|
690
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
696
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU/trades{?cursor,limit,order}",
|
691
697
|
"templated": true
|
692
698
|
},
|
693
699
|
"data": {
|
694
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
700
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU/data/{key}",
|
695
701
|
"templated": true
|
696
702
|
}
|
697
703
|
},
|
698
|
-
"id": "
|
704
|
+
"id": "GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU",
|
699
705
|
"paging_token": "",
|
700
|
-
"account_id": "
|
701
|
-
"sequence": "
|
706
|
+
"account_id": "GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU",
|
707
|
+
"sequence": "46566885826756609",
|
702
708
|
"subentry_count": 1,
|
703
709
|
"thresholds": {
|
704
710
|
"low_threshold": 0,
|
@@ -713,25 +719,29 @@ http_interactions:
|
|
713
719
|
{
|
714
720
|
"balance": "150.0000000",
|
715
721
|
"limit": "922337203685.4775807",
|
722
|
+
"buying_liabilities": "0.0000000",
|
723
|
+
"selling_liabilities": "0.0000000",
|
716
724
|
"asset_type": "credit_alphanum12",
|
717
725
|
"asset_code": "LONGNAME",
|
718
726
|
"asset_issuer": "[source_address]"
|
719
727
|
},
|
720
728
|
{
|
721
729
|
"balance": "1.9999900",
|
730
|
+
"buying_liabilities": "0.0000000",
|
731
|
+
"selling_liabilities": "0.0000000",
|
722
732
|
"asset_type": "native"
|
723
733
|
}
|
724
734
|
],
|
725
735
|
"signers": [
|
726
736
|
{
|
727
|
-
"public_key": "
|
737
|
+
"public_key": "GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU",
|
728
738
|
"weight": 1,
|
729
|
-
"key": "
|
739
|
+
"key": "GDW6QT6XJCNHPWEDMEJE752XN3I32N7E43B64WRNBONC735P6HTYQOJU",
|
730
740
|
"type": "ed25519_public_key"
|
731
741
|
}
|
732
742
|
],
|
733
743
|
"data": {}
|
734
744
|
}
|
735
745
|
http_version:
|
736
|
-
recorded_at:
|
737
|
-
recorded_with: VCR
|
746
|
+
recorded_at: Sun, 02 Sep 2018 04:18:57 GMT
|
747
|
+
recorded_with: VCR 4.0.0
|