Skip to main content

Module jito

Module jito 

Source

Structs§

JitoBundleResult
Result of sending a Jito bundle.
JitoConfig
Jito configuration.

Enums§

TipStrategy
Tip strategy for Jito bundles.

Constants§

JITO_TIP_ACCOUNTS
Hardcoded Jito tip accounts (from getTipAccounts).

Functions§

block_engine_urls
Jito Block Engine URLs by region.
build_tip_instruction
Build a tip instruction — SystemProgram::transfer to a random Jito tip account.
calculate_tip
Calculate tip amount in lamports based on strategy.
fetch_tip_accounts
Fetch current tip accounts from Jito Block Engine. Falls back to hardcoded JITO_TIP_ACCOUNTS on failure.
poll_bundle_status
Poll Jito Block Engine for bundle landing status.
resolve_block_engine_url
Resolve a region name to a full Block Engine URL.
send_jito_bundle
Send a bundle of signed transactions to the Jito Block Engine.