pub struct PlatformVaultDelegatePrepareResponse {
pub schema_version: u16,
pub contract_version: String,
pub server_time_ms: u64,
pub wallet_address: String,
pub session_public_key: String,
pub action: PlatformVaultDelegateAction,
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
Unsigned session-lifecycle control. The owner verifies both identities and the destructive action before signing and broadcasting it externally.
Fields§
§schema_version: u16§contract_version: String§server_time_ms: u64§wallet_address: String§session_public_key: String§action: PlatformVaultDelegateAction§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 PlatformVaultDelegatePrepareResponse
impl Clone for PlatformVaultDelegatePrepareResponse
Source§fn clone(&self) -> PlatformVaultDelegatePrepareResponse
fn clone(&self) -> PlatformVaultDelegatePrepareResponse
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 PlatformVaultDelegatePrepareResponse
impl<'de> Deserialize<'de> for PlatformVaultDelegatePrepareResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformVaultDelegatePrepareResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformVaultDelegatePrepareResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformVaultDelegatePrepareResponse
Source§impl Serialize for PlatformVaultDelegatePrepareResponse
impl Serialize for PlatformVaultDelegatePrepareResponse
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 PlatformVaultDelegatePrepareResponse
Auto Trait Implementations§
impl Freeze for PlatformVaultDelegatePrepareResponse
impl RefUnwindSafe for PlatformVaultDelegatePrepareResponse
impl Send for PlatformVaultDelegatePrepareResponse
impl Sync for PlatformVaultDelegatePrepareResponse
impl Unpin for PlatformVaultDelegatePrepareResponse
impl UnsafeUnpin for PlatformVaultDelegatePrepareResponse
impl UnwindSafe for PlatformVaultDelegatePrepareResponse
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