my_balance

my_balance coin

The my_balance method returns the current balance of the specified coin.

Arguments

StructureTypeDescription
coinstringthe name of the coin to retrieve the balance

Response

StructureTypeDescription
addressstringthe address that holds the coins
balancestring (numeric)the number of coins in the address; does not include unspendable_balance
unspendable_balancestring (numeric)the coin balance that is unspendable at the moment (e.g. if the address has immature UTXOs)
coinstringthe name of the coin

📌 Examples

Command

POST my_balance
{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "my_balance",
  "coin": "HELLOWORLD"
}
Show Response

Response

{
  "address": "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW",
  "balance": "60.00253836",
  "unspendable_balance": "0.1",
  "coin": "HELLOWORLD"
}