Technicals

1.createProposal

URL : http://64.227.188.73:4000/createProposal

Desc: To proceed the createProposal in the contract

Demo: curl -X Post http://64.227.188.73:4000/createProposal

@param: proparams;

@param: val;

@param: destkey;

@return: return createProposal promise;

2.voteProposal

URL : http://64.227.188.73:4000/voteProposal

Desc: To proceed the voteProposal in the contract

Demo: curl -X Post http://64.227.188.73:4000/voteProposal

@param: proId;

@param: vote;

@param: destkey;

@return: return voteProposal promise;

3.withdrawBlockRewards

URL : http://64.227.188.73:4000/withdrawBlockRewards

Desc: To proceed the withdrawBlockRewards in the contract

Demo: curl -X Post http://64.227.188.73:4000/withdrawBlockRewards

@param: destkey;

@return: return withdrawBlockRewards promise;

4.deleteProposal

URL : http://64.227.188.73:4000/deleteProposal

Desc: To proceed the deleteProposal in the contract

Demo: curl -X Post http://64.227.188.73:4000/deleteProposal

@param: pid;

@param: addr;

@return: return deleteProposal promise;

5.freezePower

URL : http://64.227.188.73:4000/freezePower

Desc: To proceed the freezePower in the contract

Demo: curl -X Post http://64.227.188.73:4000/freezePower

@param: amount;

@param: destkey;

@param: duration;

@param: address;

@return:return freezePower promise;

6.unfreezePower

URL : http://64.227.188.73:4000/unfreezePower

Desc: To proceed the unfreezePower in the contract

Demo: curl -X Post http://64.227.188.73:4000/unfreezePower

@param: destkey;

@param: address;

@return: return unfreezePower promise;

Last updated