Documentation ¶
Index ¶
- type Client
- func (c *Client) CallBundle(rawTxs [][]byte) *flashbots.CallBundleResponse
- func (c *Client) GetBundleStats(bundleHash common.Hash) *flashbots.BundleStatsV2Response
- func (c *Client) GetUserStats() *flashbots.UserStatsV2Response
- func (c *Client) LatestBlock() *big.Int
- func (c *Client) LatestBlockPlus() *big.Int
- func (c *Client) SendBundleWithRawTxs(rawTxs [][]byte) common.Hash
- func (c *Client) UserAddress() common.Address
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { PlusBlocks *big.Int SignerPublicKey *ecdsa.PublicKey // contains filtered or unexported fields }
func (*Client) CallBundle ¶
func (c *Client) CallBundle(rawTxs [][]byte) *flashbots.CallBundleResponse
func (*Client) GetBundleStats ¶
func (c *Client) GetBundleStats(bundleHash common.Hash) *flashbots.BundleStatsV2Response
func (*Client) GetUserStats ¶
func (c *Client) GetUserStats() *flashbots.UserStatsV2Response
func (*Client) LatestBlock ¶
LatestBlock gets the latest block number.
func (*Client) LatestBlockPlus ¶
LatestBlockPlus gets the latest block number plus the configured offset.
func (*Client) SendBundleWithRawTxs ¶
func (*Client) UserAddress ¶ added in v0.5.1
Click to show internal directories.
Click to hide internal directories.