mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 16:25:21 +00:00
4599caca07
* query get price implemented - /pricefeed/price/xrp:usd * query rawprices implemented - /pricefeed/rawprices/xrp:usd * refactored to QueryWithMarketIDParams, added rest logic for QueryOracles * new query get oracles implemented for cli and rest - /pricefeed/oracles/xrp:usd * tx postprice implemented - /pricefeed/postprice/{MsgPostPrice} * updated contrib with post-price examples and added to README * added cliCtx.WithHeight(height) and removed import comment
16 lines
374 B
JSON
16 lines
374 B
JSON
{
|
|
"base_req": {
|
|
"from": "kava15qdefkmwswysgg4qxgqpqr35k3m49pkx2jdfnw",
|
|
"memo": "",
|
|
"chain_id": "testing",
|
|
"account_number": "0",
|
|
"sequence": "96",
|
|
"gas": "500000",
|
|
"gas_adjustment": "1.0",
|
|
"simulate": false
|
|
},
|
|
"from": "kava15qdefkmwswysgg4qxgqpqr35k3m49pkx2jdfnw",
|
|
"market_id": "xrp:usd",
|
|
"price": "0.29",
|
|
"expiry": "4110000000"
|
|
} |