-
Notifications
You must be signed in to change notification settings - Fork 29
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
Additional data into RPC Client transaction input reply #208
Comments
The trouble here is the TransactionInput doesn't always have that data. It can have that data, see:
However, most things building transactions don't set that value. So it involves some db look ups to get the input values. It isn't impossible of course but it is slower. |
Well either you have to do the db lookups or i have to do them via another rpc call or an internal db...i would prefer having the client doing it :D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you ask the client for a block you get all the transactions, you then call get_transaction to get the inputs and outputs, the inputs don't have an amount tho, you have to look up the input transactions hashes aswell and parse their value - would it be possible to do this client side and just add an amount to inputs too?
That's from block 113:
The text was updated successfully, but these errors were encountered: