Skip to main content

Crate txline

Crate txline 

Source
Expand description

Devnet-only Rust SDK for TxLINE.

This crate intentionally supports TxLINE Devnet only in this implementation phase. Mainnet constants, examples, feature flags, and transaction flows are out of scope until the Devnet path has been exercised end to end.

Re-exports§

pub use auth::ApiToken;
pub use auth::AuthHeaders;
pub use auth::GuestJwt;
pub use auth::GuestSession;
pub use auth::activation_preimage;
pub use client::TxlineClient;
pub use config::DEVNET_API_BASE;
pub use config::DEVNET_API_HOST;
pub use config::DEVNET_GUEST_AUTH_URL;
pub use config::Network;
pub use config::TxlineConfig;
pub use error::Result;
pub use error::TxlineError;
pub use solana::transaction_safety::ValidatedPurchaseQuote;

Modules§

auth
Guest JWTs, activated API tokens, and activation preimages.
client
Top-level TxLINE client.
config
Devnet configuration.
error
SDK error types.
http
REST clients for the published TxLINE Devnet API.
solana
Devnet Solana helpers.
stream
Server-Sent Events support for Devnet odds and scores streams.
validation
Score-validation DTOs and V2 strategy builders.