I have lots of addresses organized under a label.
Is there a command to show the total remaining amount available under a label ? (Or address)
I am building a payment gateway and I need get the total remaining amount of an address thats why I cannot use listreceivedbylabel.
I am also not able to rely on some block explorers API.


Use getreceivedbylabel. It takes label and minconf as arguments. label is the label, and minconf is the minimum number of confirmations for a transaction to be considered for inclusion in this value. The default is 1 confirmation.

  • This only shows the total received amount, not the amount of which is spendabel – Emil Jun 9 at 10:49
  • 1
    Labels cannot be "spent from", so getreceivedbylabel gives you the "balance" of the label. You are trying to use labels like the old accounts system, don't do that. – Andrew Chow Jun 9 at 10:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.