pub enum EthereumRpcInput {
SignTransactionRpcInput(EthereumSignTransactionRpcInput),
SendTransactionRpcInput(EthereumSendTransactionRpcInput),
PersonalSignRpcInput(EthereumPersonalSignRpcInput),
SignTypedDataRpcInput(EthereumSignTypedDataRpcInput),
Secp256k1SignRpcInput(EthereumSecp256k1SignRpcInput),
Sign7702AuthorizationRpcInput(EthereumSign7702AuthorizationRpcInput),
SignUserOperationRpcInput(EthereumSignUserOperationRpcInput),
SendCallsRpcInput(EthereumSendCallsRpcInput),
}Expand description
Request body for Ethereum wallet RPC operations, discriminated by method.
JSON schema
{
"title": "EthereumRpcInput",
"description": "Request body for Ethereum wallet RPC operations,
discriminated by method.",
"oneOf": [
{
"$ref": "#/components/schemas/EthereumSignTransactionRpcInput"
},
{
"$ref": "#/components/schemas/EthereumSendTransactionRpcInput"
},
{
"$ref": "#/components/schemas/EthereumPersonalSignRpcInput"
},
{
"$ref": "#/components/schemas/EthereumSignTypedDataRpcInput"
},
{
"$ref": "#/components/schemas/EthereumSecp256k1SignRpcInput"
},
{
"$ref":
"#/components/schemas/EthereumSign7702AuthorizationRpcInput"
},
{
"$ref": "#/components/schemas/EthereumSignUserOperationRpcInput"
},
{
"$ref": "#/components/schemas/EthereumSendCallsRpcInput"
}
],
"x-stainless-model": "wallets.ethereum_rpc_input"
}Variants§
SignTransactionRpcInput(EthereumSignTransactionRpcInput)
SendTransactionRpcInput(EthereumSendTransactionRpcInput)
PersonalSignRpcInput(EthereumPersonalSignRpcInput)
SignTypedDataRpcInput(EthereumSignTypedDataRpcInput)
Secp256k1SignRpcInput(EthereumSecp256k1SignRpcInput)
Sign7702AuthorizationRpcInput(EthereumSign7702AuthorizationRpcInput)
SignUserOperationRpcInput(EthereumSignUserOperationRpcInput)
SendCallsRpcInput(EthereumSendCallsRpcInput)
Trait Implementations§
Source§impl Clone for EthereumRpcInput
impl Clone for EthereumRpcInput
Source§fn clone(&self) -> EthereumRpcInput
fn clone(&self) -> EthereumRpcInput
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 Debug for EthereumRpcInput
impl Debug for EthereumRpcInput
Source§impl<'de> Deserialize<'de> for EthereumRpcInput
impl<'de> Deserialize<'de> for EthereumRpcInput
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<&EthereumRpcInput> for EthereumRpcInput
impl From<&EthereumRpcInput> for EthereumRpcInput
Source§fn from(value: &EthereumRpcInput) -> Self
fn from(value: &EthereumRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumPersonalSignRpcInput> for EthereumRpcInput
impl From<EthereumPersonalSignRpcInput> for EthereumRpcInput
Source§fn from(value: EthereumPersonalSignRpcInput) -> Self
fn from(value: EthereumPersonalSignRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSecp256k1SignRpcInput> for EthereumRpcInput
impl From<EthereumSecp256k1SignRpcInput> for EthereumRpcInput
Source§fn from(value: EthereumSecp256k1SignRpcInput) -> Self
fn from(value: EthereumSecp256k1SignRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSendCallsRpcInput> for EthereumRpcInput
impl From<EthereumSendCallsRpcInput> for EthereumRpcInput
Source§fn from(value: EthereumSendCallsRpcInput) -> Self
fn from(value: EthereumSendCallsRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSendTransactionRpcInput> for EthereumRpcInput
impl From<EthereumSendTransactionRpcInput> for EthereumRpcInput
Source§fn from(value: EthereumSendTransactionRpcInput) -> Self
fn from(value: EthereumSendTransactionRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSign7702AuthorizationRpcInput> for EthereumRpcInput
impl From<EthereumSign7702AuthorizationRpcInput> for EthereumRpcInput
Source§fn from(value: EthereumSign7702AuthorizationRpcInput) -> Self
fn from(value: EthereumSign7702AuthorizationRpcInput) -> 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<EthereumSignTypedDataRpcInput> for EthereumRpcInput
impl From<EthereumSignTypedDataRpcInput> for EthereumRpcInput
Source§fn from(value: EthereumSignTypedDataRpcInput) -> Self
fn from(value: EthereumSignTypedDataRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignUserOperationRpcInput> for EthereumRpcInput
impl From<EthereumSignUserOperationRpcInput> for EthereumRpcInput
Source§fn from(value: EthereumSignUserOperationRpcInput) -> Self
fn from(value: EthereumSignUserOperationRpcInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumRpcInput
impl RefUnwindSafe for EthereumRpcInput
impl Send for EthereumRpcInput
impl Sync for EthereumRpcInput
impl Unpin for EthereumRpcInput
impl UnsafeUnpin for EthereumRpcInput
impl UnwindSafe for EthereumRpcInput
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