pub enum RpcIntentResponseActionResultResponseBody {
EthereumPersonalSignRpcResponse(EthereumPersonalSignRpcResponse),
EthereumSignTypedDataRpcResponse(EthereumSignTypedDataRpcResponse),
EthereumSignTransactionRpcResponse(EthereumSignTransactionRpcResponse),
EthereumSendTransactionRpcResponse(EthereumSendTransactionRpcResponse),
EthereumSignUserOperationRpcResponse(EthereumSignUserOperationRpcResponse),
EthereumSign7702AuthorizationRpcResponse(EthereumSign7702AuthorizationRpcResponse),
EthereumSecp256k1SignRpcResponse(EthereumSecp256k1SignRpcResponse),
SolanaSignMessageRpcResponse(SolanaSignMessageRpcResponse),
SolanaSignTransactionRpcResponse(SolanaSignTransactionRpcResponse),
SolanaSignAndSendTransactionRpcResponse(SolanaSignAndSendTransactionRpcResponse),
}Expand description
RpcIntentResponseActionResultResponseBody
JSON schema
{
"examples": [
{
"data": {
"caip2": "eip155:8453",
"hash":
"0x0775aeed9c9ce6e0fbc4db25c5e4e6368029651c905c286f813126a09025a21e",
"transaction_request": {
"chain_id": "1",
"from": "0x38Bc05d7b69F63D05337829fA5Dc4896F179B5fA",
"gas_limit": "0x5208",
"max_fee_per_gas": "0xfc328",
"max_priority_fee_per_gas": "0xf4240",
"nonce": 1,
"to": "0xF1DBff66C993EE895C8cb176c30b07A559d76496",
"type": 2,
"value": "0x1"
}
},
"method": "eth_sendTransaction"
}
],
"oneOf": [
{
"$ref": "#/components/schemas/EthereumPersonalSignRpcResponse"
},
{
"$ref": "#/components/schemas/EthereumSignTypedDataRpcResponse"
},
{
"$ref": "#/components/schemas/EthereumSignTransactionRpcResponse"
},
{
"$ref": "#/components/schemas/EthereumSendTransactionRpcResponse"
},
{
"$ref": "#/components/schemas/EthereumSignUserOperationRpcResponse"
},
{
"$ref":
"#/components/schemas/EthereumSign7702AuthorizationRpcResponse"
},
{
"$ref": "#/components/schemas/EthereumSecp256k1SignRpcResponse"
},
{
"$ref": "#/components/schemas/SolanaSignMessageRpcResponse"
},
{
"$ref": "#/components/schemas/SolanaSignTransactionRpcResponse"
},
{
"$ref":
"#/components/schemas/SolanaSignAndSendTransactionRpcResponse"
}
]
}Variants§
EthereumPersonalSignRpcResponse(EthereumPersonalSignRpcResponse)
EthereumSignTypedDataRpcResponse(EthereumSignTypedDataRpcResponse)
EthereumSignTransactionRpcResponse(EthereumSignTransactionRpcResponse)
EthereumSendTransactionRpcResponse(EthereumSendTransactionRpcResponse)
EthereumSignUserOperationRpcResponse(EthereumSignUserOperationRpcResponse)
EthereumSign7702AuthorizationRpcResponse(EthereumSign7702AuthorizationRpcResponse)
EthereumSecp256k1SignRpcResponse(EthereumSecp256k1SignRpcResponse)
SolanaSignMessageRpcResponse(SolanaSignMessageRpcResponse)
SolanaSignTransactionRpcResponse(SolanaSignTransactionRpcResponse)
SolanaSignAndSendTransactionRpcResponse(SolanaSignAndSendTransactionRpcResponse)
Trait Implementations§
Source§impl Clone for RpcIntentResponseActionResultResponseBody
impl Clone for RpcIntentResponseActionResultResponseBody
Source§fn clone(&self) -> RpcIntentResponseActionResultResponseBody
fn clone(&self) -> RpcIntentResponseActionResultResponseBody
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 RpcIntentResponseActionResultResponseBody
impl<'de> Deserialize<'de> for RpcIntentResponseActionResultResponseBody
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<&RpcIntentResponseActionResultResponseBody> for RpcIntentResponseActionResultResponseBody
impl From<&RpcIntentResponseActionResultResponseBody> for RpcIntentResponseActionResultResponseBody
Source§fn from(value: &RpcIntentResponseActionResultResponseBody) -> Self
fn from(value: &RpcIntentResponseActionResultResponseBody) -> Self
Converts to this type from the input type.
Source§impl From<EthereumPersonalSignRpcResponse> for RpcIntentResponseActionResultResponseBody
impl From<EthereumPersonalSignRpcResponse> for RpcIntentResponseActionResultResponseBody
Source§fn from(value: EthereumPersonalSignRpcResponse) -> Self
fn from(value: EthereumPersonalSignRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSecp256k1SignRpcResponse> for RpcIntentResponseActionResultResponseBody
impl From<EthereumSecp256k1SignRpcResponse> for RpcIntentResponseActionResultResponseBody
Source§fn from(value: EthereumSecp256k1SignRpcResponse) -> Self
fn from(value: EthereumSecp256k1SignRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSendTransactionRpcResponse> for RpcIntentResponseActionResultResponseBody
impl From<EthereumSendTransactionRpcResponse> for RpcIntentResponseActionResultResponseBody
Source§fn from(value: EthereumSendTransactionRpcResponse) -> Self
fn from(value: EthereumSendTransactionRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSign7702AuthorizationRpcResponse> for RpcIntentResponseActionResultResponseBody
impl From<EthereumSign7702AuthorizationRpcResponse> for RpcIntentResponseActionResultResponseBody
Source§fn from(value: EthereumSign7702AuthorizationRpcResponse) -> Self
fn from(value: EthereumSign7702AuthorizationRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignTransactionRpcResponse> for RpcIntentResponseActionResultResponseBody
impl From<EthereumSignTransactionRpcResponse> for RpcIntentResponseActionResultResponseBody
Source§fn from(value: EthereumSignTransactionRpcResponse) -> Self
fn from(value: EthereumSignTransactionRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignTypedDataRpcResponse> for RpcIntentResponseActionResultResponseBody
impl From<EthereumSignTypedDataRpcResponse> for RpcIntentResponseActionResultResponseBody
Source§fn from(value: EthereumSignTypedDataRpcResponse) -> Self
fn from(value: EthereumSignTypedDataRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignUserOperationRpcResponse> for RpcIntentResponseActionResultResponseBody
impl From<EthereumSignUserOperationRpcResponse> for RpcIntentResponseActionResultResponseBody
Source§fn from(value: EthereumSignUserOperationRpcResponse) -> Self
fn from(value: EthereumSignUserOperationRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignAndSendTransactionRpcResponse> for RpcIntentResponseActionResultResponseBody
impl From<SolanaSignAndSendTransactionRpcResponse> for RpcIntentResponseActionResultResponseBody
Source§fn from(value: SolanaSignAndSendTransactionRpcResponse) -> Self
fn from(value: SolanaSignAndSendTransactionRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignMessageRpcResponse> for RpcIntentResponseActionResultResponseBody
impl From<SolanaSignMessageRpcResponse> for RpcIntentResponseActionResultResponseBody
Source§fn from(value: SolanaSignMessageRpcResponse) -> Self
fn from(value: SolanaSignMessageRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignTransactionRpcResponse> for RpcIntentResponseActionResultResponseBody
impl From<SolanaSignTransactionRpcResponse> for RpcIntentResponseActionResultResponseBody
Source§fn from(value: SolanaSignTransactionRpcResponse) -> Self
fn from(value: SolanaSignTransactionRpcResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RpcIntentResponseActionResultResponseBody
impl RefUnwindSafe for RpcIntentResponseActionResultResponseBody
impl Send for RpcIntentResponseActionResultResponseBody
impl Sync for RpcIntentResponseActionResultResponseBody
impl Unpin for RpcIntentResponseActionResultResponseBody
impl UnsafeUnpin for RpcIntentResponseActionResultResponseBody
impl UnwindSafe for RpcIntentResponseActionResultResponseBody
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