Information

Retrieve the balance of a specific token for an address.

The balance endpoint retrieves the balance of a specific fungible token for a given Mina address.

post/info/balance

Request

  • Base URL: https://minatokens.com/api/v1
  • URL: https://minatokens.com/api/v1/info/balance
  • Auth: API key in header x-api-key

Request body

tokenAddressstring

The address of the token contract (optional).

tokenIdstring

The token ID (optional).

addressstring required

The Mina address for which to retrieve the balance.

Response

Successful retrieval of balance.

tokenAddressstring

The address of the token contract (optional).

tokenIdstring

The token ID (optional).

addressstring required

The Mina address for which the balance was requested.

balancenumber

The balance of the token for the specified address.

hasAccountboolean

Indicates whether the account exists.

Changes