-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglbtc_usd.json
45 lines (45 loc) · 1.26 KB
/
glbtc_usd.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"tasks": [
{
"httpTask": {
"url": "https://hermes.pyth.network/v2/updates/price/latest?ids%5B%5D=0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43",
"method": "METHOD_GET"
}
},
{
"cacheTask": {
"cacheItems": [
{
"variableName": "BTCUSD",
"job": {
"tasks": [
{
"jsonParseTask": {
"path": "parsed[0].price.price",
"aggregationMethod": "NONE"
}
}
]
}
}
]
}
},
{
"httpTask": {
"url": "https://api.bitdrome.finance/data/relayer/gl-btc-price",
"method": "METHOD_GET"
}
},
{
"multiplyTask": {
"big": "${BTCUSD}"
}
},
{
"divideTask": {
"big": "100000000"
}
}
]
}