pub struct SendEndUserEvmTransactionSimulationInput {
pub address: SendEndUserEvmTransactionSimulationInputAddress,
pub network: SendEndUserEvmTransactionSimulationInputNetwork,
pub operation: SendEndUserEvmTransactionSimulationInputOperation,
pub transaction: String,
pub user_id: SendEndUserEvmTransactionSimulationInputUserId,
}Expand description
SendEndUserEvmTransactionSimulationInput
JSON schema
{
"title": "SendEndUserEvmTransactionSimulationInput",
"examples": [
{
"address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"network": "base",
"operation": "sendEndUserEvmTransaction",
"transaction": "0x02f082210580843b9aca00847735940082520894123456789012345678901234567890123456789087038d7ea4c6800080c0",
"userId": "e051beeb-7163-4527-a5b6-35e301529ff2"
}
],
"type": "object",
"required": [
"address",
"network",
"operation",
"transaction",
"userId"
],
"properties": {
"address": {
"description": "The 0x-prefixed address of the EVM account belonging to the end user.",
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"network": {
"description": "The network to send the transaction to.",
"examples": [
"base-sepolia"
],
"type": "string",
"enum": [
"base",
"base-sepolia",
"ethereum",
"ethereum-sepolia",
"avalanche",
"polygon",
"optimism",
"arbitrum",
"arbitrum-sepolia",
"world",
"world-sepolia"
]
},
"operation": {
"description": "Rule operation to simulate.",
"type": "string",
"enum": [
"sendEndUserEvmTransaction"
],
"x-go-type": "string"
},
"transaction": {
"description": "The RLP-encoded transaction to evaluate, as a 0x-prefixed hex string.",
"type": "string"
},
"userId": {
"description": "The ID of the end user.",
"type": "string",
"pattern": "^[a-zA-Z0-9-]{1,100}$"
}
},
"additionalProperties": false
}Fields§
§address: SendEndUserEvmTransactionSimulationInputAddressThe 0x-prefixed address of the EVM account belonging to the end user.
network: SendEndUserEvmTransactionSimulationInputNetworkThe network to send the transaction to.
operation: SendEndUserEvmTransactionSimulationInputOperationRule operation to simulate.
transaction: StringThe RLP-encoded transaction to evaluate, as a 0x-prefixed hex string.
user_id: SendEndUserEvmTransactionSimulationInputUserIdThe ID of the end user.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SendEndUserEvmTransactionSimulationInput
impl<'de> Deserialize<'de> for SendEndUserEvmTransactionSimulationInput
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<&SendEndUserEvmTransactionSimulationInput> for SendEndUserEvmTransactionSimulationInput
impl From<&SendEndUserEvmTransactionSimulationInput> for SendEndUserEvmTransactionSimulationInput
Source§fn from(value: &SendEndUserEvmTransactionSimulationInput) -> Self
fn from(value: &SendEndUserEvmTransactionSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SendEndUserEvmTransactionSimulationInput> for SimulatePoliciesRequest
impl From<SendEndUserEvmTransactionSimulationInput> for SimulatePoliciesRequest
Source§fn from(value: SendEndUserEvmTransactionSimulationInput) -> Self
fn from(value: SendEndUserEvmTransactionSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SendEndUserEvmTransactionSimulationInput> for SendEndUserEvmTransactionSimulationInput
impl From<SendEndUserEvmTransactionSimulationInput> for SendEndUserEvmTransactionSimulationInput
Source§fn from(value: SendEndUserEvmTransactionSimulationInput) -> Self
fn from(value: SendEndUserEvmTransactionSimulationInput) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SendEndUserEvmTransactionSimulationInput> for SendEndUserEvmTransactionSimulationInput
impl TryFrom<SendEndUserEvmTransactionSimulationInput> for SendEndUserEvmTransactionSimulationInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: SendEndUserEvmTransactionSimulationInput,
) -> Result<Self, ConversionError>
fn try_from( value: SendEndUserEvmTransactionSimulationInput, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SendEndUserEvmTransactionSimulationInput
impl RefUnwindSafe for SendEndUserEvmTransactionSimulationInput
impl Send for SendEndUserEvmTransactionSimulationInput
impl Sync for SendEndUserEvmTransactionSimulationInput
impl Unpin for SendEndUserEvmTransactionSimulationInput
impl UnsafeUnpin for SendEndUserEvmTransactionSimulationInput
impl UnwindSafe for SendEndUserEvmTransactionSimulationInput
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