@ar.io/sdk 2.5.0-alpha.3 → 2.5.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -66,6 +66,7 @@ This is the home of [ar.io] SDK. This SDK provides functionality for interacting
66
66
  - [ANT APIs](#ant-apis)
67
67
  - [`init({ processId, signer })`](#init-processid-signer-)
68
68
  - [`getInfo()`](#getinfo-1)
69
+ - [`getHandlers()`](#gethandlers)
69
70
  - [`getState()`](#getstate)
70
71
  - [`getOwner()`](#getowner)
71
72
  - [`getControllers()`](#getcontrollers)
@@ -1508,6 +1509,43 @@ const info = await ant.getInfo();
1508
1509
 
1509
1510
  </details>
1510
1511
 
1512
+ #### `getHandlers()`
1513
+
1514
+ Retrieves the handlers supported on the ANT
1515
+
1516
+ ```typescript
1517
+ const handlers = await ant.getHandlers();
1518
+ ```
1519
+
1520
+ <details>
1521
+ <summary>Output</summary>
1522
+
1523
+ ```json
1524
+ [
1525
+ "evolve",
1526
+ "_eval",
1527
+ "_default",
1528
+ "transfer",
1529
+ "balance",
1530
+ "balances",
1531
+ "totalSupply",
1532
+ "info",
1533
+ "addController",
1534
+ "removeController",
1535
+ "controllers",
1536
+ "setRecord",
1537
+ "removeRecord",
1538
+ "record",
1539
+ "records",
1540
+ "setName",
1541
+ "setTicker",
1542
+ "initializeState",
1543
+ "state"
1544
+ ]
1545
+ ```
1546
+
1547
+ </details>
1548
+
1511
1549
  #### `getState()`
1512
1550
 
1513
1551
  Retrieves the state of the ANT process.