rpc

package
v0.6.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrBusy is returned when the witness server is busy
	ErrBusy = errors.New("witness server is busy")
)

Functions

This section is empty.

Types

type BatchEndpoints added in v0.4.0

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

func NewBatchEndpoints added in v0.4.0

func NewBatchEndpoints(url string) *BatchEndpoints

func (*BatchEndpoints) GetBatch added in v0.4.0

func (b *BatchEndpoints) GetBatch(batchNumber uint64) (*types.RPCBatch, error)

func (*BatchEndpoints) GetL2BlockTimestamp added in v0.4.0

func (b *BatchEndpoints) GetL2BlockTimestamp(blockHash string) (uint64, error)

func (*BatchEndpoints) GetWitness added in v0.4.0

func (b *BatchEndpoints) GetWitness(batchNumber uint64, fullWitness bool) ([]byte, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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