opnode

package
v0.3.0-beta5-tmp-bridge Latest Latest
Warning

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

Go to latest
Published: May 16, 2025 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockInfo

type BlockInfo struct {
	Number     uint64      `json:"number"`
	Hash       common.Hash `json:"hash"`
	ParentHash common.Hash `json:"parentHash"`
	Timestamp  uint64      `json:"timestamp"`
}

type OpNodeClient

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

func NewOpNodeClient

func NewOpNodeClient(url string) *OpNodeClient

func (*OpNodeClient) FinalizedL2Block

func (c *OpNodeClient) FinalizedL2Block() (*BlockInfo, error)

Jump to

Keyboard shortcuts

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