How to Echo committee publishes new rates for ETH and BTC
Committee members can publish feeds for committee fed asset via method in wallet api.
1
unlocked >>> publish_asset_feed 1.2.6 "EETH" {"base": {"amount": 1, "asset_id": "1.3.1"}, "quote": {"amount": 2, "asset_id": "1.3.0"}} true
2
{
3
"ref_block_num": 82,
4
"ref_block_prefix": 3601599606,
5
"expiration": "2020-09-27T17:05:18",
6
"operations": [[
7
14,{
8
"fee": {
9
"amount": 100,
10
"asset_id": "1.3.0"
11
},
12
"publisher": "1.2.6",
13
"asset_id": "1.3.1",
14
"core_exchange_rate": {
15
"base": {
16
"amount": 1,
17
"asset_id": "1.3.1"
18
},
19
"quote": {
20
"amount": 2,
21
"asset_id": "1.3.0"
22
}
23
},
24
"extensions": []
25
}
26
]
27
],
28
"extensions": [],
29
"signatures": [
30
"3d273f96b55449de25cdbc6ce598b9c876ef73ecfe0423d6aedb1e185a51e11d90f14081d81284367fd6dc2956eeda383b22eb83a1057db3e200fdc1f334900b"
31
],
32
"signed_with_echorand_key": false
33
}
Copied!
Last modified 1yr ago
Copy link