Skip to content

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

Merged
erikzhang merged 1 commit intoneo-project:masterfrom
localhuman:feature-getblocksysfee
Jul 25, 2017
Merged

Adding method to get system fee by block to rpc server#35
erikzhang merged 1 commit intoneo-project:masterfrom
localhuman:feature-getblocksysfee

Conversation

@localhuman
Copy link
Copy Markdown
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