On this page

latest contributor to this doc

Last Edit:

@gcharang

my_balance

my_balance coin

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

StructureTypeDescription
coinstringthe name of the coin to retrieve the balance

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

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