Get Account Balance

Use this API to get the entire balance of your account.

API Request URL :
https://logoscoin.io/api/account?apikey={apikey}

Required Parameters

Parameter Description Example
{apikey} 24 digits of your API access key a1b2-c3d4-e5f6-g7h8-i9j0

Request (Example)

https://logoscoin.io/api/account?apikey=a1b2-c3d4-e5f6-g7h8-i9j0

Response (JSON)

{ "id": "LSC-12345678901234567890", "success": true, "message": "", "result": { "username": "switzerland", "balance": 1.23456789, "req/min": 600 } }

DEVELOPER NOTE :
* Usually used for admin panels to find out the number of coins that are owned.


Create New Address

Use this API to generate a new wallet address with unique label.

API Request URL :
https://logoscoin.io/api/create?apikey={apikey}&label={label}

Required Parameters

Parameter Description Example
{apikey} 24 digits of your API access key a1b2-c3d4-e5f6-g7h8-i9j0
{label} Wallet address label (3-25 chars) User001

Request (Example)

https://logoscoin.io/api/create?apikey=a1b2-c3d4-e5f6-g7h8-i9j0&label=User001

Response (JSON)

{ "id": "LSC-12345678901234567890", "success": true, "message": "", "result": { "label": "User001", "address": "LdHsUKAirjPvsuf5ncf9Fs3hrYEVboruRG", } }

DEVELOPER NOTE :
* Use your client user name/id as the label so you can easily to manage their address.
** Save the returned "address" into your system database according to their user name/id.
*** You can only make 1 address per 1 unique label for each of your clients (not duplicate).


Receive New Deposit

STEP-1: Use this API to get the balance of a label (> 3 confirmations).

API Request URL :
https://logoscoin.io/api/balance?apikey={apikey}&label={label}

Required Parameters

Parameter Description Example
{apikey} 24 digits of your API access key a1b2-c3d4-e5f6-g7h8-i9j0
{label} Wallet address label (3-25 chars) User001

Request (Example)

https://logoscoin.io/api/balance?apikey=a1b2-c3d4-e5f6-g7h8-i9j0&label=User001

Response (JSON)

{ "id": "LSC-12345678901234567890", "success": true, "message": "", "result": { "label": "User001", "balance": 1.23456789, } }

DEVELOPER NOTE :
* If the label's balance matches your criteria or minimum amount, run the API below to complete the deposit process.

STEP-2: Use this API to move your new deposit amount into your master account.

API Request URL :
https://logoscoin.io/api/deposit?apikey={apikey}&label={label}

Required Parameters

Parameter Description Example
{apikey} 24 digits of your API access key a1b2-c3d4-e5f6-g7h8-i9j0
{label} Wallet address label (3-25 chars) User001

Request (Example)

https://logoscoin.io/api/deposit?apikey=a1b2-c3d4-e5f6-g7h8-i9j0&label=User001

Response (JSON)

{ "id": "LSC-12345678901234567890", "success": true, "message": "", "result": { "label": "User001", "amount": 1.23456789, "hash": "448cdec39b3b2b8ae8447413dfb3f1fa51afa4de7c9214ab8a4002351c810390" } }

DEVELOPER NOTE :
* The "hash" value will be available if the deposit transaction is successful.
** You can read each of your client label's deposit at any time, or use cronjob.
*** Minimum deposit can be processed is 0.1 LSC (3 confirmations needed).


Sending Withdrawal

Use this API to send coins from your account to an existing address on the blockchain.

API Request URL :
https://logoscoin.io/api/withdraw?apikey={apikey}&address={address}&amount={amount}

Required Parameters

Parameter Description Example
{apikey} 24 digits of your API access key a1b2-c3d4-e5f6-g7h8-i9j0
{address} Destination address (34 chars) LdHsUKAirjPvsuf5ncf9Fs3hrYEVboruRG
{amount} Amount to be sent (8 decimals) 1.23456789

Request (Example)

https://logoscoin.io/api/withdraw?apikey=a1b2-c3d4-e5f6-g7h8-i9j0&address=LdHsUKAirjPvsuf5ncf9Fs3hrYEVboruRG&amount=1.23456789

Response (JSON)

{ "id": "LSC-12345678901234567890", "success": true, "message": "", "result": { "address": "LdHsUKAirjPvsuf5ncf9Fs3hrYEVboruRG", "amount": 1.23456789, "hash": "448cdec39b3b2b8ae8447413dfb3f1fa51afa4de7c9214ab8a4002351c810390" } }

DEVELOPER NOTE :
* The "hash" value will be available if the withdraw transaction is successful.
** You will be charged for blockchain transaction fee or charge it to your user.
*** Minimum withdraw can be processed is 0.1 LSC (3 confirmations needed).


API Limitation

To avoid unauthorized use, we limit API calls to 600 requests per minute.