aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api/api.go')
-rw-r--r--rpc/api/api.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpc/api/api.go b/rpc/api/api.go
index 206647946..e431e5c1e 100644
--- a/rpc/api/api.go
+++ b/rpc/api/api.go
@@ -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)