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

RPC: Raw history does not return full block details #893

Closed
rotilho opened this issue May 27, 2018 · 1 comment
Closed

RPC: Raw history does not return full block details #893

rotilho opened this issue May 27, 2018 · 1 comment

Comments

@rotilho
Copy link

rotilho commented May 27, 2018

As the https://github.com/nanocurrency/raiblocks/wiki/RPC-protocol#account-history states:

raw: if set to true instead of the default false, instead of outputting a simplified send or receive explanation of blocks (intended for wallets), output all parameters of the block itself as seen in block_create or other APIs returning blocks. It still includes the "account" and "amount" properties you'd see without this option. State/universal blocks in the raw history will also have a subtype field indicating their equivalent "old" block. Unfortunately, the "account" parameter for open blocks is the account of the source block, not the account of the open block, to preserve similarity with the non-raw history.

However when calling account history with raw=true the returned json with state block does not have previous and balance fields.

EDIT: send, change and receive also don't have previous

@SergiySW
Copy link
Contributor

SergiySW commented Jul 9, 2018

Closed with 7db52dd

@SergiySW SergiySW closed this as completed Jul 9, 2018
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

No branches or pull requests

2 participants