Documentation ¶
Index ¶
- type Client
- func (api *Client) GetBundleInfo(bundleID string) (*GetBundleInfoResponse, error)
- func (api *Client) GetLargestBundlesBySigner() error
- func (api *Client) RetrieveBundleIDfromTransactionSignature(signature string) (string, error)
- func (api *Client) RetrieveRecentBundles(limit int, timeFrame Timeframe) (*RecentBundlesResponse, error)
- type GetBundleInfoResponse
- type RecentBundlesResponse
- type Sort
- type Timeframe
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
}
func (*Client) GetBundleInfo ¶
func (api *Client) GetBundleInfo(bundleID string) (*GetBundleInfoResponse, error)
GetBundleInfo returns information associated with a bundle ID.
func (*Client) GetLargestBundlesBySigner ¶
func (*Client) RetrieveBundleIDfromTransactionSignature ¶
RetrieveBundleIDfromTransactionSignature returns the bundleID associated with the transaction signature provided, if existing.
func (*Client) RetrieveRecentBundles ¶
func (api *Client) RetrieveRecentBundles(limit int, timeFrame Timeframe) (*RecentBundlesResponse, error)
RetrieveRecentBundles fetches a list of recent bundles from the Jito API within a specified timeframe and limit.
type GetBundleInfoResponse ¶
type GetBundleInfoResponse struct { BundleId string `json:"bundleId"` Slot int `json:"slot"` Validator string `json:"validator"` Tippers []string `json:"tippers"` LandedTipLamports int64 `json:"landedTipLamports"` LandedCu int `json:"landedCu"` BlockIndex int `json:"blockIndex"` Timestamp time.Time `json:"timestamp"` TxSignatures []string `json:"txSignatures"` }
type RecentBundlesResponse ¶
Click to show internal directories.
Click to hide internal directories.