stellar-sdk 0.4.0 → 0.9.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -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 +255 -74
- 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 -203
- 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 -12
- 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 -10
- 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/_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 -448
- data/spec/fixtures/vcr_cassettes/Stellar_Client/_send_payment/alphanum4_asset/sends_a_alphanum4_asset_to_the_destination.yml +0 -448
- 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 -173
- 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
data/spec/fixtures/vcr_cassettes/Stellar_Account/_lookup/should_peforms_federation_lookup.yml
DELETED
@@ -1,85 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://stellarfed.org/.well-known/stellar.toml
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Faraday v0.14.0
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
-
Accept:
|
15
|
-
- "*/*"
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Server:
|
22
|
-
- nginx/1.13.8
|
23
|
-
Date:
|
24
|
-
- Tue, 20 Feb 2018 18:58:57 GMT
|
25
|
-
Content-Type:
|
26
|
-
- text/plain; charset=utf-8
|
27
|
-
Last-Modified:
|
28
|
-
- Thu, 08 Feb 2018 03:32:08 GMT
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Etag:
|
34
|
-
- W/"5a7bc4b8-63"
|
35
|
-
Access-Control-Allow-Origin:
|
36
|
-
- "*"
|
37
|
-
body:
|
38
|
-
encoding: ASCII-8BIT
|
39
|
-
string: |
|
40
|
-
# Federation service provided by stellarfed.org
|
41
|
-
FEDERATION_SERVER="https://stellarfed.org/federation/"
|
42
|
-
http_version:
|
43
|
-
recorded_at: Tue, 20 Feb 2018 18:58:57 GMT
|
44
|
-
- request:
|
45
|
-
method: get
|
46
|
-
uri: https://stellarfed.org/federation/?q=john@email.com*stellarfed.org&type=name
|
47
|
-
body:
|
48
|
-
encoding: US-ASCII
|
49
|
-
string: ''
|
50
|
-
headers:
|
51
|
-
User-Agent:
|
52
|
-
- Faraday v0.14.0
|
53
|
-
Accept-Encoding:
|
54
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
55
|
-
Accept:
|
56
|
-
- "*/*"
|
57
|
-
response:
|
58
|
-
status:
|
59
|
-
code: 200
|
60
|
-
message: OK
|
61
|
-
headers:
|
62
|
-
Server:
|
63
|
-
- nginx/1.13.8
|
64
|
-
Date:
|
65
|
-
- Tue, 20 Feb 2018 18:58:58 GMT
|
66
|
-
Content-Type:
|
67
|
-
- application/json
|
68
|
-
Content-Length:
|
69
|
-
- '114'
|
70
|
-
Connection:
|
71
|
-
- keep-alive
|
72
|
-
X-Content-Type-Options:
|
73
|
-
- nosniff
|
74
|
-
X-Frame-Options:
|
75
|
-
- DENY
|
76
|
-
X-Xss-Protection:
|
77
|
-
- 1; mode=block
|
78
|
-
Strict-Transport-Security:
|
79
|
-
- max-age=7776000; includeSubdomains
|
80
|
-
body:
|
81
|
-
encoding: UTF-8
|
82
|
-
string: '{"stellar_address": "john@email.com*stellarfed.org", "account_id": "GDSRO6H2YM6MC6ZO7KORPJXSTUMBMT3E7MZ66CFVNMUAULFG6G2OP32I"}'
|
83
|
-
http_version:
|
84
|
-
recorded_at: Tue, 20 Feb 2018 18:58:58 GMT
|
85
|
-
recorded_with: VCR 3.0.3
|
@@ -1,190 +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.14.0
|
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-Disposition:
|
20
|
-
- inline
|
21
|
-
Content-Type:
|
22
|
-
- application/hal+json; charset=utf-8
|
23
|
-
Date:
|
24
|
-
- Sun, 04 Mar 2018 12:05:19 GMT
|
25
|
-
Vary:
|
26
|
-
- Origin
|
27
|
-
X-Ratelimit-Limit:
|
28
|
-
- '18000'
|
29
|
-
X-Ratelimit-Remaining:
|
30
|
-
- '17975'
|
31
|
-
X-Ratelimit-Reset:
|
32
|
-
- '277'
|
33
|
-
Content-Length:
|
34
|
-
- '1509'
|
35
|
-
Connection:
|
36
|
-
- keep-alive
|
37
|
-
body:
|
38
|
-
encoding: UTF-8
|
39
|
-
string: |-
|
40
|
-
{
|
41
|
-
"_links": {
|
42
|
-
"account": {
|
43
|
-
"href": "https://horizon-testnet.stellar.org/accounts/{account_id}",
|
44
|
-
"templated": true
|
45
|
-
},
|
46
|
-
"account_transactions": {
|
47
|
-
"href": "https://horizon-testnet.stellar.org/accounts/{account_id}/transactions{?cursor,limit,order}",
|
48
|
-
"templated": true
|
49
|
-
},
|
50
|
-
"assets": {
|
51
|
-
"href": "https://horizon-testnet.stellar.org/assets{?asset_code,asset_issuer,cursor,limit,order}",
|
52
|
-
"templated": true
|
53
|
-
},
|
54
|
-
"friendbot": {
|
55
|
-
"href": "https://horizon-testnet.stellar.org/friendbot{?addr}",
|
56
|
-
"templated": true
|
57
|
-
},
|
58
|
-
"metrics": {
|
59
|
-
"href": "https://horizon-testnet.stellar.org/metrics"
|
60
|
-
},
|
61
|
-
"order_book": {
|
62
|
-
"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}",
|
63
|
-
"templated": true
|
64
|
-
},
|
65
|
-
"self": {
|
66
|
-
"href": "https://horizon-testnet.stellar.org/"
|
67
|
-
},
|
68
|
-
"transaction": {
|
69
|
-
"href": "https://horizon-testnet.stellar.org/transactions/{hash}",
|
70
|
-
"templated": true
|
71
|
-
},
|
72
|
-
"transactions": {
|
73
|
-
"href": "https://horizon-testnet.stellar.org/transactions{?cursor,limit,order}",
|
74
|
-
"templated": true
|
75
|
-
}
|
76
|
-
},
|
77
|
-
"horizon_version": "snapshot-snapshots-5-g0d276af",
|
78
|
-
"core_version": "v9.2.0rc2-dirty",
|
79
|
-
"history_latest_ledger": 7732527,
|
80
|
-
"history_elder_ledger": 1,
|
81
|
-
"core_latest_ledger": 7732527,
|
82
|
-
"network_passphrase": "Test SDF Network ; September 2015",
|
83
|
-
"protocol_version": 9
|
84
|
-
}
|
85
|
-
http_version:
|
86
|
-
recorded_at: Sun, 04 Mar 2018 12:05:19 GMT
|
87
|
-
- request:
|
88
|
-
method: get
|
89
|
-
uri: https://horizon-testnet.stellar.org/accounts/[source_address]
|
90
|
-
body:
|
91
|
-
encoding: US-ASCII
|
92
|
-
string: ''
|
93
|
-
headers:
|
94
|
-
User-Agent:
|
95
|
-
- Faraday v0.14.0
|
96
|
-
Accept:
|
97
|
-
- application/hal+json,application/problem+json,application/json
|
98
|
-
response:
|
99
|
-
status:
|
100
|
-
code: 200
|
101
|
-
message: OK
|
102
|
-
headers:
|
103
|
-
Content-Disposition:
|
104
|
-
- inline
|
105
|
-
Content-Type:
|
106
|
-
- application/hal+json; charset=utf-8
|
107
|
-
Date:
|
108
|
-
- Sun, 04 Mar 2018 12:05:20 GMT
|
109
|
-
Vary:
|
110
|
-
- Origin
|
111
|
-
X-Ratelimit-Limit:
|
112
|
-
- '18000'
|
113
|
-
X-Ratelimit-Remaining:
|
114
|
-
- '17971'
|
115
|
-
X-Ratelimit-Reset:
|
116
|
-
- '208'
|
117
|
-
Content-Length:
|
118
|
-
- '2263'
|
119
|
-
Connection:
|
120
|
-
- keep-alive
|
121
|
-
body:
|
122
|
-
encoding: UTF-8
|
123
|
-
string: |-
|
124
|
-
{
|
125
|
-
"_links": {
|
126
|
-
"self": {
|
127
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]"
|
128
|
-
},
|
129
|
-
"transactions": {
|
130
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/transactions{?cursor,limit,order}",
|
131
|
-
"templated": true
|
132
|
-
},
|
133
|
-
"operations": {
|
134
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/operations{?cursor,limit,order}",
|
135
|
-
"templated": true
|
136
|
-
},
|
137
|
-
"payments": {
|
138
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/payments{?cursor,limit,order}",
|
139
|
-
"templated": true
|
140
|
-
},
|
141
|
-
"effects": {
|
142
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/effects{?cursor,limit,order}",
|
143
|
-
"templated": true
|
144
|
-
},
|
145
|
-
"offers": {
|
146
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/offers{?cursor,limit,order}",
|
147
|
-
"templated": true
|
148
|
-
},
|
149
|
-
"trades": {
|
150
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/trades{?cursor,limit,order}",
|
151
|
-
"templated": true
|
152
|
-
},
|
153
|
-
"data": {
|
154
|
-
"href": "https://horizon-testnet.stellar.org/accounts/[source_address]/data/{key}",
|
155
|
-
"templated": true
|
156
|
-
}
|
157
|
-
},
|
158
|
-
"id": "[source_address]",
|
159
|
-
"paging_token": "",
|
160
|
-
"account_id": "[source_address]",
|
161
|
-
"sequence": "346973227974715",
|
162
|
-
"subentry_count": 0,
|
163
|
-
"thresholds": {
|
164
|
-
"low_threshold": 0,
|
165
|
-
"med_threshold": 0,
|
166
|
-
"high_threshold": 0
|
167
|
-
},
|
168
|
-
"flags": {
|
169
|
-
"auth_required": false,
|
170
|
-
"auth_revocable": false
|
171
|
-
},
|
172
|
-
"balances": [
|
173
|
-
{
|
174
|
-
"balance": "3494.9997500",
|
175
|
-
"asset_type": "native"
|
176
|
-
}
|
177
|
-
],
|
178
|
-
"signers": [
|
179
|
-
{
|
180
|
-
"public_key": "[source_address]",
|
181
|
-
"weight": 1,
|
182
|
-
"key": "[source_address]",
|
183
|
-
"type": "ed25519_public_key"
|
184
|
-
}
|
185
|
-
],
|
186
|
-
"data": {}
|
187
|
-
}
|
188
|
-
http_version:
|
189
|
-
recorded_at: Sun, 04 Mar 2018 12:05:20 GMT
|
190
|
-
recorded_with: VCR 3.0.3
|
@@ -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
|