Skip to content

Commit b932031

Browse files
authored
Merge pull request #5705 from EdgeApp/matthew/v3-rates
Use rates server v3 endpoint
2 parents 610bf0a + 7668bb4 commit b932031

File tree

65 files changed

+1573
-835
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1573
-835
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased (develop)
44

5+
- changed: Use rates server v3 endpoint
6+
57
## 4.34.0 (staging)
68

79
- added: `parseMarkdown` supports bold text (`**strong**`)
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"request": {
3+
"method": "POST",
4+
"url": "https://rates3.edge.app/v3/rates",
5+
"body": "{\"targetFiat\":\"USD\",\"crypto\":[{\"isoDate\":\"2022-06-01T04:00:00.000Z\",\"asset\":{\"pluginId\":\"bitcoin\",\"tokenId\":null}},{\"isoDate\":\"2022-06-02T04:00:00.000Z\",\"asset\":{\"pluginId\":\"ethereum\",\"tokenId\":null}},{\"isoDate\":\"2022-06-03T04:00:00.000Z\",\"asset\":{\"pluginId\":\"monero\",\"tokenId\":null}},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"asset\":{\"pluginId\":\"bitcoin\",\"tokenId\":null}},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"asset\":{\"pluginId\":\"dogecoin\",\"tokenId\":null}}],\"fiat\":[{\"isoDate\":\"2022-06-01T04:00:00.000Z\",\"fiatCode\":\"USD\"},{\"isoDate\":\"2022-06-02T04:00:00.000Z\",\"fiatCode\":\"USD\"},{\"isoDate\":\"2022-06-03T04:00:00.000Z\",\"fiatCode\":\"EUR\"},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"fiatCode\":\"PHP\"},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"fiatCode\":\"MXN\"}]}",
6+
"headers": [
7+
[
8+
"accept",
9+
"*/*"
10+
],
11+
[
12+
"accept-encoding",
13+
"gzip,deflate"
14+
],
15+
[
16+
"connection",
17+
"close"
18+
],
19+
[
20+
"content-length",
21+
"746"
22+
],
23+
[
24+
"content-type",
25+
"application/json"
26+
],
27+
[
28+
"host",
29+
"127.0.0.1:8087"
30+
],
31+
[
32+
"user-agent",
33+
"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
34+
]
35+
],
36+
"cookies": []
37+
},
38+
"response": {
39+
"status": 200,
40+
"statusText": "OK",
41+
"body": "{\"targetFiat\":\"USD\",\"crypto\":[{\"isoDate\":\"2022-06-01T04:00:00.000Z\",\"asset\":{\"pluginId\":\"bitcoin\"},\"rate\":31865.749621173167},{\"isoDate\":\"2022-06-02T04:00:00.000Z\",\"asset\":{\"pluginId\":\"ethereum\"},\"rate\":1828.8926546074292},{\"isoDate\":\"2022-06-03T04:00:00.000Z\",\"asset\":{\"pluginId\":\"monero\"},\"rate\":193.59642765955266},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"asset\":{\"pluginId\":\"bitcoin\"},\"rate\":29836.29247906769},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"asset\":{\"pluginId\":\"dogecoin\"},\"rate\":0.08186741002113526}],\"fiat\":[{\"isoDate\":\"2022-06-01T04:00:00.000Z\",\"fiatCode\":\"USD\",\"rate\":1},{\"isoDate\":\"2022-06-02T04:00:00.000Z\",\"fiatCode\":\"USD\",\"rate\":1},{\"isoDate\":\"2022-06-03T04:00:00.000Z\",\"fiatCode\":\"EUR\",\"rate\":1.071983},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"fiatCode\":\"PHP\",\"rate\":0.0189},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"fiatCode\":\"MXN\",\"rate\":0.051164}]}",
42+
"headers": [
43+
[
44+
"connection",
45+
"close"
46+
],
47+
[
48+
"content-length",
49+
"865"
50+
],
51+
[
52+
"content-type",
53+
"application/json; charset=utf-8"
54+
],
55+
[
56+
"date",
57+
"Fri, 15 Aug 2025 06:17:36 GMT"
58+
],
59+
[
60+
"etag",
61+
"W/\"361-NyuozaijAY3BRKA3B5FAo6hJHXM\""
62+
],
63+
[
64+
"x-powered-by",
65+
"Express"
66+
]
67+
]
68+
}
69+
}
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"request": {
3+
"method": "POST",
4+
"url": "https://rates-eusa1.edge.app/v3/rates",
5+
"body": "{\"targetFiat\":\"USD\",\"crypto\":[{\"isoDate\":\"2022-06-01T04:00:00.000Z\",\"asset\":{\"pluginId\":\"bitcoin\",\"tokenId\":null}},{\"isoDate\":\"2022-06-02T04:00:00.000Z\",\"asset\":{\"pluginId\":\"ethereum\",\"tokenId\":null}},{\"isoDate\":\"2022-06-03T04:00:00.000Z\",\"asset\":{\"pluginId\":\"monero\",\"tokenId\":null}},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"asset\":{\"pluginId\":\"bitcoin\",\"tokenId\":null}},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"asset\":{\"pluginId\":\"dogecoin\",\"tokenId\":null}}],\"fiat\":[{\"isoDate\":\"2022-06-01T04:00:00.000Z\",\"fiatCode\":\"USD\"},{\"isoDate\":\"2022-06-02T04:00:00.000Z\",\"fiatCode\":\"USD\"},{\"isoDate\":\"2022-06-03T04:00:00.000Z\",\"fiatCode\":\"EUR\"},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"fiatCode\":\"PHP\"},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"fiatCode\":\"MXN\"}]}",
6+
"headers": [
7+
[
8+
"accept",
9+
"*/*"
10+
],
11+
[
12+
"accept-encoding",
13+
"gzip,deflate"
14+
],
15+
[
16+
"connection",
17+
"close"
18+
],
19+
[
20+
"content-length",
21+
"746"
22+
],
23+
[
24+
"content-type",
25+
"application/json"
26+
],
27+
[
28+
"host",
29+
"rates-eusa1.edge.app"
30+
],
31+
[
32+
"user-agent",
33+
"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
34+
]
35+
],
36+
"cookies": []
37+
},
38+
"response": {
39+
"status": 200,
40+
"statusText": "OK",
41+
"body": "{\"targetFiat\":\"USD\",\"crypto\":[{\"isoDate\":\"2022-06-01T04:00:00.000Z\",\"asset\":{\"pluginId\":\"bitcoin\"},\"rate\":29753.319645591237},{\"isoDate\":\"2022-06-02T04:00:00.000Z\",\"asset\":{\"pluginId\":\"ethereum\"},\"rate\":1831.8981652965977},{\"isoDate\":\"2022-06-03T04:00:00.000Z\",\"asset\":{\"pluginId\":\"monero\"},\"rate\":193.59642765955266},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"asset\":{\"pluginId\":\"bitcoin\"},\"rate\":29836.29247906769},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"asset\":{\"pluginId\":\"dogecoin\"},\"rate\":0.08186741002113526}],\"fiat\":[{\"isoDate\":\"2022-06-01T04:00:00.000Z\",\"fiatCode\":\"USD\",\"rate\":1},{\"isoDate\":\"2022-06-02T04:00:00.000Z\",\"fiatCode\":\"USD\",\"rate\":1},{\"isoDate\":\"2022-06-03T04:00:00.000Z\",\"fiatCode\":\"EUR\",\"rate\":1.071983},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"fiatCode\":\"PHP\",\"rate\":0.0189},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"fiatCode\":\"MXN\",\"rate\":0.051164}]}",
42+
"headers": [
43+
[
44+
"alt-svc",
45+
"h3=\":443\"; ma=2592000"
46+
],
47+
[
48+
"connection",
49+
"close"
50+
],
51+
[
52+
"content-length",
53+
"865"
54+
],
55+
[
56+
"content-type",
57+
"application/json; charset=utf-8"
58+
],
59+
[
60+
"date",
61+
"Tue, 09 Sep 2025 09:50:36 GMT"
62+
],
63+
[
64+
"etag",
65+
"W/\"361-n7aKYxxAO3JjkSCDLgEsFHz2HaE\""
66+
],
67+
[
68+
"server",
69+
"Caddy"
70+
],
71+
[
72+
"x-powered-by",
73+
"Express"
74+
]
75+
]
76+
}
77+
}
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"request": {
3+
"method": "POST",
4+
"url": "https://rates-wusa1.edge.app/v3/rates",
5+
"body": "{\"targetFiat\":\"USD\",\"crypto\":[{\"isoDate\":\"2022-06-01T04:00:00.000Z\",\"asset\":{\"pluginId\":\"bitcoin\",\"tokenId\":null}},{\"isoDate\":\"2022-06-02T04:00:00.000Z\",\"asset\":{\"pluginId\":\"ethereum\",\"tokenId\":null}},{\"isoDate\":\"2022-06-03T04:00:00.000Z\",\"asset\":{\"pluginId\":\"monero\",\"tokenId\":null}},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"asset\":{\"pluginId\":\"bitcoin\",\"tokenId\":null}},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"asset\":{\"pluginId\":\"dogecoin\",\"tokenId\":null}}],\"fiat\":[{\"isoDate\":\"2022-06-01T04:00:00.000Z\",\"fiatCode\":\"USD\"},{\"isoDate\":\"2022-06-02T04:00:00.000Z\",\"fiatCode\":\"USD\"},{\"isoDate\":\"2022-06-03T04:00:00.000Z\",\"fiatCode\":\"EUR\"},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"fiatCode\":\"PHP\"},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"fiatCode\":\"MXN\"}]}",
6+
"headers": [
7+
[
8+
"accept",
9+
"*/*"
10+
],
11+
[
12+
"accept-encoding",
13+
"gzip,deflate"
14+
],
15+
[
16+
"connection",
17+
"close"
18+
],
19+
[
20+
"content-length",
21+
"746"
22+
],
23+
[
24+
"content-type",
25+
"application/json"
26+
],
27+
[
28+
"host",
29+
"rates-wusa1.edge.app"
30+
],
31+
[
32+
"user-agent",
33+
"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
34+
]
35+
],
36+
"cookies": []
37+
},
38+
"response": {
39+
"status": 200,
40+
"statusText": "OK",
41+
"body": "{\"targetFiat\":\"USD\",\"crypto\":[{\"isoDate\":\"2022-06-01T04:00:00.000Z\",\"asset\":{\"pluginId\":\"bitcoin\"},\"rate\":29753.319645591237},{\"isoDate\":\"2022-06-02T04:00:00.000Z\",\"asset\":{\"pluginId\":\"ethereum\"},\"rate\":1831.8981652965977},{\"isoDate\":\"2022-06-03T04:00:00.000Z\",\"asset\":{\"pluginId\":\"monero\"},\"rate\":193.59642765955266},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"asset\":{\"pluginId\":\"bitcoin\"},\"rate\":29836.29247906769},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"asset\":{\"pluginId\":\"dogecoin\"},\"rate\":0.08186741002113526}],\"fiat\":[{\"isoDate\":\"2022-06-01T04:00:00.000Z\",\"fiatCode\":\"USD\",\"rate\":1},{\"isoDate\":\"2022-06-02T04:00:00.000Z\",\"fiatCode\":\"USD\",\"rate\":1},{\"isoDate\":\"2022-06-03T04:00:00.000Z\",\"fiatCode\":\"EUR\",\"rate\":1.071983},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"fiatCode\":\"PHP\",\"rate\":0.0189},{\"isoDate\":\"2022-06-04T04:00:00.000Z\",\"fiatCode\":\"MXN\",\"rate\":0.051164}]}",
42+
"headers": [
43+
[
44+
"alt-svc",
45+
"h3=\":443\"; ma=2592000"
46+
],
47+
[
48+
"connection",
49+
"close"
50+
],
51+
[
52+
"content-length",
53+
"865"
54+
],
55+
[
56+
"content-type",
57+
"application/json; charset=utf-8"
58+
],
59+
[
60+
"date",
61+
"Tue, 09 Sep 2025 09:51:35 GMT"
62+
],
63+
[
64+
"etag",
65+
"W/\"361-n7aKYxxAO3JjkSCDLgEsFHz2HaE\""
66+
],
67+
[
68+
"server",
69+
"Caddy"
70+
],
71+
[
72+
"x-powered-by",
73+
"Express"
74+
]
75+
]
76+
}
77+
}

0 commit comments

Comments
 (0)