rpc

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INTEROP = "interop"
)

INTEROP is the namespace of the interop service

Variables

This section is empty.

Functions

This section is empty.

Types

type InteropEndpoints

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

InteropEndpoints contains implementations for the "interop" RPC endpoints

func NewInteropEndpoints

func NewInteropEndpoints(
	logger *zap.SugaredLogger,
	executor *interop.Executor,
	db types.IDB,
	conf *config.Config,
) *InteropEndpoints

NewInteropEndpoints returns InteropEndpoints

func (*InteropEndpoints) GetTxStatus

func (i *InteropEndpoints) GetTxStatus(hash common.Hash) (result interface{}, err jRPC.Error)

func (*InteropEndpoints) SendTx

func (i *InteropEndpoints) SendTx(signedTx tx.SignedTx) (interface{}, jRPC.Error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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