sync

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 5 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 SyncEndpoints

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

SyncEndpoints contains implementations for the "zkevm" RPC endpoints

func NewSyncEndpoints

func NewSyncEndpoints(db db.DB) *SyncEndpoints

NewSyncEndpoints returns ZKEVMEndpoints

func (*SyncEndpoints) GetOffChainData

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

GetOffChainData returns the image of the given hash

Jump to

Keyboard shortcuts

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