Quota Price Management Contract
setQuotaPrice
设置 quota price
,默认为 1。
参数
uint
- The setting quota price返回值
bool
- True if success,other false.示例
$ cita-cli scm PriceManager setQuotaPrice \
--admin-private 0x5f0258a4778057a8a7d97809bd209055b2fbafa654ce7d31ec7191066b9225e6 \
--price 0x0000000000000000000000000000000000000000000000000000000000000002
getQuotaPrice
查询当前链 quota price。
参数
空
返回值
uint
- The quota price示例
$ cita-cli scm PriceManager getQuotaPrice
输出:
{
"id": 1,
"jsonrpc": "2.0",
"result": "0x0000000000000000000000000000000000000000000000000000000000000002"
}