getInfo

getInfo is a method on the ANT class that retrieves general information about the ANT process, including name, ticker, denomination, logo, and other metadata.

getInfo does not require authentication.

Examples

getInfo

const info = await ant.getInfo();

Parameters

The getInfo method does not accept any parameters.

Output

{
  "Name": "ArDrive",
  "Ticker": "ARDRIVE",
  "Denomination": 0,
  "Logo": "Sie_26dvgyok0PZD_-iQAFOhOd5YxDTkczOLoqTTL_A",
  "TotalSupply": 1,
  "Handlers": ["_eval", "_default", "transfer", "balance", "balances"]
}

Was this page helpful?