Retrieving Voice Tokens:

The method wallet.voice.get() is used to retrieve the voice tokens available in the bot's wallet. It returns the number of voice tokens available.

// Assuming you have defined the Highrise instance as "bot".
bot.on("chatCreate", async (user, message) => {
  if (message === "voice") {
    bot.wallet.voice.get().then(voice => {
      console.log("The Bot's voice tokens are:", voice);
    }).catch(e => console.error(e));
  }
});

Go Back: Buy & Fetch Wallet