Is there an RPC call to get more (or better all) vouts for given transaction? Iterating over each one takes a lot of network time.

gettxout txid 0
gettxout txid 1
gettxout txid 2
gettxout txid 3 -> returns empty, so last one

"getrawmempool True" doesn't have vout addresses with amounts.

1 Answer 1


You can get the entire transaction using getrawtransaction. This will include all vouts.

  • Yeah but it's raw hex, would you know a python parser for it? Segwit I guess is also encoded differently from legacy. Sep 2, 2022 at 20:49
  • There is a a verbose parameter to have it be decoded by bitcoind and returned as json. See the help text.
    – Andrew Chow
    Sep 2, 2022 at 22:41
  • That works great thanks! Although it requires block hash too. Sep 3, 2022 at 11:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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