Expand description
Opt-in transaction fee, compute-budget, and relay-tip parsing.
These functions are intentionally separate from DEX event parsing. Callers that do not request transaction costs incur no instruction scan.
Structs§
- Swqos
TipAccount Group - A provider and all tip accounts accepted by that provider.
- TipPayment
- Transaction
Cost
Enums§
- Swqos
Provider - SWQoS providers supported by
sol-trade-sdk.
Constants§
- ASTRALANE_
TIP_ ACCOUNTS - BLOCKRAZOR_
TIP_ ACCOUNTS - BLOX_
TIP_ ACCOUNTS - FLASHBLOCK_
TIP_ ACCOUNTS - GLAIVE_
TIP_ ACCOUNTS - HELIUS_
TIP_ ACCOUNTS - JITO_
TIP_ ACCOUNTS - Official Jito block-engine tip accounts used by
sol-trade-sdk. - LIGHTSPEED_
TIP_ ACCOUNTS - LUNARLANDER_
TIP_ ACCOUNTS - NEXTBLOCK_
TIP_ ACCOUNTS - NODE1_
TIP_ ACCOUNTS - NOZOMI_
TIP_ ACCOUNTS - SOLAMI_
TIP_ ACCOUNTS - SOYAS_
TIP_ ACCOUNTS - SPEEDLANDING_
TIP_ ACCOUNTS - STELLIUM_
TIP_ ACCOUNTS - SWQOS_
TIP_ ACCOUNT_ GROUPS - Complete provider-aware tip registry mirrored from
sol-trade-sdk. - ZEROSLOT_
TIP_ ACCOUNTS
Functions§
- parse_
rpc_ transaction_ cost - Parses costs from a base64-encoded RPC transaction response.
- parse_
shred_ transaction_ cost - Parses requested compute budget and outer relay tips from a ShredStream
transaction. Transaction status metadata and ALT-loaded addresses are not
present in shred entries, so fee and consumed-CU fields remain
Noneand tips whose recipient is ALT-loaded cannot be recognized. - parse_
yellowstone_ transaction_ cost - Parses costs from a Yellowstone transaction, including ALT-loaded accounts
and inner System Program transfers. Returns
Nonewhen the transaction message is absent.