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 builder::BuilderError;
pub use builder::DEFAULT_DEVELOPER_TIP_LAMPORTS;
pub use builder::MAX_TRANSACTION_ACCOUNT_LOCKS;
pub use builder::MAX_TRANSACTION_WIRE_BYTES;
pub use builder::TxBuilder;
pub use builder::TxMessageVersion;
pub use builder::UnsignedTx;
pub use providers::LeaderProvider;
pub use providers::LeaderTarget;
pub use providers::RecentBlockhashProvider;
pub use routing::RoutingPolicy;
pub use routing::SignatureDeduper;
pub use signing::SignerRef;
pub use submit::DirectSubmitConfig;
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::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;

Modules§

builder
Transaction/message builder helpers. High-level transaction builder APIs.
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.
signing
Signing boundary types. Signing boundary adapters used by the builder/submission APIs.
submit
Submission client and mode orchestration. Transaction submission client and mode orchestration.