Nodechain is a service that allows you to create nodes on a blockchain and connect to them natively through APIs. The goal is to allow the user to build their own nodes natively without having to rely on external services.
MIT License
7
stars
5
forks
source link
Method getTransaction only returns 'in-wallet' transactions #88
[ ] I have read the Contributing file of the documentation.
[ ] I have searched the issues (including closed ones) and believe that this is not a duplicate.
Issue
Currently, method getTransaction only returns information referring to the wallet loaded in bitcoind, for other txHashes the method returns null. We want to obtain information of any transaction not only 'in-wallet'
NOTE: The root of the problem is the method gettransaction from bitcoind, we can use this method because only reports information about in-wallet transactions.
Issue
Currently, method
getTransaction
only returns information referring to the wallet loaded inbitcoind
, for othertxHashes
the method returns null. We want to obtain information of any transaction not only 'in-wallet'NOTE: The root of the problem is the method
gettransaction
from bitcoind, we can use this method because only reports information about in-wallet transactions.https://bitcoincore.org/en/doc/0.21.0/rpc/wallet/gettransaction/