Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONRPCBatchCall ¶ added in v0.0.990
JSONRPCBatchCall executes a 2.0 JSON RPC HTTP Post Batch Request to the provided URL with the provided method and parameters groups, which is compatible with the Ethereum JSON RPC Server.
Types ¶
type BatchCall ¶ added in v0.0.990
type BatchCall struct { Method string Parameters []interface{} }
BatchCall used in batch requests to send multiple methods and parameters at once
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client defines typed wrappers for the zkEVM RPC API.
func (*Client) BatchByNumber ¶
BatchByNumber returns a batch from the current canonical chain. If number is nil, the latest known batch is returned.
Click to show internal directories.
Click to hide internal directories.