ipld-eth-server/pkg/core/rpc_client.go
2019-01-08 16:53:26 -06:00

14 lines
306 B
Go

package core
import (
"context"
"github.com/ethereum/go-ethereum/rpc"
)
type RpcClient interface {
CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error
BatchCall(batch []rpc.BatchElem) error
IpcPath() string
SupportedModules() (map[string]string, error)
}