pub struct SendEvmTransactionWithEndUserAccountBody {
pub address: SendEvmTransactionWithEndUserAccountBodyAddress,
pub network: SendEvmTransactionWithEndUserAccountBodyNetwork,
pub transaction: String,
pub wallet_secret_id: Option<SendEvmTransactionWithEndUserAccountBodyWalletSecretId>,
}Expand description
SendEvmTransactionWithEndUserAccountBody
JSON schema
{
"type": "object",
"required": [
"address",
"network",
"transaction"
],
"properties": {
"address": {
"description": "The 0x-prefixed address of the EVM account belonging to the end user.",
"examples": [
"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
],
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"network": {
"description": "The network to send the transaction to.",
"examples": [
"base-sepolia"
],
"type": "string",
"enum": [
"base",
"base-sepolia",
"ethereum",
"ethereum-sepolia",
"avalanche",
"polygon",
"optimism",
"arbitrum",
"arbitrum-sepolia",
"world",
"world-sepolia"
]
},
"transaction": {
"description": "The RLP-encoded transaction to sign and send, as a 0x-prefixed hex string.",
"examples": [
"0xf86b098505d21dba00830334509431415daf58e2c6b7323b4c58712fd92952145da79018080"
],
"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: SendEvmTransactionWithEndUserAccountBodyAddressThe 0x-prefixed address of the EVM account belonging to the end user.
network: SendEvmTransactionWithEndUserAccountBodyNetworkThe network to send the transaction to.
transaction: StringThe RLP-encoded transaction to sign and send, as a 0x-prefixed hex string.
wallet_secret_id: Option<SendEvmTransactionWithEndUserAccountBodyWalletSecretId>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 SendEvmTransactionWithEndUserAccountBody
impl Clone for SendEvmTransactionWithEndUserAccountBody
Source§fn clone(&self) -> SendEvmTransactionWithEndUserAccountBody
fn clone(&self) -> SendEvmTransactionWithEndUserAccountBody
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 SendEvmTransactionWithEndUserAccountBody
impl<'de> Deserialize<'de> for SendEvmTransactionWithEndUserAccountBody
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<&SendEvmTransactionWithEndUserAccountBody> for SendEvmTransactionWithEndUserAccountBody
impl From<&SendEvmTransactionWithEndUserAccountBody> for SendEvmTransactionWithEndUserAccountBody
Source§fn from(value: &SendEvmTransactionWithEndUserAccountBody) -> Self
fn from(value: &SendEvmTransactionWithEndUserAccountBody) -> Self
Converts to this type from the input type.
Source§impl From<SendEvmTransactionWithEndUserAccountBody> for SendEvmTransactionWithEndUserAccountBody
impl From<SendEvmTransactionWithEndUserAccountBody> for SendEvmTransactionWithEndUserAccountBody
Source§fn from(value: SendEvmTransactionWithEndUserAccountBody) -> Self
fn from(value: SendEvmTransactionWithEndUserAccountBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SendEvmTransactionWithEndUserAccountBody> for SendEvmTransactionWithEndUserAccountBody
impl TryFrom<SendEvmTransactionWithEndUserAccountBody> for SendEvmTransactionWithEndUserAccountBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: SendEvmTransactionWithEndUserAccountBody,
) -> Result<Self, ConversionError>
fn try_from( value: SendEvmTransactionWithEndUserAccountBody, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SendEvmTransactionWithEndUserAccountBody
impl RefUnwindSafe for SendEvmTransactionWithEndUserAccountBody
impl Send for SendEvmTransactionWithEndUserAccountBody
impl Sync for SendEvmTransactionWithEndUserAccountBody
impl Unpin for SendEvmTransactionWithEndUserAccountBody
impl UnsafeUnpin for SendEvmTransactionWithEndUserAccountBody
impl UnwindSafe for SendEvmTransactionWithEndUserAccountBody
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