pub struct EthereumSignUserOperationRpcInput {
pub address: Option<String>,
pub chain_type: Option<EthereumSignUserOperationRpcInputChainType>,
pub method: EthereumSignUserOperationRpcInputMethod,
pub params: EthereumSignUserOperationRpcInputParams,
}Expand description
Executes an RPC method to hash and sign a UserOperation.
JSON schema
{
"title": "EthereumSignUserOperationRpcInput",
"description": "Executes an RPC method to hash and sign a
UserOperation.",
"type": "object",
"required": [
"method",
"params"
],
"properties": {
"address": {
"type": "string"
},
"chain_type": {
"type": "string",
"enum": [
"ethereum"
]
},
"method": {
"type": "string",
"enum": [
"eth_signUserOperation"
]
},
"params": {
"type": "object",
"required": [
"chain_id",
"contract",
"user_operation"
],
"properties": {
"chain_id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"contract": {
"type": "string"
},
"user_operation": {
"type": "object",
"required": [
"call_data",
"call_gas_limit",
"max_fee_per_gas",
"max_priority_fee_per_gas",
"nonce",
"paymaster",
"paymaster_data",
"paymaster_post_op_gas_limit",
"paymaster_verification_gas_limit",
"pre_verification_gas",
"sender",
"verification_gas_limit"
],
"properties": {
"call_data": {
"type": "string"
},
"call_gas_limit": {
"type": "string"
},
"max_fee_per_gas": {
"type": "string"
},
"max_priority_fee_per_gas": {
"type": "string"
},
"nonce": {
"type": "string"
},
"paymaster": {
"type": "string"
},
"paymaster_data": {
"type": "string"
},
"paymaster_post_op_gas_limit": {
"type": "string"
},
"paymaster_verification_gas_limit": {
"type": "string"
},
"pre_verification_gas": {
"type": "string"
},
"sender": {
"type": "string"
},
"verification_gas_limit": {
"type": "string"
}
}
}
}
}
},
"x-stainless-model": "wallets.ethereum_sign_user_operation_rpc_input"
}Fields§
§address: Option<String>§chain_type: Option<EthereumSignUserOperationRpcInputChainType>§method: EthereumSignUserOperationRpcInputMethod§params: EthereumSignUserOperationRpcInputParamsTrait Implementations§
Source§impl Clone for EthereumSignUserOperationRpcInput
impl Clone for EthereumSignUserOperationRpcInput
Source§fn clone(&self) -> EthereumSignUserOperationRpcInput
fn clone(&self) -> EthereumSignUserOperationRpcInput
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 EthereumSignUserOperationRpcInput
impl<'de> Deserialize<'de> for EthereumSignUserOperationRpcInput
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<&EthereumSignUserOperationRpcInput> for EthereumSignUserOperationRpcInput
impl From<&EthereumSignUserOperationRpcInput> for EthereumSignUserOperationRpcInput
Source§fn from(value: &EthereumSignUserOperationRpcInput) -> Self
fn from(value: &EthereumSignUserOperationRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignUserOperationRpcInput> for AppWalletRpcBody
impl From<EthereumSignUserOperationRpcInput> for AppWalletRpcBody
Source§fn from(value: EthereumSignUserOperationRpcInput) -> Self
fn from(value: EthereumSignUserOperationRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignUserOperationRpcInput> for RpcIntentResponseRequestDetailsBody
impl From<EthereumSignUserOperationRpcInput> for RpcIntentResponseRequestDetailsBody
Source§fn from(value: EthereumSignUserOperationRpcInput) -> Self
fn from(value: EthereumSignUserOperationRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignUserOperationRpcInput> for WalletRpcBody
impl From<EthereumSignUserOperationRpcInput> for WalletRpcBody
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 EthereumSignUserOperationRpcInput
impl RefUnwindSafe for EthereumSignUserOperationRpcInput
impl Send for EthereumSignUserOperationRpcInput
impl Sync for EthereumSignUserOperationRpcInput
impl Unpin for EthereumSignUserOperationRpcInput
impl UnsafeUnpin for EthereumSignUserOperationRpcInput
impl UnwindSafe for EthereumSignUserOperationRpcInput
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