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

Adding method to get system fee by block to rpc server #35

Merged
merged 1 commit into from
Jul 25, 2017

Conversation

localhuman
Copy link
Contributor

Also added a check for a valid block height for getblocksysfee and getblockhash cases

This is for the light wallet and any other applications that need to calculate claim transaction amounts in order use sendrawtransaction to make a claim.

usage: send a block height (example 204651)
send > {"jsonrpc": "2.0", "method": "getblocksysfee", "params": [204651], "id": 4}
receive back > {"jsonrpc":"2.0","id":4,"result":"1470"}_

@erikzhang erikzhang merged commit ce1c77a into neo-project:master Jul 25, 2017
Thacryba referenced this pull request in simplitech/neo Feb 17, 2020
General grammatical review
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.

2 participants