Welcome to LGCY Network
Search…
Introduction
Abstract
Architecture
Delegated Proof of Stake (DPoS)
Governance
LGCY Virtual Machine
Tokenomics
Developer Fund
Build
LGCY Contract Code
USDL Contract Code
Node
Account
Smart Contract
Transaction
Technicals
USDL
About
Minting Mechanism
Powered By
GitBook
Technicals
1.unfreeze
URL :
http://64.227.188.73:4000/unfreeze
Desc: To unfreeze the function in the contract
Demo: curl -X Post http://64.227.188.73:4000/unfreeze
@param: amount;
@param: destkey;
@return: return unfreeze promise;
2.freezeDetails
URL :
http://64.227.188.73:4000/freezeDetails
Desc: To get the freezeDetails in the contract
Demo: curl -X Post http://64.227.188.73:4000/freezeDetails
@param: address;
@param: destkey;
@return: return freezeDetails Info;
3.calLgcy
URL :
http://64.227.188.73:4000/calLgcy
Desc: To proceed the calLgcy in the contract
Demo: curl -X Post http://64.227.188.73:4000/calLgcy
@param: amount;
@param: destkey;
@return: return calLgcy promise;
4.listProposals
URL :
http://64.227.188.73:4000/listProposals
Desc: To get the listProposals in the contract
Demo: curl -X Get http://64.227.188.73:4000/listProposals
@param:null
@return: return List all the proposal info;
5.listGoverningBodies
URL :
http://64.227.188.73:4000/listSuperRepresentatives
Desc: To get the listGoverningBodies in the contract
Demo: curl -X Get http://64.227.188.73:4000/listSuperRepresentatives
@param:null
@return:return List all the GoverningBodies info;
6.chainparams
URL :
http://64.227.188.73:4000/chainparams
Desc: To get the chainparams in the contract
Demo: curl -X Get http://64.227.188.73:4000/chainparams
@param:null
@return:return List all the chainparams info;
7.applyForGB
URL :
http://64.227.188.73:4000/applyForGB
Desc: To proceed the applyForGB in the contract
Demo: curl -X Post http://64.227.188.73:4000/applyForGB
@param: address;
@param: destkey;
@param: url;
@return:return applyForGB promise;
8.voteGB
URL :
http://64.227.188.73:4000/voteGB
Desc: To proceed the voteGB in the contract
Demo: curl -X Post http://64.227.188.73:4000/voteGB
@param: ownAddress;
@param: sraddress;
@return: return voteGB promise;
Build - Previous
Transaction
Next - USDL
About
Last modified
4mo ago
Copy link