sync

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const APISYNC = "sync"

APISYNC is the namespace of the sync service

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoints added in v0.0.7

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

Endpoints contains implementations for the "zkevm" RPC endpoints

func NewEndpoints added in v0.0.7

func NewEndpoints(db db.DB) *Endpoints

NewEndpoints returns Endpoints

func (*Endpoints) GetOffChainData added in v0.0.7

func (z *Endpoints) GetOffChainData(hash types.ArgHash) (interface{}, rpc.Error)

GetOffChainData returns the image of the given hash

func (*Endpoints) ListOffChainData added in v0.0.7

func (z *Endpoints) ListOffChainData(hashes []types.ArgHash) (interface{}, rpc.Error)

ListOffChainData returns the list of images of the given hashes

Jump to

Keyboard shortcuts

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