0

Hi i have test few time with gettransaction method, it seem only show full detail about transaction when send inside node.

But if i send from another address outside my node, gettransaction only show transaction detail of receive address.

How i can get full detail for both ways even that address not come from my node

0

What you're looking at is a byproduct of the now-deprecated account system. The send/receive labels are applied according to the addresses that are part of your wallet.

If you want the sender/recipient details as a whole, pass the raw tx hex to decoderawtransaction. This will give you the inputs and outputs as they appear in the transaction, without the accounting filters on it.

  • i already track in getrawtransaction, but it seem i dont see any sender address here. – redondoxx Oct 16 '18 at 14:22
  • That's because Bitcoin transactions don't have a "sender" address. Gettransaction shows you the effect on your wallet (address incoming funds were received with, address outgoing funds are sent to). – Pieter Wuille Apr 25 at 19:17

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.