Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( fmt.Errorf("eigenda service is temporarily unavailable") )ErrServiceUnavailable =
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements a standard client for the eigenda-proxy that can put/get standard commitment data and query the health endpoint. Currently it is meant to be used by Arbitrum nitro integrations but can be extended to others in the future. Optimism has its own client: https://github.com/ethereum-optimism/optimism/blob/develop/op-alt-da/daclient.go so clients wanting to send op commitment mode data should use that client.
type ClientOption ¶
type ClientOption func(c *Client)
func WithHTTPClient ¶
func WithHTTPClient(client HTTPClient) ClientOption
WithHTTPClient ... Embeds custom http client type
Click to show internal directories.
Click to hide internal directories.