pub struct SignEvmTransactionWithEndUserAccountBody {
pub address: SignEvmTransactionWithEndUserAccountBodyAddress,
pub transaction: String,
pub wallet_secret_id: Option<SignEvmTransactionWithEndUserAccountBodyWalletSecretId>,
}Expand description
SignEvmTransactionWithEndUserAccountBody
JSON schema
{
"type": "object",
"required": [
"address",
"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}$"
},
"transaction": {
"description": "The RLP-encoded transaction to sign, 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: SignEvmTransactionWithEndUserAccountBodyAddressThe 0x-prefixed address of the EVM account belonging to the end user.
transaction: StringThe RLP-encoded transaction to sign, as a 0x-prefixed hex string.
wallet_secret_id: Option<SignEvmTransactionWithEndUserAccountBodyWalletSecretId>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 SignEvmTransactionWithEndUserAccountBody
impl Clone for SignEvmTransactionWithEndUserAccountBody
Source§fn clone(&self) -> SignEvmTransactionWithEndUserAccountBody
fn clone(&self) -> SignEvmTransactionWithEndUserAccountBody
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 SignEvmTransactionWithEndUserAccountBody
impl<'de> Deserialize<'de> for SignEvmTransactionWithEndUserAccountBody
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<&SignEvmTransactionWithEndUserAccountBody> for SignEvmTransactionWithEndUserAccountBody
impl From<&SignEvmTransactionWithEndUserAccountBody> for SignEvmTransactionWithEndUserAccountBody
Source§fn from(value: &SignEvmTransactionWithEndUserAccountBody) -> Self
fn from(value: &SignEvmTransactionWithEndUserAccountBody) -> Self
Converts to this type from the input type.
Source§impl From<SignEvmTransactionWithEndUserAccountBody> for SignEvmTransactionWithEndUserAccountBody
impl From<SignEvmTransactionWithEndUserAccountBody> for SignEvmTransactionWithEndUserAccountBody
Source§fn from(value: SignEvmTransactionWithEndUserAccountBody) -> Self
fn from(value: SignEvmTransactionWithEndUserAccountBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SignEvmTransactionWithEndUserAccountBody> for SignEvmTransactionWithEndUserAccountBody
impl TryFrom<SignEvmTransactionWithEndUserAccountBody> for SignEvmTransactionWithEndUserAccountBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: SignEvmTransactionWithEndUserAccountBody,
) -> Result<Self, ConversionError>
fn try_from( value: SignEvmTransactionWithEndUserAccountBody, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignEvmTransactionWithEndUserAccountBody
impl RefUnwindSafe for SignEvmTransactionWithEndUserAccountBody
impl Send for SignEvmTransactionWithEndUserAccountBody
impl Sync for SignEvmTransactionWithEndUserAccountBody
impl Unpin for SignEvmTransactionWithEndUserAccountBody
impl UnsafeUnpin for SignEvmTransactionWithEndUserAccountBody
impl UnwindSafe for SignEvmTransactionWithEndUserAccountBody
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