pub struct SendSolanaTransactionWithEndUserAccountBody {
pub address: SendSolanaTransactionWithEndUserAccountBodyAddress,
pub network: SendSolanaTransactionWithEndUserAccountBodyNetwork,
pub transaction: String,
pub use_cdp_sponsor: Option<bool>,
pub wallet_secret_id: Option<SendSolanaTransactionWithEndUserAccountBodyWalletSecretId>,
}Expand description
SendSolanaTransactionWithEndUserAccountBody
JSON schema
{
"type": "object",
"required": [
"address",
"network",
"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 to send the transaction to.",
"examples": [
"solana-devnet"
],
"type": "string",
"enum": [
"solana",
"solana-devnet"
]
},
"transaction": {
"description": "The base64 encoded transaction to sign and send. This transaction can contain multiple instructions for native Solana batching.",
"examples": [
"AQABAgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAQECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8CBgMBAQAAAAIBAwQAAAAABgIAAAAAAAYDBQEBAAAGBAgAAAAABgUAAAAA6AMAAAAAAAAGBgUBAQEBBgcEAQAAAAYICgMBAQIDBgkCBgAAAAYKAwABAQEGCwMGAQEBBgwDAAABAQAAAAA="
],
"type": "string"
},
"useCdpSponsor": {
"description": "Whether transaction fees should be sponsored by CDP. When true, CDP sponsors the transaction fees on behalf of the end user. When false, the end user is responsible for paying the transaction fees.",
"examples": [
true
],
"type": "boolean"
},
"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: SendSolanaTransactionWithEndUserAccountBodyAddressThe base58 encoded address of the Solana account belonging to the end user.
network: SendSolanaTransactionWithEndUserAccountBodyNetworkThe Solana network to send the transaction to.
transaction: StringThe base64 encoded transaction to sign and send. This transaction can contain multiple instructions for native Solana batching.
use_cdp_sponsor: Option<bool>Whether transaction fees should be sponsored by CDP. When true, CDP sponsors the transaction fees on behalf of the end user. When false, the end user is responsible for paying the transaction fees.
wallet_secret_id: Option<SendSolanaTransactionWithEndUserAccountBodyWalletSecretId>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 Clone for SendSolanaTransactionWithEndUserAccountBody
impl Clone for SendSolanaTransactionWithEndUserAccountBody
Source§fn clone(&self) -> SendSolanaTransactionWithEndUserAccountBody
fn clone(&self) -> SendSolanaTransactionWithEndUserAccountBody
Returns a duplicate of the value. Read more
1.0.0 · 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 SendSolanaTransactionWithEndUserAccountBody
impl<'de> Deserialize<'de> for SendSolanaTransactionWithEndUserAccountBody
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<&SendSolanaTransactionWithEndUserAccountBody> for SendSolanaTransactionWithEndUserAccountBody
impl From<&SendSolanaTransactionWithEndUserAccountBody> for SendSolanaTransactionWithEndUserAccountBody
Source§fn from(value: &SendSolanaTransactionWithEndUserAccountBody) -> Self
fn from(value: &SendSolanaTransactionWithEndUserAccountBody) -> Self
Converts to this type from the input type.
Source§impl From<SendSolanaTransactionWithEndUserAccountBody> for SendSolanaTransactionWithEndUserAccountBody
impl From<SendSolanaTransactionWithEndUserAccountBody> for SendSolanaTransactionWithEndUserAccountBody
Source§fn from(value: SendSolanaTransactionWithEndUserAccountBody) -> Self
fn from(value: SendSolanaTransactionWithEndUserAccountBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SendSolanaTransactionWithEndUserAccountBody> for SendSolanaTransactionWithEndUserAccountBody
impl TryFrom<SendSolanaTransactionWithEndUserAccountBody> for SendSolanaTransactionWithEndUserAccountBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: SendSolanaTransactionWithEndUserAccountBody,
) -> Result<Self, ConversionError>
fn try_from( value: SendSolanaTransactionWithEndUserAccountBody, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SendSolanaTransactionWithEndUserAccountBody
impl RefUnwindSafe for SendSolanaTransactionWithEndUserAccountBody
impl Send for SendSolanaTransactionWithEndUserAccountBody
impl Sync for SendSolanaTransactionWithEndUserAccountBody
impl Unpin for SendSolanaTransactionWithEndUserAccountBody
impl UnsafeUnpin for SendSolanaTransactionWithEndUserAccountBody
impl UnwindSafe for SendSolanaTransactionWithEndUserAccountBody
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