This PR tweaks the way Balance and Block endpoints handle block identifier validation.
If both index and hash fields are empty, it is assumed that the latest block is referenced.
Checklist
[x] Is on the right branch
[x] Documentation is up-to-date
[x] Tests are up-to-date* Construction API code + Preprocess endpoint
Fixes #379.
This PR tweaks the way
Balance
andBlock
endpoints handle block identifier validation. If both index and hash fields are empty, it is assumed that the latest block is referenced.Checklist