Adding RPC Endpoints for viewing available gas and claiming gas#1
Adding RPC Endpoints for viewing available gas and claiming gas#1localhuman wants to merge 1 commit intoneo-project:masterfrom
Conversation
erikzhang
left a comment
There was a problem hiding this comment.
If the claim failed, it will print logs to console, which is unexpected.
|
I'm going to close this one, as there is currently no pressing use-case for the functionality. Please see PR neo-project/neo#35 for that functionality. |
|
@localhuman I (respectfully!) beg to differ. If neo-cli is being used as the primary node by an application, being able to claim gas via RPC is essential. @erikzhang is there no way for us to include this in the next version? I really don't want to have to run a custom version of neo-cli locally just to get the ability to claim gas via RPC. |
|
@erikzhang I'd like to formally request this be re-opened. The use case is for exchanges who are running open wallets on neo-cli and need to be able to claim gas for all addresses within their wallet. |
Like calls to the
getbalancemethod of the RPC server, these methods require the wallet to be unlocked on the server side.sample python usage: