stellar-sdk 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +5 -4
- data/CHANGELOG.md +5 -0
- data/README.md +8 -7
- data/examples/07_sep10.rb +125 -0
- data/lib/stellar-sdk.rb +1 -1
- data/lib/stellar/client.rb +72 -4
- data/lib/stellar/sep10.rb +384 -0
- data/lib/stellar/version.rb +1 -1
- data/ruby-stellar-sdk.gemspec +6 -7
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_load_account/loads_successfully.yml +226 -0
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/memo/accepts_the_memo_attribute.yml +239 -230
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/using_a_payment_channel/sends_a_payment_account_through_a_channel_account.yml +198 -135
- 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 +166 -110
- data/spec/lib/stellar/client_spec.rb +18 -1
- data/spec/lib/stellar/sep10_spec.rb +1148 -0
- metadata +25 -20
data/lib/stellar/version.rb
CHANGED
data/ruby-stellar-sdk.gemspec
CHANGED
@@ -9,15 +9,15 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Scott Fleckenstein"]
|
10
10
|
spec.email = ["scott@stellar.org"]
|
11
11
|
spec.summary = %q{Stellar client library}
|
12
|
-
spec.homepage = "http://github.com/
|
13
|
-
spec.license = "Apache
|
12
|
+
spec.homepage = "http://github.com/stellar/ruby-stellar-sdk"
|
13
|
+
spec.license = "Apache-2.0"
|
14
14
|
|
15
15
|
spec.files = `git ls-files -z`.split("\x0")
|
16
16
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
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.22.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"
|
@@ -27,10 +27,9 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_development_dependency "bundler", "~> 2.0"
|
28
28
|
spec.add_development_dependency "rake", "~> 10.0"
|
29
29
|
spec.add_development_dependency "rspec", "~> 3.1"
|
30
|
-
spec.add_development_dependency "guard-rspec"
|
31
|
-
spec.add_development_dependency "simplecov"
|
32
|
-
spec.add_development_dependency "yard"
|
30
|
+
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
31
|
+
spec.add_development_dependency "simplecov", "~> 0.18"
|
32
|
+
spec.add_development_dependency "yard", "~> 0.9"
|
33
33
|
spec.add_development_dependency "vcr", "~> 3.0"
|
34
34
|
spec.add_development_dependency "webmock", "~> 2.3"
|
35
|
-
|
36
35
|
end
|
@@ -0,0 +1,226 @@
|
|
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.17.3
|
12
|
+
Accept:
|
13
|
+
- application/hal+json,application/problem+json,application/json
|
14
|
+
X-Client-Name:
|
15
|
+
- ruby-stellar-sdk
|
16
|
+
X-Client-Version:
|
17
|
+
- 0.7.0
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache, no-store, max-age=0
|
25
|
+
Content-Disposition:
|
26
|
+
- inline
|
27
|
+
Content-Type:
|
28
|
+
- application/hal+json; charset=utf-8
|
29
|
+
Date:
|
30
|
+
- Mon, 16 Mar 2020 19:16:40 GMT
|
31
|
+
Vary:
|
32
|
+
- Origin
|
33
|
+
X-Ratelimit-Limit:
|
34
|
+
- '101'
|
35
|
+
X-Ratelimit-Remaining:
|
36
|
+
- '100'
|
37
|
+
X-Ratelimit-Reset:
|
38
|
+
- '1'
|
39
|
+
Content-Length:
|
40
|
+
- '2496'
|
41
|
+
Connection:
|
42
|
+
- keep-alive
|
43
|
+
body:
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
string: |-
|
46
|
+
{
|
47
|
+
"_links": {
|
48
|
+
"account": {
|
49
|
+
"href": "https://horizon-testnet.stellar.org/accounts/{account_id}",
|
50
|
+
"templated": true
|
51
|
+
},
|
52
|
+
"accounts": {
|
53
|
+
"href": "https://horizon-testnet.stellar.org/accounts{?signer,asset,cursor,limit,order}",
|
54
|
+
"templated": true
|
55
|
+
},
|
56
|
+
"account_transactions": {
|
57
|
+
"href": "https://horizon-testnet.stellar.org/accounts/{account_id}/transactions{?cursor,limit,order}",
|
58
|
+
"templated": true
|
59
|
+
},
|
60
|
+
"assets": {
|
61
|
+
"href": "https://horizon-testnet.stellar.org/assets{?asset_code,asset_issuer,cursor,limit,order}",
|
62
|
+
"templated": true
|
63
|
+
},
|
64
|
+
"friendbot": {
|
65
|
+
"href": "https://friendbot.stellar.org/{?addr}",
|
66
|
+
"templated": true
|
67
|
+
},
|
68
|
+
"offer": {
|
69
|
+
"href": "https://horizon-testnet.stellar.org/offers/{offer_id}",
|
70
|
+
"templated": true
|
71
|
+
},
|
72
|
+
"offers": {
|
73
|
+
"href": "https://horizon-testnet.stellar.org/offers{?selling,buying,seller,cursor,limit,order}",
|
74
|
+
"templated": true
|
75
|
+
},
|
76
|
+
"order_book": {
|
77
|
+
"href": "https://horizon-testnet.stellar.org/order_book{?selling_asset_type,selling_asset_code,selling_asset_issuer,buying_asset_type,buying_asset_code,buying_asset_issuer,limit}",
|
78
|
+
"templated": true
|
79
|
+
},
|
80
|
+
"self": {
|
81
|
+
"href": "https://horizon-testnet.stellar.org/"
|
82
|
+
},
|
83
|
+
"strict_receive_paths": {
|
84
|
+
"href": "https://horizon-testnet.stellar.org/paths/strict-receive{?source_assets,source_account,destination_account,destination_asset_type,destination_asset_issuer,destination_asset_code,destination_amount}",
|
85
|
+
"templated": true
|
86
|
+
},
|
87
|
+
"strict_send_paths": {
|
88
|
+
"href": "https://horizon-testnet.stellar.org/paths/strict-send{?destination_account,destination_assets,source_asset_type,source_asset_issuer,source_asset_code,source_amount}",
|
89
|
+
"templated": true
|
90
|
+
},
|
91
|
+
"transaction": {
|
92
|
+
"href": "https://horizon-testnet.stellar.org/transactions/{hash}",
|
93
|
+
"templated": true
|
94
|
+
},
|
95
|
+
"transactions": {
|
96
|
+
"href": "https://horizon-testnet.stellar.org/transactions{?cursor,limit,order}",
|
97
|
+
"templated": true
|
98
|
+
}
|
99
|
+
},
|
100
|
+
"horizon_version": "1.0.0-948d8d1221abd4f15cac2d3a9eb44b31633cd3b9",
|
101
|
+
"core_version": "stellar-core 12.4.0 (c0136139802ac1a1ac8899424e7888fa9366414e)",
|
102
|
+
"ingest_latest_ledger": 751444,
|
103
|
+
"history_latest_ledger": 751444,
|
104
|
+
"history_elder_ledger": 1,
|
105
|
+
"core_latest_ledger": 751444,
|
106
|
+
"network_passphrase": "Test SDF Network ; September 2015",
|
107
|
+
"current_protocol_version": 12,
|
108
|
+
"core_supported_protocol_version": 12
|
109
|
+
}
|
110
|
+
http_version:
|
111
|
+
recorded_at: Mon, 16 Mar 2020 19:16:40 GMT
|
112
|
+
- request:
|
113
|
+
method: get
|
114
|
+
uri: https://horizon-testnet.stellar.org/accounts/[source_address]
|
115
|
+
body:
|
116
|
+
encoding: US-ASCII
|
117
|
+
string: ''
|
118
|
+
headers:
|
119
|
+
User-Agent:
|
120
|
+
- Faraday v0.17.3
|
121
|
+
Accept:
|
122
|
+
- application/hal+json,application/problem+json,application/json
|
123
|
+
X-Client-Name:
|
124
|
+
- ruby-stellar-sdk
|
125
|
+
X-Client-Version:
|
126
|
+
- 0.7.0
|
127
|
+
response:
|
128
|
+
status:
|
129
|
+
code: 200
|
130
|
+
message: OK
|
131
|
+
headers:
|
132
|
+
Cache-Control:
|
133
|
+
- no-cache, no-store, max-age=0
|
134
|
+
Content-Disposition:
|
135
|
+
- inline
|
136
|
+
Content-Type:
|
137
|
+
- application/hal+json; charset=utf-8
|
138
|
+
Date:
|
139
|
+
- Mon, 16 Mar 2020 19:16:41 GMT
|
140
|
+
Latest-Ledger:
|
141
|
+
- '751444'
|
142
|
+
Vary:
|
143
|
+
- Origin
|
144
|
+
X-Ratelimit-Limit:
|
145
|
+
- '101'
|
146
|
+
X-Ratelimit-Remaining:
|
147
|
+
- '100'
|
148
|
+
X-Ratelimit-Reset:
|
149
|
+
- '1'
|
150
|
+
Content-Length:
|
151
|
+
- '2386'
|
152
|
+
Connection:
|
153
|
+
- keep-alive
|
154
|
+
body:
|
155
|
+
encoding: ASCII-8BIT
|
156
|
+
string: |-
|
157
|
+
{
|
158
|
+
"_links": {
|
159
|
+
"self": {
|
160
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]"
|
161
|
+
},
|
162
|
+
"transactions": {
|
163
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/transactions{?cursor,limit,order}",
|
164
|
+
"templated": true
|
165
|
+
},
|
166
|
+
"operations": {
|
167
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/operations{?cursor,limit,order}",
|
168
|
+
"templated": true
|
169
|
+
},
|
170
|
+
"payments": {
|
171
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/payments{?cursor,limit,order}",
|
172
|
+
"templated": true
|
173
|
+
},
|
174
|
+
"effects": {
|
175
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/effects{?cursor,limit,order}",
|
176
|
+
"templated": true
|
177
|
+
},
|
178
|
+
"offers": {
|
179
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/offers{?cursor,limit,order}",
|
180
|
+
"templated": true
|
181
|
+
},
|
182
|
+
"trades": {
|
183
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/trades{?cursor,limit,order}",
|
184
|
+
"templated": true
|
185
|
+
},
|
186
|
+
"data": {
|
187
|
+
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/data/{key}",
|
188
|
+
"templated": true
|
189
|
+
}
|
190
|
+
},
|
191
|
+
"id": "[source_address]",
|
192
|
+
"account_id": "[source_address]",
|
193
|
+
"sequence": "3030756557324294",
|
194
|
+
"subentry_count": 0,
|
195
|
+
"last_modified_ledger": 705785,
|
196
|
+
"thresholds": {
|
197
|
+
"low_threshold": 0,
|
198
|
+
"med_threshold": 0,
|
199
|
+
"high_threshold": 0
|
200
|
+
},
|
201
|
+
"flags": {
|
202
|
+
"auth_required": false,
|
203
|
+
"auth_revocable": false,
|
204
|
+
"auth_immutable": false
|
205
|
+
},
|
206
|
+
"balances": [
|
207
|
+
{
|
208
|
+
"balance": "9745.8999400",
|
209
|
+
"buying_liabilities": "0.0000000",
|
210
|
+
"selling_liabilities": "0.0000000",
|
211
|
+
"asset_type": "native"
|
212
|
+
}
|
213
|
+
],
|
214
|
+
"signers": [
|
215
|
+
{
|
216
|
+
"weight": 1,
|
217
|
+
"key": "[source_address]",
|
218
|
+
"type": "ed25519_public_key"
|
219
|
+
}
|
220
|
+
],
|
221
|
+
"data": {},
|
222
|
+
"paging_token": "[source_address]"
|
223
|
+
}
|
224
|
+
http_version:
|
225
|
+
recorded_at: Mon, 16 Mar 2020 19:16:41 GMT
|
226
|
+
recorded_with: VCR 3.0.3
|
data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/memo/accepts_the_memo_attribute.yml
CHANGED
@@ -8,41 +8,38 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.
|
11
|
+
- Faraday v0.17.3
|
12
12
|
Accept:
|
13
13
|
- application/hal+json,application/problem+json,application/json
|
14
|
+
X-Client-Name:
|
15
|
+
- ruby-stellar-sdk
|
16
|
+
X-Client-Version:
|
17
|
+
- 0.7.0
|
14
18
|
response:
|
15
19
|
status:
|
16
20
|
code: 200
|
17
21
|
message: OK
|
18
22
|
headers:
|
19
|
-
Date:
|
20
|
-
- Sun, 02 Sep 2018 04:16:37 GMT
|
21
|
-
Content-Type:
|
22
|
-
- application/hal+json; charset=utf-8
|
23
|
-
Connection:
|
24
|
-
- keep-alive
|
25
|
-
Set-Cookie:
|
26
|
-
- __cfduid=d7091521ac19864db35b7c2938d1c356f1535861797; expires=Mon, 02-Sep-19
|
27
|
-
04:16:37 GMT; path=/; domain=.stellar.org; HttpOnly
|
28
23
|
Cache-Control:
|
29
24
|
- no-cache, no-store, max-age=0
|
30
25
|
Content-Disposition:
|
31
26
|
- inline
|
27
|
+
Content-Type:
|
28
|
+
- application/hal+json; charset=utf-8
|
29
|
+
Date:
|
30
|
+
- Fri, 13 Mar 2020 21:59:44 GMT
|
32
31
|
Vary:
|
33
32
|
- Origin
|
34
33
|
X-Ratelimit-Limit:
|
35
|
-
- '
|
34
|
+
- '101'
|
36
35
|
X-Ratelimit-Remaining:
|
37
|
-
- '
|
36
|
+
- '100'
|
38
37
|
X-Ratelimit-Reset:
|
39
|
-
- '
|
40
|
-
|
41
|
-
-
|
42
|
-
|
43
|
-
-
|
44
|
-
Cf-Ray:
|
45
|
-
- 453d298b1ab07c28-LAX
|
38
|
+
- '1'
|
39
|
+
Content-Length:
|
40
|
+
- '2496'
|
41
|
+
Connection:
|
42
|
+
- keep-alive
|
46
43
|
body:
|
47
44
|
encoding: ASCII-8BIT
|
48
45
|
string: |-
|
@@ -52,6 +49,10 @@ http_interactions:
|
|
52
49
|
"href": "https://horizon-testnet.stellar.org/accounts/{account_id}",
|
53
50
|
"templated": true
|
54
51
|
},
|
52
|
+
"accounts": {
|
53
|
+
"href": "https://horizon-testnet.stellar.org/accounts{?signer,asset,cursor,limit,order}",
|
54
|
+
"templated": true
|
55
|
+
},
|
55
56
|
"account_transactions": {
|
56
57
|
"href": "https://horizon-testnet.stellar.org/accounts/{account_id}/transactions{?cursor,limit,order}",
|
57
58
|
"templated": true
|
@@ -61,19 +62,32 @@ http_interactions:
|
|
61
62
|
"templated": true
|
62
63
|
},
|
63
64
|
"friendbot": {
|
64
|
-
"href": "https://
|
65
|
+
"href": "https://friendbot.stellar.org/{?addr}",
|
66
|
+
"templated": true
|
67
|
+
},
|
68
|
+
"offer": {
|
69
|
+
"href": "https://horizon-testnet.stellar.org/offers/{offer_id}",
|
65
70
|
"templated": true
|
66
71
|
},
|
67
|
-
"
|
68
|
-
"href": "https://horizon-testnet.stellar.org/
|
72
|
+
"offers": {
|
73
|
+
"href": "https://horizon-testnet.stellar.org/offers{?selling,buying,seller,cursor,limit,order}",
|
74
|
+
"templated": true
|
69
75
|
},
|
70
76
|
"order_book": {
|
71
|
-
"href": "https://horizon-testnet.stellar.org/order_book{?selling_asset_type,selling_asset_code,
|
77
|
+
"href": "https://horizon-testnet.stellar.org/order_book{?selling_asset_type,selling_asset_code,selling_asset_issuer,buying_asset_type,buying_asset_code,buying_asset_issuer,limit}",
|
72
78
|
"templated": true
|
73
79
|
},
|
74
80
|
"self": {
|
75
81
|
"href": "https://horizon-testnet.stellar.org/"
|
76
82
|
},
|
83
|
+
"strict_receive_paths": {
|
84
|
+
"href": "https://horizon-testnet.stellar.org/paths/strict-receive{?source_assets,source_account,destination_account,destination_asset_type,destination_asset_issuer,destination_asset_code,destination_amount}",
|
85
|
+
"templated": true
|
86
|
+
},
|
87
|
+
"strict_send_paths": {
|
88
|
+
"href": "https://horizon-testnet.stellar.org/paths/strict-send{?destination_account,destination_assets,source_asset_type,source_asset_issuer,source_asset_code,source_amount}",
|
89
|
+
"templated": true
|
90
|
+
},
|
77
91
|
"transaction": {
|
78
92
|
"href": "https://horizon-testnet.stellar.org/transactions/{hash}",
|
79
93
|
"templated": true
|
@@ -83,16 +97,18 @@ http_interactions:
|
|
83
97
|
"templated": true
|
84
98
|
}
|
85
99
|
},
|
86
|
-
"horizon_version": "0.
|
87
|
-
"core_version": "stellar-core
|
88
|
-
"
|
100
|
+
"horizon_version": "1.0.0-948d8d1221abd4f15cac2d3a9eb44b31633cd3b9",
|
101
|
+
"core_version": "stellar-core 12.4.0 (c0136139802ac1a1ac8899424e7888fa9366414e)",
|
102
|
+
"ingest_latest_ledger": 705726,
|
103
|
+
"history_latest_ledger": 705726,
|
89
104
|
"history_elder_ledger": 1,
|
90
|
-
"core_latest_ledger":
|
105
|
+
"core_latest_ledger": 705726,
|
91
106
|
"network_passphrase": "Test SDF Network ; September 2015",
|
92
|
-
"
|
107
|
+
"current_protocol_version": 12,
|
108
|
+
"core_supported_protocol_version": 12
|
93
109
|
}
|
94
110
|
http_version:
|
95
|
-
recorded_at:
|
111
|
+
recorded_at: Fri, 13 Mar 2020 21:59:44 GMT
|
96
112
|
- request:
|
97
113
|
method: get
|
98
114
|
uri: https://horizon-testnet.stellar.org/accounts/[source_address]
|
@@ -101,41 +117,40 @@ http_interactions:
|
|
101
117
|
string: ''
|
102
118
|
headers:
|
103
119
|
User-Agent:
|
104
|
-
- Faraday v0.
|
120
|
+
- Faraday v0.17.3
|
105
121
|
Accept:
|
106
122
|
- application/hal+json,application/problem+json,application/json
|
123
|
+
X-Client-Name:
|
124
|
+
- ruby-stellar-sdk
|
125
|
+
X-Client-Version:
|
126
|
+
- 0.7.0
|
107
127
|
response:
|
108
128
|
status:
|
109
129
|
code: 200
|
110
130
|
message: OK
|
111
131
|
headers:
|
112
|
-
Date:
|
113
|
-
- Sun, 02 Sep 2018 04:16:39 GMT
|
114
|
-
Content-Type:
|
115
|
-
- application/hal+json; charset=utf-8
|
116
|
-
Connection:
|
117
|
-
- keep-alive
|
118
|
-
Set-Cookie:
|
119
|
-
- __cfduid=ded66ee3c74f1e344e71a6365b6a7f35e1535861798; expires=Mon, 02-Sep-19
|
120
|
-
04:16:38 GMT; path=/; domain=.stellar.org; HttpOnly
|
121
132
|
Cache-Control:
|
122
133
|
- no-cache, no-store, max-age=0
|
123
134
|
Content-Disposition:
|
124
135
|
- inline
|
136
|
+
Content-Type:
|
137
|
+
- application/hal+json; charset=utf-8
|
138
|
+
Date:
|
139
|
+
- Fri, 13 Mar 2020 21:59:44 GMT
|
140
|
+
Latest-Ledger:
|
141
|
+
- '705726'
|
125
142
|
Vary:
|
126
143
|
- Origin
|
127
144
|
X-Ratelimit-Limit:
|
128
|
-
- '
|
145
|
+
- '101'
|
129
146
|
X-Ratelimit-Remaining:
|
130
|
-
- '
|
147
|
+
- '100'
|
131
148
|
X-Ratelimit-Reset:
|
132
|
-
- '
|
133
|
-
|
134
|
-
-
|
135
|
-
|
136
|
-
-
|
137
|
-
Cf-Ray:
|
138
|
-
- 453d29922fd27912-LAX
|
149
|
+
- '1'
|
150
|
+
Content-Length:
|
151
|
+
- '2387'
|
152
|
+
Connection:
|
153
|
+
- keep-alive
|
139
154
|
body:
|
140
155
|
encoding: ASCII-8BIT
|
141
156
|
string: |-
|
@@ -174,10 +189,10 @@ http_interactions:
|
|
174
189
|
}
|
175
190
|
},
|
176
191
|
"id": "[source_address]",
|
177
|
-
"paging_token": "",
|
178
192
|
"account_id": "[source_address]",
|
179
|
-
"sequence": "
|
193
|
+
"sequence": "3030756557324288",
|
180
194
|
"subentry_count": 0,
|
195
|
+
"last_modified_ledger": 705653,
|
181
196
|
"thresholds": {
|
182
197
|
"low_threshold": 0,
|
183
198
|
"med_threshold": 0,
|
@@ -185,11 +200,12 @@ http_interactions:
|
|
185
200
|
},
|
186
201
|
"flags": {
|
187
202
|
"auth_required": false,
|
188
|
-
"auth_revocable": false
|
203
|
+
"auth_revocable": false,
|
204
|
+
"auth_immutable": false
|
189
205
|
},
|
190
206
|
"balances": [
|
191
207
|
{
|
192
|
-
"balance": "
|
208
|
+
"balance": "10000.0000000",
|
193
209
|
"buying_liabilities": "0.0000000",
|
194
210
|
"selling_liabilities": "0.0000000",
|
195
211
|
"asset_type": "native"
|
@@ -197,27 +213,31 @@ http_interactions:
|
|
197
213
|
],
|
198
214
|
"signers": [
|
199
215
|
{
|
200
|
-
"public_key": "[source_address]",
|
201
216
|
"weight": 1,
|
202
217
|
"key": "[source_address]",
|
203
218
|
"type": "ed25519_public_key"
|
204
219
|
}
|
205
220
|
],
|
206
|
-
"data": {}
|
221
|
+
"data": {},
|
222
|
+
"paging_token": "[source_address]"
|
207
223
|
}
|
208
224
|
http_version:
|
209
|
-
recorded_at:
|
225
|
+
recorded_at: Fri, 13 Mar 2020 21:59:44 GMT
|
210
226
|
- request:
|
211
227
|
method: post
|
212
228
|
uri: https://horizon-testnet.stellar.org/transactions
|
213
229
|
body:
|
214
230
|
encoding: UTF-8
|
215
|
-
string: tx=
|
231
|
+
string: tx=AAAAAJA8Jibp68sQkog4sikMusVOeuhVzZVx9r9Vrb0oBNloAAAAZAAKxHUAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA4fAYgcZusTBu5eh3mm3RuqC%2B7K4oAeVci1zF35a2%2BX4AAAAAO5rKAAAAAAAAAAABKATZaAAAAEDLnPW%2BUghp%2Fh0gEGpiTCd1M1e0hsznqGmBsjCc3JBd6KJQpAaolbzD8RmjxGLu%2Bo0C9m1jVhuGQa2AGOe6QDcJ
|
216
232
|
headers:
|
217
233
|
User-Agent:
|
218
|
-
- Faraday v0.
|
234
|
+
- Faraday v0.17.3
|
219
235
|
Accept:
|
220
236
|
- application/hal+json,application/problem+json,application/json
|
237
|
+
X-Client-Name:
|
238
|
+
- ruby-stellar-sdk
|
239
|
+
X-Client-Version:
|
240
|
+
- 0.7.0
|
221
241
|
Content-Type:
|
222
242
|
- application/x-www-form-urlencoded
|
223
243
|
response:
|
@@ -225,50 +245,43 @@ http_interactions:
|
|
225
245
|
code: 200
|
226
246
|
message: OK
|
227
247
|
headers:
|
228
|
-
Date:
|
229
|
-
- Sun, 02 Sep 2018 04:16:41 GMT
|
230
|
-
Content-Type:
|
231
|
-
- application/hal+json; charset=utf-8
|
232
|
-
Connection:
|
233
|
-
- keep-alive
|
234
|
-
Set-Cookie:
|
235
|
-
- __cfduid=d3e970f1686258aeab77e9009da920da21535861800; expires=Mon, 02-Sep-19
|
236
|
-
04:16:40 GMT; path=/; domain=.stellar.org; HttpOnly
|
237
248
|
Cache-Control:
|
238
249
|
- no-cache, no-store, max-age=0
|
239
250
|
Content-Disposition:
|
240
251
|
- inline
|
252
|
+
Content-Type:
|
253
|
+
- application/hal+json; charset=utf-8
|
254
|
+
Date:
|
255
|
+
- Fri, 13 Mar 2020 21:59:49 GMT
|
241
256
|
Vary:
|
242
257
|
- Origin
|
243
258
|
X-Ratelimit-Limit:
|
244
|
-
- '
|
259
|
+
- '101'
|
245
260
|
X-Ratelimit-Remaining:
|
246
|
-
- '
|
261
|
+
- '100'
|
247
262
|
X-Ratelimit-Reset:
|
248
|
-
- '
|
249
|
-
|
250
|
-
-
|
251
|
-
|
252
|
-
-
|
253
|
-
Cf-Ray:
|
254
|
-
- 453d299aca6577ae-LAX
|
263
|
+
- '1'
|
264
|
+
Content-Length:
|
265
|
+
- '1307'
|
266
|
+
Connection:
|
267
|
+
- keep-alive
|
255
268
|
body:
|
256
269
|
encoding: ASCII-8BIT
|
257
270
|
string: |-
|
258
271
|
{
|
259
272
|
"_links": {
|
260
273
|
"transaction": {
|
261
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
274
|
+
"href": "https://horizon-testnet.stellar.org/transactions/2ed6a77baf41d5348a884a09750139f804ec7af6e281247fd9f78a2d7178185a"
|
262
275
|
}
|
263
276
|
},
|
264
|
-
"hash": "
|
265
|
-
"ledger":
|
266
|
-
"envelope_xdr": "
|
277
|
+
"hash": "2ed6a77baf41d5348a884a09750139f804ec7af6e281247fd9f78a2d7178185a",
|
278
|
+
"ledger": 705727,
|
279
|
+
"envelope_xdr": "AAAAAJA8Jibp68sQkog4sikMusVOeuhVzZVx9r9Vrb0oBNloAAAAZAAKxHUAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA4fAYgcZusTBu5eh3mm3RuqC+7K4oAeVci1zF35a2+X4AAAAAO5rKAAAAAAAAAAABKATZaAAAAEDLnPW+Ughp/h0gEGpiTCd1M1e0hsznqGmBsjCc3JBd6KJQpAaolbzD8RmjxGLu+o0C9m1jVhuGQa2AGOe6QDcJ",
|
267
280
|
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA=",
|
268
|
-
"result_meta_xdr": "
|
281
|
+
"result_meta_xdr": "AAAAAQAAAAIAAAADAArEvwAAAAAAAAAAkDwmJunryxCSiDiyKQy6xU566FXNlXH2v1WtvSgE2WgAAAAXSHbnnAAKxHUAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAArEvwAAAAAAAAAAkDwmJunryxCSiDiyKQy6xU566FXNlXH2v1WtvSgE2WgAAAAXSHbnnAAKxHUAAAABAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAwAAAAMACsS/AAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABdIduecAArEdQAAAAEAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEACsS/AAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABcM3B2cAArEdQAAAAEAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAACsS/AAAAAAAAAADh8BiBxm6xMG7l6HeabdG6oL7srigB5VyLXMXflrb5fgAAAAA7msoAAArEvwAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA=="
|
269
282
|
}
|
270
283
|
http_version:
|
271
|
-
recorded_at:
|
284
|
+
recorded_at: Fri, 13 Mar 2020 21:59:49 GMT
|
272
285
|
- request:
|
273
286
|
method: get
|
274
287
|
uri: https://horizon-testnet.stellar.org/accounts/[source_address]
|
@@ -277,41 +290,40 @@ http_interactions:
|
|
277
290
|
string: ''
|
278
291
|
headers:
|
279
292
|
User-Agent:
|
280
|
-
- Faraday v0.
|
293
|
+
- Faraday v0.17.3
|
281
294
|
Accept:
|
282
295
|
- application/hal+json,application/problem+json,application/json
|
296
|
+
X-Client-Name:
|
297
|
+
- ruby-stellar-sdk
|
298
|
+
X-Client-Version:
|
299
|
+
- 0.7.0
|
283
300
|
response:
|
284
301
|
status:
|
285
302
|
code: 200
|
286
303
|
message: OK
|
287
304
|
headers:
|
288
|
-
Date:
|
289
|
-
- Sun, 02 Sep 2018 04:16:43 GMT
|
290
|
-
Content-Type:
|
291
|
-
- application/hal+json; charset=utf-8
|
292
|
-
Connection:
|
293
|
-
- keep-alive
|
294
|
-
Set-Cookie:
|
295
|
-
- __cfduid=db9815e47537c718da1fce520c4cf14b31535861802; expires=Mon, 02-Sep-19
|
296
|
-
04:16:42 GMT; path=/; domain=.stellar.org; HttpOnly
|
297
305
|
Cache-Control:
|
298
306
|
- no-cache, no-store, max-age=0
|
299
307
|
Content-Disposition:
|
300
308
|
- inline
|
309
|
+
Content-Type:
|
310
|
+
- application/hal+json; charset=utf-8
|
311
|
+
Date:
|
312
|
+
- Fri, 13 Mar 2020 21:59:49 GMT
|
313
|
+
Latest-Ledger:
|
314
|
+
- '705727'
|
301
315
|
Vary:
|
302
316
|
- Origin
|
303
317
|
X-Ratelimit-Limit:
|
304
|
-
- '
|
318
|
+
- '101'
|
305
319
|
X-Ratelimit-Remaining:
|
306
|
-
- '
|
320
|
+
- '100'
|
307
321
|
X-Ratelimit-Reset:
|
308
|
-
- '
|
309
|
-
|
310
|
-
-
|
311
|
-
|
312
|
-
-
|
313
|
-
Cf-Ray:
|
314
|
-
- 453d29ab2a70790c-LAX
|
322
|
+
- '1'
|
323
|
+
Content-Length:
|
324
|
+
- '2386'
|
325
|
+
Connection:
|
326
|
+
- keep-alive
|
315
327
|
body:
|
316
328
|
encoding: ASCII-8BIT
|
317
329
|
string: |-
|
@@ -350,10 +362,10 @@ http_interactions:
|
|
350
362
|
}
|
351
363
|
},
|
352
364
|
"id": "[source_address]",
|
353
|
-
"paging_token": "",
|
354
365
|
"account_id": "[source_address]",
|
355
|
-
"sequence": "
|
366
|
+
"sequence": "3030756557324289",
|
356
367
|
"subentry_count": 0,
|
368
|
+
"last_modified_ledger": 705727,
|
357
369
|
"thresholds": {
|
358
370
|
"low_threshold": 0,
|
359
371
|
"med_threshold": 0,
|
@@ -361,11 +373,12 @@ http_interactions:
|
|
361
373
|
},
|
362
374
|
"flags": {
|
363
375
|
"auth_required": false,
|
364
|
-
"auth_revocable": false
|
376
|
+
"auth_revocable": false,
|
377
|
+
"auth_immutable": false
|
365
378
|
},
|
366
379
|
"balances": [
|
367
380
|
{
|
368
|
-
"balance": "
|
381
|
+
"balance": "9899.9999900",
|
369
382
|
"buying_liabilities": "0.0000000",
|
370
383
|
"selling_liabilities": "0.0000000",
|
371
384
|
"asset_type": "native"
|
@@ -373,27 +386,31 @@ http_interactions:
|
|
373
386
|
],
|
374
387
|
"signers": [
|
375
388
|
{
|
376
|
-
"public_key": "[source_address]",
|
377
389
|
"weight": 1,
|
378
390
|
"key": "[source_address]",
|
379
391
|
"type": "ed25519_public_key"
|
380
392
|
}
|
381
393
|
],
|
382
|
-
"data": {}
|
394
|
+
"data": {},
|
395
|
+
"paging_token": "[source_address]"
|
383
396
|
}
|
384
397
|
http_version:
|
385
|
-
recorded_at:
|
398
|
+
recorded_at: Fri, 13 Mar 2020 21:59:49 GMT
|
386
399
|
- request:
|
387
400
|
method: post
|
388
401
|
uri: https://horizon-testnet.stellar.org/transactions
|
389
402
|
body:
|
390
403
|
encoding: UTF-8
|
391
|
-
string: tx=
|
404
|
+
string: tx=AAAAAJA8Jibp68sQkog4sikMusVOeuhVzZVx9r9Vrb0oBNloAAAAZAAKxHUAAAACAAAAAAAAAAEAAAAGREVTVUtBAAAAAAABAAAAAQAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa%2FVa29KATZaAAAAAEAAAAA4fAYgcZusTBu5eh3mm3RuqC%2B7K4oAeVci1zF35a2%2BX4AAAAAAAAAAFloLwAAAAAAAAAAASgE2WgAAABA9f9qXs9ASRoZGXng1R9gCc%2F1x4gyRc9w%2FByEE3T1POlLSXliOGTfjjjEwAYYGpGGZvUk0cFxoqx5fxeJ2Xt1Dg%3D%3D
|
392
405
|
headers:
|
393
406
|
User-Agent:
|
394
|
-
- Faraday v0.
|
407
|
+
- Faraday v0.17.3
|
395
408
|
Accept:
|
396
409
|
- application/hal+json,application/problem+json,application/json
|
410
|
+
X-Client-Name:
|
411
|
+
- ruby-stellar-sdk
|
412
|
+
X-Client-Version:
|
413
|
+
- 0.7.0
|
397
414
|
Content-Type:
|
398
415
|
- application/x-www-form-urlencoded
|
399
416
|
response:
|
@@ -401,135 +418,127 @@ http_interactions:
|
|
401
418
|
code: 200
|
402
419
|
message: OK
|
403
420
|
headers:
|
404
|
-
Date:
|
405
|
-
- Sun, 02 Sep 2018 04:16:46 GMT
|
406
|
-
Content-Type:
|
407
|
-
- application/hal+json; charset=utf-8
|
408
|
-
Connection:
|
409
|
-
- keep-alive
|
410
|
-
Set-Cookie:
|
411
|
-
- __cfduid=d468db2fbeb9d7b6666ed4260ae14f2dd1535861804; expires=Mon, 02-Sep-19
|
412
|
-
04:16:44 GMT; path=/; domain=.stellar.org; HttpOnly
|
413
421
|
Cache-Control:
|
414
422
|
- no-cache, no-store, max-age=0
|
415
423
|
Content-Disposition:
|
416
424
|
- inline
|
425
|
+
Content-Type:
|
426
|
+
- application/hal+json; charset=utf-8
|
427
|
+
Date:
|
428
|
+
- Fri, 13 Mar 2020 21:59:54 GMT
|
417
429
|
Vary:
|
418
430
|
- Origin
|
419
431
|
X-Ratelimit-Limit:
|
420
|
-
- '
|
432
|
+
- '101'
|
421
433
|
X-Ratelimit-Remaining:
|
422
|
-
- '
|
434
|
+
- '100'
|
423
435
|
X-Ratelimit-Reset:
|
424
|
-
- '
|
425
|
-
|
426
|
-
-
|
427
|
-
|
428
|
-
-
|
429
|
-
Cf-Ray:
|
430
|
-
- 453d29b4cf03790c-LAX
|
436
|
+
- '1'
|
437
|
+
Content-Length:
|
438
|
+
- '1507'
|
439
|
+
Connection:
|
440
|
+
- keep-alive
|
431
441
|
body:
|
432
442
|
encoding: ASCII-8BIT
|
433
443
|
string: |-
|
434
444
|
{
|
435
445
|
"_links": {
|
436
446
|
"transaction": {
|
437
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
447
|
+
"href": "https://horizon-testnet.stellar.org/transactions/5d6c29c0957a328e5c02a5f817d0b4c6b45716073a304cac7e29cdebf3f1c41b"
|
438
448
|
}
|
439
449
|
},
|
440
|
-
"hash": "
|
441
|
-
"ledger":
|
442
|
-
"envelope_xdr": "
|
450
|
+
"hash": "5d6c29c0957a328e5c02a5f817d0b4c6b45716073a304cac7e29cdebf3f1c41b",
|
451
|
+
"ledger": 705728,
|
452
|
+
"envelope_xdr": "AAAAAJA8Jibp68sQkog4sikMusVOeuhVzZVx9r9Vrb0oBNloAAAAZAAKxHUAAAACAAAAAAAAAAEAAAAGREVTVUtBAAAAAAABAAAAAQAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAAAEAAAAA4fAYgcZusTBu5eh3mm3RuqC+7K4oAeVci1zF35a2+X4AAAAAAAAAAFloLwAAAAAAAAAAASgE2WgAAABA9f9qXs9ASRoZGXng1R9gCc/1x4gyRc9w/ByEE3T1POlLSXliOGTfjjjEwAYYGpGGZvUk0cFxoqx5fxeJ2Xt1Dg==",
|
443
453
|
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAA=",
|
444
|
-
"result_meta_xdr": "
|
454
|
+
"result_meta_xdr": "AAAAAQAAAAIAAAADAArEwAAAAAAAAAAAkDwmJunryxCSiDiyKQy6xU566FXNlXH2v1WtvSgE2WgAAAAXDNwdOAAKxHUAAAABAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAArEwAAAAAAAAAAAkDwmJunryxCSiDiyKQy6xU566FXNlXH2v1WtvSgE2WgAAAAXDNwdOAAKxHUAAAACAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAABAAAAAMACsS/AAAAAAAAAADh8BiBxm6xMG7l6HeabdG6oL7srigB5VyLXMXflrb5fgAAAAA7msoAAArEvwAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEACsTAAAAAAAAAAADh8BiBxm6xMG7l6HeabdG6oL7srigB5VyLXMXflrb5fgAAAACVAvkAAArEvwAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAMACsTAAAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABcM3B04AArEdQAAAAIAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEACsTAAAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABazc+44AArEdQAAAAIAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA=="
|
445
455
|
}
|
446
456
|
http_version:
|
447
|
-
recorded_at:
|
457
|
+
recorded_at: Fri, 13 Mar 2020 21:59:54 GMT
|
448
458
|
- request:
|
449
459
|
method: get
|
450
|
-
uri: https://horizon-testnet.stellar.org/accounts/
|
460
|
+
uri: https://horizon-testnet.stellar.org/accounts/GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT
|
451
461
|
body:
|
452
462
|
encoding: US-ASCII
|
453
463
|
string: ''
|
454
464
|
headers:
|
455
465
|
User-Agent:
|
456
|
-
- Faraday v0.
|
466
|
+
- Faraday v0.17.3
|
457
467
|
Accept:
|
458
468
|
- application/hal+json,application/problem+json,application/json
|
469
|
+
X-Client-Name:
|
470
|
+
- ruby-stellar-sdk
|
471
|
+
X-Client-Version:
|
472
|
+
- 0.7.0
|
459
473
|
response:
|
460
474
|
status:
|
461
475
|
code: 200
|
462
476
|
message: OK
|
463
477
|
headers:
|
464
|
-
Date:
|
465
|
-
- Sun, 02 Sep 2018 04:16:47 GMT
|
466
|
-
Content-Type:
|
467
|
-
- application/hal+json; charset=utf-8
|
468
|
-
Connection:
|
469
|
-
- keep-alive
|
470
|
-
Set-Cookie:
|
471
|
-
- __cfduid=dc7f5912641319e1ad73f1e63231c06a31535861807; expires=Mon, 02-Sep-19
|
472
|
-
04:16:47 GMT; path=/; domain=.stellar.org; HttpOnly
|
473
478
|
Cache-Control:
|
474
479
|
- no-cache, no-store, max-age=0
|
475
480
|
Content-Disposition:
|
476
481
|
- inline
|
482
|
+
Content-Type:
|
483
|
+
- application/hal+json; charset=utf-8
|
484
|
+
Date:
|
485
|
+
- Fri, 13 Mar 2020 21:59:54 GMT
|
486
|
+
Latest-Ledger:
|
487
|
+
- '705728'
|
477
488
|
Vary:
|
478
489
|
- Origin
|
479
490
|
X-Ratelimit-Limit:
|
480
|
-
- '
|
491
|
+
- '101'
|
481
492
|
X-Ratelimit-Remaining:
|
482
|
-
- '
|
493
|
+
- '100'
|
483
494
|
X-Ratelimit-Reset:
|
484
|
-
- '
|
485
|
-
|
486
|
-
-
|
487
|
-
|
488
|
-
-
|
489
|
-
Cf-Ray:
|
490
|
-
- 453d29c84bc178c2-LAX
|
495
|
+
- '1'
|
496
|
+
Content-Length:
|
497
|
+
- '2385'
|
498
|
+
Connection:
|
499
|
+
- keep-alive
|
491
500
|
body:
|
492
501
|
encoding: ASCII-8BIT
|
493
502
|
string: |-
|
494
503
|
{
|
495
504
|
"_links": {
|
496
505
|
"self": {
|
497
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
506
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT"
|
498
507
|
},
|
499
508
|
"transactions": {
|
500
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
509
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT/transactions{?cursor,limit,order}",
|
501
510
|
"templated": true
|
502
511
|
},
|
503
512
|
"operations": {
|
504
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
513
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT/operations{?cursor,limit,order}",
|
505
514
|
"templated": true
|
506
515
|
},
|
507
516
|
"payments": {
|
508
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
517
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT/payments{?cursor,limit,order}",
|
509
518
|
"templated": true
|
510
519
|
},
|
511
520
|
"effects": {
|
512
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
521
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT/effects{?cursor,limit,order}",
|
513
522
|
"templated": true
|
514
523
|
},
|
515
524
|
"offers": {
|
516
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
525
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT/offers{?cursor,limit,order}",
|
517
526
|
"templated": true
|
518
527
|
},
|
519
528
|
"trades": {
|
520
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
529
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT/trades{?cursor,limit,order}",
|
521
530
|
"templated": true
|
522
531
|
},
|
523
532
|
"data": {
|
524
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
533
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT/data/{key}",
|
525
534
|
"templated": true
|
526
535
|
}
|
527
536
|
},
|
528
|
-
"id": "
|
529
|
-
"
|
530
|
-
"
|
531
|
-
"sequence": "46566787042508800",
|
537
|
+
"id": "GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT",
|
538
|
+
"account_id": "GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT",
|
539
|
+
"sequence": "3031074384904192",
|
532
540
|
"subentry_count": 0,
|
541
|
+
"last_modified_ledger": 705728,
|
533
542
|
"thresholds": {
|
534
543
|
"low_threshold": 0,
|
535
544
|
"med_threshold": 0,
|
@@ -537,7 +546,8 @@ http_interactions:
|
|
537
546
|
},
|
538
547
|
"flags": {
|
539
548
|
"auth_required": false,
|
540
|
-
"auth_revocable": false
|
549
|
+
"auth_revocable": false,
|
550
|
+
"auth_immutable": false
|
541
551
|
},
|
542
552
|
"balances": [
|
543
553
|
{
|
@@ -549,168 +559,167 @@ http_interactions:
|
|
549
559
|
],
|
550
560
|
"signers": [
|
551
561
|
{
|
552
|
-
"public_key": "GAVCHEITYQVUXKYKMPDIWLGBA46JC7U6VKAKQB77RZVS5TTZH2AJBSXJ",
|
553
562
|
"weight": 1,
|
554
|
-
"key": "
|
563
|
+
"key": "GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT",
|
555
564
|
"type": "ed25519_public_key"
|
556
565
|
}
|
557
566
|
],
|
558
|
-
"data": {}
|
567
|
+
"data": {},
|
568
|
+
"paging_token": "GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT"
|
559
569
|
}
|
560
570
|
http_version:
|
561
|
-
recorded_at:
|
571
|
+
recorded_at: Fri, 13 Mar 2020 21:59:54 GMT
|
562
572
|
- request:
|
563
573
|
method: get
|
564
|
-
uri: https://horizon-testnet.stellar.org/accounts/
|
574
|
+
uri: https://horizon-testnet.stellar.org/accounts/GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT/transactions?order=desc
|
565
575
|
body:
|
566
576
|
encoding: US-ASCII
|
567
577
|
string: ''
|
568
578
|
headers:
|
569
579
|
User-Agent:
|
570
|
-
- Faraday v0.
|
580
|
+
- Faraday v0.17.3
|
571
581
|
Accept:
|
572
582
|
- application/hal+json,application/problem+json,application/json
|
583
|
+
X-Client-Name:
|
584
|
+
- ruby-stellar-sdk
|
585
|
+
X-Client-Version:
|
586
|
+
- 0.7.0
|
573
587
|
response:
|
574
588
|
status:
|
575
589
|
code: 200
|
576
590
|
message: OK
|
577
591
|
headers:
|
578
|
-
Date:
|
579
|
-
- Sun, 02 Sep 2018 04:16:49 GMT
|
580
|
-
Content-Type:
|
581
|
-
- application/hal+json; charset=utf-8
|
582
|
-
Connection:
|
583
|
-
- keep-alive
|
584
|
-
Set-Cookie:
|
585
|
-
- __cfduid=d758a8c2f0dcc39b22a44596319fe2dd91535861808; expires=Mon, 02-Sep-19
|
586
|
-
04:16:48 GMT; path=/; domain=.stellar.org; HttpOnly
|
587
592
|
Cache-Control:
|
588
593
|
- no-cache, no-store, max-age=0
|
589
594
|
Content-Disposition:
|
590
595
|
- inline
|
596
|
+
Content-Type:
|
597
|
+
- application/hal+json; charset=utf-8
|
598
|
+
Date:
|
599
|
+
- Fri, 13 Mar 2020 21:59:54 GMT
|
591
600
|
Vary:
|
592
601
|
- Origin
|
593
602
|
X-Ratelimit-Limit:
|
594
|
-
- '
|
603
|
+
- '101'
|
595
604
|
X-Ratelimit-Remaining:
|
596
|
-
- '
|
605
|
+
- '100'
|
597
606
|
X-Ratelimit-Reset:
|
598
|
-
- '
|
599
|
-
|
600
|
-
-
|
601
|
-
Server:
|
602
|
-
- cloudflare
|
603
|
-
Cf-Ray:
|
604
|
-
- 453d29d18e5b7c2e-LAX
|
607
|
+
- '1'
|
608
|
+
Connection:
|
609
|
+
- keep-alive
|
605
610
|
body:
|
606
611
|
encoding: ASCII-8BIT
|
607
612
|
string: |-
|
608
613
|
{
|
609
614
|
"_links": {
|
610
615
|
"self": {
|
611
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
616
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT/transactions?cursor=\u0026limit=10\u0026order=desc"
|
612
617
|
},
|
613
618
|
"next": {
|
614
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
619
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT/transactions?cursor=3031074384908288\u0026limit=10\u0026order=desc"
|
615
620
|
},
|
616
621
|
"prev": {
|
617
|
-
"href": "https://horizon-testnet.stellar.org/accounts/
|
622
|
+
"href": "https://horizon-testnet.stellar.org/accounts/GDQ7AGEBYZXLCMDO4XUHPGTN2G5KBPXMVYUADZK4RNOMLX4WW34X54AT/transactions?cursor=3031078679883776\u0026limit=10\u0026order=asc"
|
618
623
|
}
|
619
624
|
},
|
620
625
|
"_embedded": {
|
621
626
|
"records": [
|
622
627
|
{
|
628
|
+
"memo": "DESUKA",
|
623
629
|
"_links": {
|
624
630
|
"self": {
|
625
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
631
|
+
"href": "https://horizon-testnet.stellar.org/transactions/5d6c29c0957a328e5c02a5f817d0b4c6b45716073a304cac7e29cdebf3f1c41b"
|
626
632
|
},
|
627
633
|
"account": {
|
628
634
|
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]"
|
629
635
|
},
|
630
636
|
"ledger": {
|
631
|
-
"href": "https://horizon-testnet.stellar.org/ledgers/
|
637
|
+
"href": "https://horizon-testnet.stellar.org/ledgers/705728"
|
632
638
|
},
|
633
639
|
"operations": {
|
634
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
640
|
+
"href": "https://horizon-testnet.stellar.org/transactions/5d6c29c0957a328e5c02a5f817d0b4c6b45716073a304cac7e29cdebf3f1c41b/operations{?cursor,limit,order}",
|
635
641
|
"templated": true
|
636
642
|
},
|
637
643
|
"effects": {
|
638
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
644
|
+
"href": "https://horizon-testnet.stellar.org/transactions/5d6c29c0957a328e5c02a5f817d0b4c6b45716073a304cac7e29cdebf3f1c41b/effects{?cursor,limit,order}",
|
639
645
|
"templated": true
|
640
646
|
},
|
641
647
|
"precedes": {
|
642
|
-
"href": "https://horizon-testnet.stellar.org/transactions?order=asc\u0026cursor=
|
648
|
+
"href": "https://horizon-testnet.stellar.org/transactions?order=asc\u0026cursor=3031078679883776"
|
643
649
|
},
|
644
650
|
"succeeds": {
|
645
|
-
"href": "https://horizon-testnet.stellar.org/transactions?order=desc\u0026cursor=
|
651
|
+
"href": "https://horizon-testnet.stellar.org/transactions?order=desc\u0026cursor=3031078679883776"
|
646
652
|
}
|
647
653
|
},
|
648
|
-
"id": "
|
649
|
-
"paging_token": "
|
650
|
-
"
|
651
|
-
"
|
652
|
-
"
|
654
|
+
"id": "5d6c29c0957a328e5c02a5f817d0b4c6b45716073a304cac7e29cdebf3f1c41b",
|
655
|
+
"paging_token": "3031078679883776",
|
656
|
+
"successful": true,
|
657
|
+
"hash": "5d6c29c0957a328e5c02a5f817d0b4c6b45716073a304cac7e29cdebf3f1c41b",
|
658
|
+
"ledger": 705728,
|
659
|
+
"created_at": "2020-03-13T21:59:53Z",
|
653
660
|
"source_account": "[source_address]",
|
654
|
-
"source_account_sequence": "
|
655
|
-
"
|
661
|
+
"source_account_sequence": "3030756557324290",
|
662
|
+
"fee_charged": 100,
|
663
|
+
"max_fee": 100,
|
656
664
|
"operation_count": 1,
|
657
|
-
"envelope_xdr": "
|
665
|
+
"envelope_xdr": "AAAAAJA8Jibp68sQkog4sikMusVOeuhVzZVx9r9Vrb0oBNloAAAAZAAKxHUAAAACAAAAAAAAAAEAAAAGREVTVUtBAAAAAAABAAAAAQAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAAAEAAAAA4fAYgcZusTBu5eh3mm3RuqC+7K4oAeVci1zF35a2+X4AAAAAAAAAAFloLwAAAAAAAAAAASgE2WgAAABA9f9qXs9ASRoZGXng1R9gCc/1x4gyRc9w/ByEE3T1POlLSXliOGTfjjjEwAYYGpGGZvUk0cFxoqx5fxeJ2Xt1Dg==",
|
658
666
|
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAA=",
|
659
|
-
"result_meta_xdr": "
|
660
|
-
"fee_meta_xdr": "
|
667
|
+
"result_meta_xdr": "AAAAAQAAAAIAAAADAArEwAAAAAAAAAAAkDwmJunryxCSiDiyKQy6xU566FXNlXH2v1WtvSgE2WgAAAAXDNwdOAAKxHUAAAABAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAArEwAAAAAAAAAAAkDwmJunryxCSiDiyKQy6xU566FXNlXH2v1WtvSgE2WgAAAAXDNwdOAAKxHUAAAACAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAABAAAAAMACsS/AAAAAAAAAADh8BiBxm6xMG7l6HeabdG6oL7srigB5VyLXMXflrb5fgAAAAA7msoAAArEvwAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEACsTAAAAAAAAAAADh8BiBxm6xMG7l6HeabdG6oL7srigB5VyLXMXflrb5fgAAAACVAvkAAArEvwAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAMACsTAAAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABcM3B04AArEdQAAAAIAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEACsTAAAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABazc+44AArEdQAAAAIAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA==",
|
668
|
+
"fee_meta_xdr": "AAAAAgAAAAMACsS/AAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABcM3B2cAArEdQAAAAEAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEACsTAAAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABcM3B04AArEdQAAAAEAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA==",
|
661
669
|
"memo_type": "text",
|
662
|
-
"memo": "DESUKA",
|
663
670
|
"signatures": [
|
664
|
-
"
|
671
|
+
"9f9qXs9ASRoZGXng1R9gCc/1x4gyRc9w/ByEE3T1POlLSXliOGTfjjjEwAYYGpGGZvUk0cFxoqx5fxeJ2Xt1Dg=="
|
665
672
|
]
|
666
673
|
},
|
667
674
|
{
|
668
675
|
"_links": {
|
669
676
|
"self": {
|
670
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
677
|
+
"href": "https://horizon-testnet.stellar.org/transactions/2ed6a77baf41d5348a884a09750139f804ec7af6e281247fd9f78a2d7178185a"
|
671
678
|
},
|
672
679
|
"account": {
|
673
680
|
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]"
|
674
681
|
},
|
675
682
|
"ledger": {
|
676
|
-
"href": "https://horizon-testnet.stellar.org/ledgers/
|
683
|
+
"href": "https://horizon-testnet.stellar.org/ledgers/705727"
|
677
684
|
},
|
678
685
|
"operations": {
|
679
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
686
|
+
"href": "https://horizon-testnet.stellar.org/transactions/2ed6a77baf41d5348a884a09750139f804ec7af6e281247fd9f78a2d7178185a/operations{?cursor,limit,order}",
|
680
687
|
"templated": true
|
681
688
|
},
|
682
689
|
"effects": {
|
683
|
-
"href": "https://horizon-testnet.stellar.org/transactions/
|
690
|
+
"href": "https://horizon-testnet.stellar.org/transactions/2ed6a77baf41d5348a884a09750139f804ec7af6e281247fd9f78a2d7178185a/effects{?cursor,limit,order}",
|
684
691
|
"templated": true
|
685
692
|
},
|
686
693
|
"precedes": {
|
687
|
-
"href": "https://horizon-testnet.stellar.org/transactions?order=asc\u0026cursor=
|
694
|
+
"href": "https://horizon-testnet.stellar.org/transactions?order=asc\u0026cursor=3031074384908288"
|
688
695
|
},
|
689
696
|
"succeeds": {
|
690
|
-
"href": "https://horizon-testnet.stellar.org/transactions?order=desc\u0026cursor=
|
697
|
+
"href": "https://horizon-testnet.stellar.org/transactions?order=desc\u0026cursor=3031074384908288"
|
691
698
|
}
|
692
699
|
},
|
693
|
-
"id": "
|
694
|
-
"paging_token": "
|
695
|
-
"
|
696
|
-
"
|
697
|
-
"
|
700
|
+
"id": "2ed6a77baf41d5348a884a09750139f804ec7af6e281247fd9f78a2d7178185a",
|
701
|
+
"paging_token": "3031074384908288",
|
702
|
+
"successful": true,
|
703
|
+
"hash": "2ed6a77baf41d5348a884a09750139f804ec7af6e281247fd9f78a2d7178185a",
|
704
|
+
"ledger": 705727,
|
705
|
+
"created_at": "2020-03-13T21:59:48Z",
|
698
706
|
"source_account": "[source_address]",
|
699
|
-
"source_account_sequence": "
|
700
|
-
"
|
707
|
+
"source_account_sequence": "3030756557324289",
|
708
|
+
"fee_charged": 100,
|
709
|
+
"max_fee": 100,
|
701
710
|
"operation_count": 1,
|
702
|
-
"envelope_xdr": "
|
711
|
+
"envelope_xdr": "AAAAAJA8Jibp68sQkog4sikMusVOeuhVzZVx9r9Vrb0oBNloAAAAZAAKxHUAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA4fAYgcZusTBu5eh3mm3RuqC+7K4oAeVci1zF35a2+X4AAAAAO5rKAAAAAAAAAAABKATZaAAAAEDLnPW+Ughp/h0gEGpiTCd1M1e0hsznqGmBsjCc3JBd6KJQpAaolbzD8RmjxGLu+o0C9m1jVhuGQa2AGOe6QDcJ",
|
703
712
|
"result_xdr": "AAAAAAAAAGQAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA=",
|
704
|
-
"result_meta_xdr": "
|
705
|
-
"fee_meta_xdr": "
|
713
|
+
"result_meta_xdr": "AAAAAQAAAAIAAAADAArEvwAAAAAAAAAAkDwmJunryxCSiDiyKQy6xU566FXNlXH2v1WtvSgE2WgAAAAXSHbnnAAKxHUAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAArEvwAAAAAAAAAAkDwmJunryxCSiDiyKQy6xU566FXNlXH2v1WtvSgE2WgAAAAXSHbnnAAKxHUAAAABAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAwAAAAMACsS/AAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABdIduecAArEdQAAAAEAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEACsS/AAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABcM3B2cAArEdQAAAAEAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAACsS/AAAAAAAAAADh8BiBxm6xMG7l6HeabdG6oL7srigB5VyLXMXflrb5fgAAAAA7msoAAArEvwAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA==",
|
714
|
+
"fee_meta_xdr": "AAAAAgAAAAMACsR1AAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABdIdugAAArEdQAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAEACsS/AAAAAAAAAACQPCYm6evLEJKIOLIpDLrFTnroVc2Vcfa/Va29KATZaAAAABdIduecAArEdQAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA==",
|
706
715
|
"memo_type": "none",
|
707
716
|
"signatures": [
|
708
|
-
"
|
717
|
+
"y5z1vlIIaf4dIBBqYkwndTNXtIbM56hpgbIwnNyQXeiiUKQGqJW8w/EZo8Ri7vqNAvZtY1YbhkGtgBjnukA3CQ=="
|
709
718
|
]
|
710
719
|
}
|
711
720
|
]
|
712
721
|
}
|
713
722
|
}
|
714
723
|
http_version:
|
715
|
-
recorded_at:
|
716
|
-
recorded_with: VCR
|
724
|
+
recorded_at: Fri, 13 Mar 2020 21:59:54 GMT
|
725
|
+
recorded_with: VCR 3.0.3
|