Versions in this module Expand all Collapse all v1 v1.1.3 Jan 20, 2025 v1.1.2 Jan 20, 2025 Changes in this version + func JSONRPCBatchCall(url string, calls ...BatchCall) ([]types.Response, error) + func JSONRPCCall(url, method string, parameters ...interface{}) (types.Response, error) + type BatchCall struct + Method string + Parameters []interface{} + type Client struct + func NewClient(url string) *Client + func (c *Client) BatchByNumber(ctx context.Context, number *big.Int) (*types.Batch, error) + func (c *Client) BatchNumber(ctx context.Context) (uint64, error) + func (c *Client) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error) + func (c *Client) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error) + func (c *Client) BlockNumber(ctx context.Context) (uint64, error) + func (c *Client) ExitRootsByGER(ctx context.Context, globalExitRoot common.Hash) (*types.ExitRoots, error) + func (c *Client) GetLatestGlobalExitRoot(ctx context.Context) (common.Hash, error)