Skip to main content

Crate sof_tx

Crate sof_tx 

Source
Expand description

Transaction SDK for building, signing, routing, and submitting Solana transactions.

Re-exports§

pub use providers::LeaderProvider;
pub use providers::LeaderTarget;
pub use providers::RecentBlockhashProvider;
pub use providers::RpcRecentBlockhashProvider;
pub use providers::RpcRecentBlockhashProviderConfig;
pub use routing::RoutingPolicy;
pub use routing::SignatureDeduper;
pub use submit::DirectSubmitConfig;
pub use submit::JitoSubmitConfig;
pub use submit::RpcSubmitConfig;
pub use submit::SignedTx;
pub use submit::SubmitError;
pub use submit::SubmitMode;
pub use submit::SubmitReliability;
pub use submit::SubmitResult;
pub use submit::SubmitTransportError;
pub use submit::TxFlowSafetyIssue;
pub use submit::TxFlowSafetyQuality;
pub use submit::TxFlowSafetySnapshot;
pub use submit::TxFlowSafetySource;
pub use submit::TxSubmitClient;
pub use submit::TxSubmitClientBuilder;
pub use submit::TxSubmitContext;
pub use submit::TxSubmitGuardPolicy;
pub use submit::TxSubmitOutcome;
pub use submit::TxSubmitOutcomeKind;
pub use submit::TxSubmitOutcomeReporter;
pub use submit::TxSubmitSuppressionKey;
pub use submit::TxToxicFlowRejectionReason;
pub use submit::TxToxicFlowTelemetry;
pub use submit::TxToxicFlowTelemetrySnapshot;
pub use submit::JitoBlockEngineEndpoint;
pub use submit::JitoBlockEngineRegion;
pub use submit::JitoJsonRpcTransport;
pub use submit::JitoSubmitResponse;
pub use submit::JitoTransportConfig;

Modules§

providers
Leader/blockhash provider traits and simple provider adapters. Provider traits and basic in-memory adapters used by the transaction SDK.
routing
Leader-target routing policy and signature dedupe primitives. Routing policy, target selection, and signature-level duplicate suppression.
submit
Submission client and mode orchestration. Transaction submission client and mode orchestration.

Structs§

PubkeyBytes
Stable SOF-owned 32-byte validator identity / account key wrapper.
SignatureBytes
Stable SOF-owned 64-byte transaction signature wrapper.