pub struct PlatformVaultSetupPrepareResponse {Show 18 fields
pub schema_version: u16,
pub contract_version: String,
pub server_time_ms: u64,
pub wallet_address: String,
pub session_public_key: String,
pub market_id: Option<String>,
pub mode: PlatformVaultSetupMode,
pub expires_at_ms: Option<u64>,
pub permanent: bool,
pub minimum_interval_seconds: u32,
pub maximum_tolerance_bps: u16,
pub spending_limits: Vec<PlatformVaultSpendingLimit>,
pub transaction_base64: String,
pub recent_blockhash: String,
pub owner_signature_required: bool,
pub preparation_id: String,
pub sponsored: bool,
pub submit_by_ms: u64,
}Expand description
Owner-bound onboarding or session-replacement transaction. Product inputs are echoed exactly so an external verifier can reject changed intent.
Fields§
§schema_version: u16§contract_version: String§server_time_ms: u64§wallet_address: String§session_public_key: String§market_id: Option<String>The market named in the request, if any.
mode: PlatformVaultSetupMode§expires_at_ms: Option<u64>§permanent: bool§minimum_interval_seconds: u32The applied policy, defaults resolved.
maximum_tolerance_bps: u16§spending_limits: Vec<PlatformVaultSpendingLimit>§transaction_base64: String§recent_blockhash: String§owner_signature_required: bool§preparation_id: StringOpaque handle for this prepared transaction. Hand it back with the
owner-signed transaction to vault.relay and Strata submits it — no
RPC or SOL needed on the owner side.
sponsored: booltrue when Strata is the transaction fee payer and covers any rent the
action creates, so the owner needs no SOL at all. false means the
owner wallet is the fee payer (Strata still submits it on request).
submit_by_ms: u64The prepared transaction must be submitted before this server time.
Trait Implementations§
Source§impl Clone for PlatformVaultSetupPrepareResponse
impl Clone for PlatformVaultSetupPrepareResponse
Source§fn clone(&self) -> PlatformVaultSetupPrepareResponse
fn clone(&self) -> PlatformVaultSetupPrepareResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for PlatformVaultSetupPrepareResponse
impl<'de> Deserialize<'de> for PlatformVaultSetupPrepareResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformVaultSetupPrepareResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformVaultSetupPrepareResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformVaultSetupPrepareResponse
Source§impl Serialize for PlatformVaultSetupPrepareResponse
impl Serialize for PlatformVaultSetupPrepareResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PlatformVaultSetupPrepareResponse
Auto Trait Implementations§
impl Freeze for PlatformVaultSetupPrepareResponse
impl RefUnwindSafe for PlatformVaultSetupPrepareResponse
impl Send for PlatformVaultSetupPrepareResponse
impl Sync for PlatformVaultSetupPrepareResponse
impl Unpin for PlatformVaultSetupPrepareResponse
impl UnsafeUnpin for PlatformVaultSetupPrepareResponse
impl UnwindSafe for PlatformVaultSetupPrepareResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more