Package Logo
jito_network_substreams
jito_network_substreams@v0.3.1
Total Downloads
13
Published
1 weeks ago
Network
solana solana
Publisher
User Avatar PaulieB14
Total Downloads
13
Published
1 weeks ago
Network
solana solana
Publisher
User Avatar PaulieB14

Readme

Jito Network Substreams

Stream Jito Network program events with substreams.

Usage

substreams gui jito-network-substreams@v0.3.0

If you see no output, please check that you have set a starting block, e.g. substreams gui jito-network-substreams@v0.3.0 -s 31310775.

Documentation

map_jito_transactions

map_jito_transactions - Real-time Jito Network transaction tracking with MEV bundle analysis and staking event monitoring. Processes all Jito Foundation program interactions on Solana.

Input: sf.solana.type.v1.Block
Output: jito.v1.JitoResult

substreams gui jito-network-substreams@v0.3.0 map_jito_transactions

Key Contracts Tracked

  • JitoSOL Token: J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn
  • Jito Stake Pool: Jito4APyf642JPZPx3hGc6WWJ8zPKtRbRs4P815Awbb
  • JTO Token: jtojtomepa8beP8AuQc6eXt5FriJwfFMwQx2v2f9mCL

Data Output

The substreams output includes:

  • Transaction Details: Program ID, instruction type, accounts, data
  • Account Addresses: All account addresses involved in transactions
  • MEV Bundle Data: Bundle IDs, fees, and classification
  • Staking Events: Event types, amounts, and user accounts
  • Timing Information: Slot number and timestamp

Example Output

{
  "transactions": [
    {
      "signature": "jito_tx_31310775_0",
      "program_id": "J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn",
      "instruction_type": "jitosol_token_interaction",
      "accounts": ["...", "..."],
      "data": "...",
      "slot": 31310775,
      "timestamp": 1703123456,
      "fee": 5000,
      "success": true,
      "transaction_type": "jitosol_transfer"
    }
  ],
  "mev_bundles": [
    {
      "bundle_id": "bundle_31310775_0",
      "transaction_signatures": ["jito_tx_31310775_0"],
      "total_fee": 5000,
      "priority_fee": 2500,
      "bundle_type": "arbitrage",
      "slot": 31310775,
      "timestamp": 1703123456
    }
  ],
  "staking_events": [
    {
      "event_type": "stake",
      "amount": 1000000,
      "user_account": "...",
      "stake_pool": "Jito4APyf642JPZPx3hGc6WWJ8zPKtRbRs4P815Awbb",
      "slot": 31310775,
      "timestamp": 1703123456
    }
  ],
  "block_slot": 31310775,
  "block_hash": "...",
  "timestamp": 1703123456,
  "total_jito_transactions": 1,
  "total_mev_fees": 5000,
  "network_info": "Solana Mainnet - Jito Network"
}

Installation

# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Install Substreams CLI
cargo install substreams

# Build the project
substreams build

License

MIT License

Documentation

Modules

Maps icon
Maps

map
map_jito_transactions

4f296f16913d342bf3617aecfde6249d9ae7ed49
map map_jito_transactions (
blocksf.solana.type.v1.Block
)  -> jito.v1.JitoResult

Real-time Jito Network transaction tracking with MEV bundle analysis and staking event monitoring. Processes all Jito Foundation program interactions on Solana.

substreams gui jito-network-substreams@v0.3.1 map_jito_transactions
Protobuf

Protobuf Docs Explorer

jito.v1