rpc

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2015 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package rpc implements the Ethereum JSON-RPC API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Jeth

type Jeth struct {
	// contains filtered or unexported fields
}

func NewJeth

func NewJeth(ethApi shared.EthereumApi, re *jsre.JSRE, client comms.EthereumClient) *Jeth

func (*Jeth) Send

func (self *Jeth) Send(call otto.FunctionCall) (response otto.Value)

type Xeth

type Xeth struct {
	// contains filtered or unexported fields
}

Xeth is a native API interface to a remote node.

func NewXeth

func NewXeth(client comms.EthereumClient) *Xeth

NewXeth constructs a new native API interface to a remote node.

func (*Xeth) Call

func (self *Xeth) Call(method string, params []interface{}) (map[string]interface{}, error)

Call invokes a method with the given parameters are the remote node.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL