@@ -30,28 +30,39 @@ class Manifest
3030 /** @var Transfers object which has methods to fire API's belonging to Transfers module */
3131 public $ transfers ;
3232
33- /**
34- * Constructor
35- *
36- * @param array $params Array containing the necessary params {
37- * @type string $apiKey API Key.
38- * @type string $apiSecret API Secret.
39- * @type string $baseUrl Base API URL.
40- * }
41- *
42- * @throws \Exception
43- *
44- */
45- public function __construct ($ params )
46- {
47- $ requestObj = new Request ($ params );
48-
49- // Define services available in V1
50- $ this ->users = new Users ($ requestObj );
51- $ this ->actions = new Actions ($ requestObj );
52- $ this ->airdrops = new Airdrops ($ requestObj );
53- $ this ->token = new Token ($ requestObj );
54- $ this ->transactions = new Transactions ($ requestObj );
55- $ this ->transfers = new Transfers ($ requestObj );
56- }
33+ /** @var Balances object which has methods to fire API's belonging to Balances module */
34+ public $ balances ;
35+
36+ /** @var Ledger object which has methods to fire API's belonging to Ledger module */
37+ public $ ledger ;
38+
39+ /**
40+ * Constructor
41+ *
42+ * @param array $params Array containing the necessary params {
43+ * @type string $apiKey API Key.
44+ * @type string $apiSecret API Secret.
45+ * @type string $baseUrl Base API URL.
46+ * }
47+ *
48+ * @throws \Exception
49+ *
50+ */
51+ public function __construct ($ params )
52+ {
53+
54+ $ requestObj = new Request ($ params );
55+
56+ // Define services available in V1
57+ $ this ->users = new Users ($ requestObj );
58+ $ this ->actions = new Actions ($ requestObj );
59+ $ this ->airdrops = new Airdrops ($ requestObj );
60+ $ this ->token = new Token ($ requestObj );
61+ $ this ->transactions = new Transactions ($ requestObj );
62+ $ this ->transfers = new Transfers ($ requestObj );
63+ $ this ->balances = new Balances ($ requestObj );
64+ $ this ->ledger = new Ledger ($ requestObj );
65+
66+ }
67+
5768}
0 commit comments