Skip to main content

Crate strata_sdk

Crate strata_sdk 

Source
Expand description

Official Rust client for Strata markets and Sonar quotes.

It provides typed requests and responses and validates compatibility, quote binding, and economic fields before returning data to the application.

Structs§

ActionAuthorityModel
ActionEdge
ActionGraph
ActionNode
ActionOperation
CapabilityCatalog
CapabilityDescriptor
ExecutionChallengeRequest
Ask Strata for a one-time payload authorizing preparation of an existing Sonar quote. The session key signs locally; no private signing material is accepted by this contract.
ExecutionChallengeResponse
ExecutionPrepareRequest
ExecutionPrepareResponse
ExecutionSubmitRequest
ExecutionSubmitResponse
ExecutionVerificationContext
Market
MarketsResponse
OrderVerificationContext
PlatformOrderChallengeResponse
PlatformOrderPrepareRequest
PlatformOrderPrepareResponse
PlatformOrderStatusRequest
PlatformOrderStatusResponse
PlatformOrderSubmitRequest
PlatformOrderSubmitResponse
QuoteRequest
QuoteResponse
StrataClient

Enums§

ActionNodeKind
CapabilityRisk
CapabilityStability
ExecutionStatus
McpExposure
OrderExecuteOperation
PlatformOrderAction
Externally authorized resting-order operation. The public contract exposes product intent only; private construction details never cross the SDK boundary.
PlatformOrderBatchOperation
One operation inside an atomic order-control batch. Owner and session identity live on the enclosing challenge so no item can widen authority.
PlatformOrderChallengeRequest
Request canonical bytes for one externally signed order-control operation. Variant-specific fields are sealed so an authorization cannot be widened between challenge and transaction preparation.
PlatformOrderControlStatus
PlatformOrderSubmissionStatus
PlatformOrderType
PlatformTradeSide
QuoteSide
SdkError

Constants§

DEFAULT_API_BASE
DEFAULT_SLIPPAGE_BPS
Exact-output default for the current read-only quote surface.

Traits§

ExecutionVerifier
OrderVerifier
SessionSigner