pub struct SignSolanaTransactionWithEndUserAccountBody {
pub address: SignSolanaTransactionWithEndUserAccountBodyAddress,
pub network: Option<SignSolanaTransactionWithEndUserAccountBodyNetwork>,
pub transaction: String,
pub wallet_secret_id: Option<SignSolanaTransactionWithEndUserAccountBodyWalletSecretId>,
}Expand description
SignSolanaTransactionWithEndUserAccountBody
JSON schema
{
"type": "object",
"required": [
"address",
"transaction"
],
"properties": {
"address": {
"description": "The base58 encoded address of the Solana account belonging to the end user.",
"examples": [
"HpabPRRCFbBKSuJr5PdkVvQc85FyxyTWkFM2obBRSvHT"
],
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
},
"network": {
"description": "The Solana network the transaction targets. Required when using versioned transactions that reference address lookup tables, since resolving those tables requires querying a specific network. Optional otherwise.",
"examples": [
"solana-devnet"
],
"type": "string",
"enum": [
"solana",
"solana-devnet"
]
},
"transaction": {
"description": "The base64 encoded transaction to sign.",
"examples": [
"AQABAgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAQECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8CBgMBAQAAAAIBAwQAAAAABgIAAAAAAAYDBQEBAAAGBAgAAAAABgUAAAAA6AMAAAAAAAAGBgUBAQEBBgcEAQAAAAYICgMBAQIDBgkCBgAAAAYKAwABAQEGCwMGAQEBBgwDAAABAQAAAAA="
],
"type": "string"
},
"walletSecretId": {
"description": "Required when not using delegated signing. The ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.",
"examples": [
"e051beeb-7163-4527-a5b6-35e301529ff2"
],
"type": "string",
"pattern": "^[a-zA-Z0-9-]{1,100}$"
}
}
}Fields§
§address: SignSolanaTransactionWithEndUserAccountBodyAddressThe base58 encoded address of the Solana account belonging to the end user.
network: Option<SignSolanaTransactionWithEndUserAccountBodyNetwork>The Solana network the transaction targets. Required when using versioned transactions that reference address lookup tables, since resolving those tables requires querying a specific network. Optional otherwise.
transaction: StringThe base64 encoded transaction to sign.
wallet_secret_id: Option<SignSolanaTransactionWithEndUserAccountBodyWalletSecretId>Required when not using delegated signing. The ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SignSolanaTransactionWithEndUserAccountBody
impl<'de> Deserialize<'de> for SignSolanaTransactionWithEndUserAccountBody
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SignSolanaTransactionWithEndUserAccountBody> for SignSolanaTransactionWithEndUserAccountBody
impl From<&SignSolanaTransactionWithEndUserAccountBody> for SignSolanaTransactionWithEndUserAccountBody
Source§fn from(value: &SignSolanaTransactionWithEndUserAccountBody) -> Self
fn from(value: &SignSolanaTransactionWithEndUserAccountBody) -> Self
Converts to this type from the input type.
Source§impl From<SignSolanaTransactionWithEndUserAccountBody> for SignSolanaTransactionWithEndUserAccountBody
impl From<SignSolanaTransactionWithEndUserAccountBody> for SignSolanaTransactionWithEndUserAccountBody
Source§fn from(value: SignSolanaTransactionWithEndUserAccountBody) -> Self
fn from(value: SignSolanaTransactionWithEndUserAccountBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SignSolanaTransactionWithEndUserAccountBody> for SignSolanaTransactionWithEndUserAccountBody
impl TryFrom<SignSolanaTransactionWithEndUserAccountBody> for SignSolanaTransactionWithEndUserAccountBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: SignSolanaTransactionWithEndUserAccountBody,
) -> Result<Self, ConversionError>
fn try_from( value: SignSolanaTransactionWithEndUserAccountBody, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignSolanaTransactionWithEndUserAccountBody
impl RefUnwindSafe for SignSolanaTransactionWithEndUserAccountBody
impl Send for SignSolanaTransactionWithEndUserAccountBody
impl Sync for SignSolanaTransactionWithEndUserAccountBody
impl Unpin for SignSolanaTransactionWithEndUserAccountBody
impl UnsafeUnpin for SignSolanaTransactionWithEndUserAccountBody
impl UnwindSafe for SignSolanaTransactionWithEndUserAccountBody
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