pub struct EthereumSignTransactionRpcInput {
pub address: Option<String>,
pub chain_type: Option<EthereumSignTransactionRpcInputChainType>,
pub method: EthereumSignTransactionRpcInputMethod,
pub params: EthereumSignTransactionRpcInputParams,
pub wallet_id: Option<String>,
}Expand description
Executes the EVM eth_signTransaction RPC to sign a transaction.
JSON schema
{
"title": "EthereumSignTransactionRpcInput",
"description": "Executes the EVM `eth_signTransaction` RPC to sign a
transaction.",
"type": "object",
"required": [
"method",
"params"
],
"properties": {
"address": {
"type": "string"
},
"chain_type": {
"type": "string",
"enum": [
"ethereum"
]
},
"method": {
"type": "string",
"enum": [
"eth_signTransaction"
]
},
"params": {
"$ref":
"#/components/schemas/EthereumSignTransactionRpcInputParams"
},
"wallet_id": {
"type": "string"
}
},
"x-stainless-model": "wallets.ethereum_sign_transaction_rpc_input"
}Fields§
§address: Option<String>§chain_type: Option<EthereumSignTransactionRpcInputChainType>§method: EthereumSignTransactionRpcInputMethod§params: EthereumSignTransactionRpcInputParams§wallet_id: Option<String>Trait Implementations§
Source§impl Clone for EthereumSignTransactionRpcInput
impl Clone for EthereumSignTransactionRpcInput
Source§fn clone(&self) -> EthereumSignTransactionRpcInput
fn clone(&self) -> EthereumSignTransactionRpcInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EthereumSignTransactionRpcInput
impl<'de> Deserialize<'de> for EthereumSignTransactionRpcInput
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<&EthereumSignTransactionRpcInput> for EthereumSignTransactionRpcInput
impl From<&EthereumSignTransactionRpcInput> for EthereumSignTransactionRpcInput
Source§fn from(value: &EthereumSignTransactionRpcInput) -> Self
fn from(value: &EthereumSignTransactionRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignTransactionRpcInput> for EthereumRpcInput
impl From<EthereumSignTransactionRpcInput> for EthereumRpcInput
Source§fn from(value: EthereumSignTransactionRpcInput) -> Self
fn from(value: EthereumSignTransactionRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignTransactionRpcInput> for WalletRpcRequestBody
impl From<EthereumSignTransactionRpcInput> for WalletRpcRequestBody
Source§fn from(value: EthereumSignTransactionRpcInput) -> Self
fn from(value: EthereumSignTransactionRpcInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumSignTransactionRpcInput
impl RefUnwindSafe for EthereumSignTransactionRpcInput
impl Send for EthereumSignTransactionRpcInput
impl Sync for EthereumSignTransactionRpcInput
impl Unpin for EthereumSignTransactionRpcInput
impl UnsafeUnpin for EthereumSignTransactionRpcInput
impl UnwindSafe for EthereumSignTransactionRpcInput
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