pub struct PlatformVaultWithdrawPrepareResponse {Show 14 fields
pub schema_version: u16,
pub contract_version: String,
pub server_time_ms: u64,
pub wallet_address: String,
pub market_id: String,
pub asset_id: String,
pub destination_wallet_address: String,
pub amount_atoms: String,
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
Exact owner-authorized withdrawal transaction. The destination is a wallet identity; account construction and private balance routing remain internal.
Fields§
§schema_version: u16§contract_version: String§server_time_ms: u64§wallet_address: String§market_id: String§asset_id: String§destination_wallet_address: String§amount_atoms: String§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 PlatformVaultWithdrawPrepareResponse
impl Clone for PlatformVaultWithdrawPrepareResponse
Source§fn clone(&self) -> PlatformVaultWithdrawPrepareResponse
fn clone(&self) -> PlatformVaultWithdrawPrepareResponse
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 PlatformVaultWithdrawPrepareResponse
impl<'de> Deserialize<'de> for PlatformVaultWithdrawPrepareResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformVaultWithdrawPrepareResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformVaultWithdrawPrepareResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformVaultWithdrawPrepareResponse
Source§impl Serialize for PlatformVaultWithdrawPrepareResponse
impl Serialize for PlatformVaultWithdrawPrepareResponse
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 PlatformVaultWithdrawPrepareResponse
Auto Trait Implementations§
impl Freeze for PlatformVaultWithdrawPrepareResponse
impl RefUnwindSafe for PlatformVaultWithdrawPrepareResponse
impl Send for PlatformVaultWithdrawPrepareResponse
impl Sync for PlatformVaultWithdrawPrepareResponse
impl Unpin for PlatformVaultWithdrawPrepareResponse
impl UnsafeUnpin for PlatformVaultWithdrawPrepareResponse
impl UnwindSafe for PlatformVaultWithdrawPrepareResponse
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