Technicals

1.Create Account

URL : https://apilg.lgcyscan.network/createaccount

Desc: Account creation

Demo: curl -X Post https://apilg.lgcyscan.network/createaccount

@param: email;

@param: password;

@param: confirm_password;

@return: return regsiter Info;

3.balance

URL : http://64.227.188.73:4000/balance

Desc: To check the balance

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

@param: address;

@return: return balance Info;

4.balanceOf

URL : http://64.227.188.73:4000/balanceOf

Desc: To check the balance-of function

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

@param: address;

@param: destkey;

@param: tokenAdd;

@return: return balanceof result;

5.allowance

URL : http://64.227.188.73:4000/allowance

Desc: To check the allowance function

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

@param: address;

@param: destkey;

@return: return allowance promise;

6.createSmartContract

URL : http://64.227.188.73:4000/createSmartContract

Desc: To create the SmartContract function

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

@param: address;

@param: destkey;

@return: return SmartContract created response promise;

7.addrpk

URL : http://64.227.188.73:4000/addrpk

Desc: To add the addrpk function

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

@param: PrivateKey;

@return: return response as privatekey is add or not;

8.transfer

URL : https://apilg.lgcyscan.network/apitransferusdl

Desc: To Proceed the transfer

Demo: curl -X Post https://apilg.lgcyscan.network/apitransferusdl

@param: privatekey;

@param: address;

@param: amount;

@return: return Transaction response;

9.transferToken

URL :https://apilg.lgcyscan.network/apitransfer

Desc: To Proceed the transferToken

Demo: curl -X Post https://apilg.lgcyscan.network/apitransfer

@param: privatekey;

@param: address;

@param: amount;

@param: tokenaddress;

@return: return Token Transaction response;

10.createToken

URL : https://apilg.lgcyscan.network/createToken

Desc: To Proceed the createToken function

Demo: curl -X Post https://apilg.lgcyscan.network/createToken

@param: abiarray;

@param: bytecode;

@param: privatekey;

@param: name;

@return: return token ;

11.tx

URL : http://64.227.188.73:4000/tx

Desc: To get the getTransactionInfo

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

@param: txid;

@return: return Transaction details;

12.txinfo

URL : http://64.227.188.73:4000/txinfo

Desc: To get the txinfo

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

@param: txid;

@return: return txinfo details;

13.freeze

URL : http://64.227.188.73:4000/freeze

Desc: To freeze the contract

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

@param: amount;

@param: destkey;

@return: return freeze promise;

Last updated