-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting a transaction does not include the input addresses #5000
Comments
Hello. If the inspected transaction is an incoming one, the following applies. If not, this could be a bug. The wallet database contains only transactions involving the wallet addresses. Being able to resolve any input requires access to the global transaction history, which is information we do not store. I get from the context, that resolving external addresses is probably what you are aiming at and so that transaction is incoming. In that case there is nothing we can do to fix it. |
Indeed. The transaction data on the Cardano blockchain does not record addresses or coins for inputs — these inputs need to be resolved. Cardano-wallet currently does not attempt to resolve and store inputs that are external. (The returned fields are marked as optional in the I would classify this issue as a feature request. Could you provide us with more context of how you would be using the data (incoming addresses) in the hypothetical scenario that cardano-wallet were able to provide it? |
We need the incoming addresses to display in our UI. Without being able to get this from cardano-wallet we either need to rely on an external service, e.g., Blockfrost, or run another service against our own cardano-node, e.g., cardano-rosetta-java, to be able to get this data. |
Unfortunately we don't have a good solution within cardano-wallet and don't plan on providing one. This is something that could possibly be addressed as part of the deposit wallet. |
Just checking...
cardano-wallet
bug.cardano-wallet
release.cardano-node
version for that release ofcardano-wallet
.Version
v2025-02-19 (git revision: 0000000000000000000000000000000000000000)
Platform
Linux 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Installation method
Built from source
Network configuration
Preview testnet
Context
Retrieving details of transactions from external addresses.
Description
Steps to Reproduce
curl -H"Content-Type: application/json" 'http://localhost:8090/v2/wallets/[...]/transactions/[...]' | j
inputs
map does not include anaddress
element for each input....
Expected behavior
Each
input
contains anaddress
string element containing the source address as shown in the example response.Actual behavior
The inputs do not include addresses.
The text was updated successfully, but these errors were encountered: