blob: 758e056ed96648320473295370b94c992cd6b5c7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
package api
import "github.com/ethereum/go-ethereum/rpc/shared"
// Ethereum RPC API interface
type EthereumApi interface {
// Execute the given request and returns the response or an error
Execute(*shared.Request) (interface{}, error)
// List of supported RCP methods this API provides
Methods() []string
}
|