Makes a request to the ATokenService API. The aToken API retrieves information about aToken contract interaction. For more details, see the Aquarius API documentation.

  • options (object) A JavaScript object of API request parameters.

  • RETURN (object) Returns the HTTP response body or error.

(async function() {
  const sEthData = await Aquarius.api.aToken({
    "addresses": Aquarius.util.getAddress(Aquarius.aBNB)

  console.log('sEthData', sEthData); // JavaScript Object

Last updated