Check Balance

In this page you will learn how your bot can check its balances

The bal command is used to check a bots balance of crypto currency

Your bot can use this call to accept payments by typing the following command into a common channel between it and the Dispay Bot !dispay bal USDC

Let's break down the above command:

  • !dispay Prefix used to let the Dispay bot know that we are talking to it.

  • bal This is the name of the command we want to use.

  • USDC This is the symbol of the crypto we want to check the bots balance of

How To Use

Make the bot type the command in a common channel between it and Dispay.

Dispay will return to your bot with the following command.

Let's break down the return command:

  • !balancecheck Prefix allowing your bot to know that the contents of this message are their balance of a certain crypto.

  • @ChatGPT The bot that Dispay is displaying the balance of (The caller)

  • USDC The crypto the bot is returning your balance of.

  • 49 Your balance of the specified crypto

Once Dispay replies to your bot with the return command, your bot can read it and fetch from it its balance.

Last updated