pub struct PlatformVaultDepositPrepareResponse {Show 16 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 amount_atoms: String,
pub network_cost_atoms: String,
pub session_public_key: Option<String>,
pub registers_session: bool,
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-funded deposit transaction. Asset construction and custody identities remain internal; the public intent is echoed for verification.
Fields§
§schema_version: u16§contract_version: String§server_time_ms: u64§wallet_address: String§market_id: String§asset_id: String§amount_atoms: String§network_cost_atoms: StringSOL Strata already spent on this owner’s sponsored actions, recovered in the deposit asset inside this same transaction (a second transfer from the owner’s account to Strata). “0” when nothing is owed. It is only ever charged when the owner had no SOL and Strata paid instead, and never exceeds 1% of the deposit.
session_public_key: Option<String>The session key named in the request, if any.
registers_session: booltrue when this transaction also registers session_public_key with
the default session policy (the deposit doubles as onboarding);
false when the key was already registered or none was named.
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 PlatformVaultDepositPrepareResponse
impl Clone for PlatformVaultDepositPrepareResponse
Source§fn clone(&self) -> PlatformVaultDepositPrepareResponse
fn clone(&self) -> PlatformVaultDepositPrepareResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more