# Technicals

**1.createProposal**

URL :[ http://64.227.188.73:4000/createProposal](https://lgcyscan.network/#)

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](https://lgcyscan.network/#)

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](https://lgcyscan.network/#)

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](https://lgcyscan.network/#)

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](https://lgcyscan.network/#)

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](https://lgcyscan.network/#)

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;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lgcy-network.gitbook.io/welcome/build/smart-contract/technicals.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
