-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEndpoints.php
33 lines (31 loc) · 1.01 KB
/
Endpoints.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/**
* @link https://coinsence.org/
* @copyright Copyright (c) 2022 Coinsence
* @license https://www.humhub.com/licences
*
* @author Daly Ghaith <[email protected]>
*/
namespace humhub\modules\algorand;
/**
* Class Endpoints
*
* This class contains all exposed endpoints in the nodejs rest api
* responsible for humhub <-> algorand interactions.
*/
class Endpoints
{
// rest api endpoints list
const ENDPOINT_ASSET = '/asset';
const ENDPOINT_ASSET_LIST_BALANCE = '/getAssetListBalance';
const ENDPOINT_ALGO_BALANCE= '/api/getAlgoBalance';
const ENDPOINT_COIN_TRANSFER = '/coin/transfer';
const ENDPOINT_COIN_BALANCE = '/coin/balance';
const ENDPOINT_COIN_BALANCE_LIST = '/coin/balanceList';
const ENDPOINT_OPTIN = '/optin';
const ENDPOINT_SEND_ALGO = '/sendAlgoWithData';
const ENDPOINT_TRANSACTION = '/getTransaction';
const ENDPOINT_TRANSACTION_LIST = '/getAllTransactions';
const ENDPOINT_WALLET = '/wallet';
const ENDPOINT_WALLET_INFO = '/walletInfo';
}