flots

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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 New

func New() *Client

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

func (c *Client) LatestBlock() *big.Int

LatestBlock gets the latest block number.

func (*Client) LatestBlockPlus

func (c *Client) LatestBlockPlus() *big.Int

LatestBlockPlus gets the latest block number plus the configured offset.

func (*Client) SendBundleWithRawTxs

func (c *Client) SendBundleWithRawTxs(rawTxs [][]byte) common.Hash

func (*Client) UserAddress added in v0.5.1

func (c *Client) UserAddress() common.Address

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL