getAllCurrencies()

Feature

Get information about all currencies in the network. Note: currency is a concept similar to a common native token. There may be various currencies in mitum.

Parameters

null

data of SuccessResponse

array of currencies information

example

// Note: an asynchronous request.
const currencyInfo = async () => {
  const info = await mitum.currency.getAllCurrencies();
  console.log(info);
};

currencyInfo();

// output
[ 'currency:MIT' ]

Last updated