Documentation ¶
Overview ¶
Package ethclient provides a client for the Quai RPC API.
Index ¶
- type Client
- func (ec *Client) Append(ctx context.Context, header *types.Header, domPendingHeader *types.Header, ...) (types.Transactions, bool, error)
- func (ec *Client) Close()
- func (ec *Client) GenerateRecoveryPendingHeader(ctx context.Context, pendingHeader *types.Header, ...) error
- func (ec *Client) GetManifest(ctx context.Context, blockHash common.Hash) (types.BlockManifest, error)
- func (ec *Client) HeaderByHash(ctx context.Context, hash common.Hash) *types.Header
- func (ec *Client) HeaderByNumber(ctx context.Context, number string) *types.Header
- func (ec *Client) NewGenesisPendingHeader(ctx context.Context, header *types.Header)
- func (ec *Client) RequestDomToAppendOrFetch(ctx context.Context, hash common.Hash, order int)
- func (ec *Client) SendPendingEtxsRollupToDom(ctx context.Context, pEtxsRollup types.PendingEtxsRollup) error
- func (ec *Client) SendPendingEtxsToDom(ctx context.Context, pEtxs types.PendingEtxs) error
- func (ec *Client) SubRelayPendingHeader(ctx context.Context, pendingHeader types.PendingHeader, newEntropy *big.Int, ...)
- func (ec *Client) UpdateDom(ctx context.Context, oldTerminus common.Hash, newTerminus common.Hash, ...)
- type Termini
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client defines typed wrappers for the Quai RPC API.
func (*Client) GenerateRecoveryPendingHeader ¶
func (*Client) GetManifest ¶
func (ec *Client) GetManifest(ctx context.Context, blockHash common.Hash) (types.BlockManifest, error)
GetManifest will get the block manifest ending with the parent hash
func (*Client) HeaderByHash ¶
func (*Client) HeaderByNumber ¶
func (*Client) NewGenesisPendingHeader ¶
func (*Client) RequestDomToAppendOrFetch ¶
func (*Client) SendPendingEtxsRollupToDom ¶
func (*Client) SendPendingEtxsToDom ¶
func (*Client) SubRelayPendingHeader ¶
Click to show internal directories.
Click to hide internal directories.