Returns information about the treasury. For the IOTA Mainnet, the treasury holds the unmigrated tokens from the Legacy IOTA Mainnet.
Successful operation.
Plain string encoded number.
const response = await fetch('https://iota.nownodes.io/api/core/v2/treasury', { method: 'GET', headers: {}, }); const data = await response.json();
{ "milestoneId": "text", "amount": "text" }