pub struct EthereumSendCallsRpcInput {
pub address: Option<String>,
pub caip2: Caip2,
pub chain_type: Option<EthereumSendCallsRpcInputChainType>,
pub experimental_data_suffix: Option<Hex>,
pub method: EthereumSendCallsRpcInputMethod,
pub params: EthereumSendCallsRpcInputParams,
pub sponsor: Option<bool>,
pub wallet_id: Option<String>,
}Expand description
Executes the wallet_sendCalls RPC (EIP-5792) to batch multiple calls
into a single atomic transaction.
JSON schema
{
"title": "EthereumSendCallsRpcInput",
"description": "Executes the `wallet_sendCalls` RPC (EIP-5792) to batch
multiple calls into a single atomic transaction.",
"type": "object",
"required": [
"caip2",
"method",
"params"
],
"properties": {
"address": {
"type": "string"
},
"caip2": {
"$ref": "#/components/schemas/CAIP2"
},
"chain_type": {
"type": "string",
"enum": [
"ethereum"
]
},
"experimental_data_suffix": {
"$ref": "#/components/schemas/Hex"
},
"method": {
"type": "string",
"enum": [
"wallet_sendCalls"
]
},
"params": {
"$ref": "#/components/schemas/EthereumSendCallsRpcInputParams"
},
"sponsor": {
"type": "boolean"
},
"wallet_id": {
"type": "string"
}
},
"x-stainless-model": "wallets.ethereum_send_calls_rpc_input"
}Fields§
§address: Option<String>§caip2: Caip2§chain_type: Option<EthereumSendCallsRpcInputChainType>§experimental_data_suffix: Option<Hex>§method: EthereumSendCallsRpcInputMethod§params: EthereumSendCallsRpcInputParams§sponsor: Option<bool>§wallet_id: Option<String>Trait Implementations§
Source§impl Clone for EthereumSendCallsRpcInput
impl Clone for EthereumSendCallsRpcInput
Source§fn clone(&self) -> EthereumSendCallsRpcInput
fn clone(&self) -> EthereumSendCallsRpcInput
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 EthereumSendCallsRpcInput
impl Debug for EthereumSendCallsRpcInput
Source§impl<'de> Deserialize<'de> for EthereumSendCallsRpcInput
impl<'de> Deserialize<'de> for EthereumSendCallsRpcInput
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<&EthereumSendCallsRpcInput> for EthereumSendCallsRpcInput
impl From<&EthereumSendCallsRpcInput> for EthereumSendCallsRpcInput
Source§fn from(value: &EthereumSendCallsRpcInput) -> Self
fn from(value: &EthereumSendCallsRpcInput) -> 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<EthereumSendCallsRpcInput> for WalletRpcRequestBody
impl From<EthereumSendCallsRpcInput> for WalletRpcRequestBody
Source§fn from(value: EthereumSendCallsRpcInput) -> Self
fn from(value: EthereumSendCallsRpcInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumSendCallsRpcInput
impl RefUnwindSafe for EthereumSendCallsRpcInput
impl Send for EthereumSendCallsRpcInput
impl Sync for EthereumSendCallsRpcInput
impl Unpin for EthereumSendCallsRpcInput
impl UnsafeUnpin for EthereumSendCallsRpcInput
impl UnwindSafe for EthereumSendCallsRpcInput
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