restructured eth rpc API

This commit is contained in:
Bas van Kervel
2015-06-08 10:23:54 +02:00
committed by Bas van Kervel
parent 7e41d7ac51
commit 348f1562e2
3 changed files with 122 additions and 0 deletions

View File

@ -32,6 +32,9 @@ type EthereumApi interface {
// API identifier
Name() string
// API version
ApiVersion() string
// Execute the given request and returns the response or an error
Execute(*shared.Request) (interface{}, error)