getHandlers

getHandlers is a method on the ANT class that retrieves the handlers supported by the ANT.

getHandlers does not require authentication.

Examples

getHandlers

const handlers = await ant.getHandlers();

Parameters

The getHandlers method does not accept any parameters.

Output

[
  "_eval",
  "_default",
  "transfer",
  "balance",
  "balances",
  "totalSupply",
  "info",
  "addController",
  "removeController",
  "controllers",
  "setRecord",
  "removeRecord",
  "record",
  "records",
  "setName",
  "setTicker",
  "initializeState",
  "state"
]

Was this page helpful?