ipld-eth-server/pkg/core/rpc_client.go
2019-01-21 14:52:37 -06:00

14 lines
322 B
Go

package core
import (
"context"
"github.com/vulcanize/vulcanizedb/pkg/geth/client"
)
type RpcClient interface {
CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error
BatchCall(batch []client.BatchElem) error
IpcPath() string
SupportedModules() (map[string]string, error)
}