Skip to content
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

feat: include forwarded routes for the node in the wallet API #2164

Merged
merged 1 commit into from
Mar 15, 2022

Conversation

lrubiorod
Copy link
Contributor

@lrubiorod lrubiorod commented Mar 15, 2022

Close #2162

@lrubiorod lrubiorod force-pushed the wallet_tx_by_hash branch 2 times, most recently from a33f8d7 to 341689a Compare March 15, 2022 10:07
@tmpolaczyk
Copy link
Contributor

Example usage:

{"jsonrpc":"2.0","id":"1","method":"get_transaction_by_hash","params":["e7569602e9ebe6ce3ce291decb7ae5d2951d46e8c1867c39903e59d0c6522ba6"]}

Output:

{"jsonrpc":"2.0","result":{"blockHash":"e43b64410669f57fb24463ebb28676e8d3f168fa61db4326fe90f2d8b2db2797","confirmed":false,"transaction":{"Mint":{"epoch":1839285,"outputs":[{"pkh":"twit10j8ef8kvefegzmne94m3v7792nuqqgcrfej9h0","time_lock":0,"value":250000000000}]}},"weight":0},"id":"1"}

@lrubiorod lrubiorod merged commit d4b77f4 into witnet:master Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a wrapper of Node API for Wallet API
2 participants