pub struct EthereumSendTransactionRpcResponse {
pub data: EthereumSendTransactionRpcResponseData,
pub method: EthereumSendTransactionRpcResponseMethod,
}Expand description
EthereumSendTransactionRpcResponse
JSON schema
{
"type": "object",
"required": [
"data",
"method"
],
"properties": {
"data": {
"type": "object",
"required": [
"caip2",
"hash"
],
"properties": {
"caip2": {
"type": "string",
"pattern": "^[-a-z0-9]{3,8}:[-_a-zA-Z0-9]{1,32}$"
},
"hash": {
"type": "string"
},
"transaction_id": {
"type": "string"
},
"transaction_request": {
"type": "object",
"properties": {
"chain_id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"data": {
"type": "string"
},
"from": {
"type": "string"
},
"gas_limit": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"gas_price": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"max_fee_per_gas": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"max_priority_fee_per_gas": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"nonce": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"to": {
"type": "string"
},
"type": {
"oneOf": [
{
"type": "number",
"enum": [
0.0
]
},
{
"type": "number",
"enum": [
1.0
]
},
{
"type": "number",
"enum": [
2.0
]
}
]
},
"value": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
}
}
}
}
},
"method": {
"type": "string",
"enum": [
"eth_sendTransaction"
]
}
}
}Fields§
§data: EthereumSendTransactionRpcResponseData§method: EthereumSendTransactionRpcResponseMethodTrait Implementations§
Source§impl Clone for EthereumSendTransactionRpcResponse
impl Clone for EthereumSendTransactionRpcResponse
Source§fn clone(&self) -> EthereumSendTransactionRpcResponse
fn clone(&self) -> EthereumSendTransactionRpcResponse
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 EthereumSendTransactionRpcResponse
impl<'de> Deserialize<'de> for EthereumSendTransactionRpcResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumSendTransactionRpcResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumSendTransactionRpcResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&EthereumSendTransactionRpcResponse> for EthereumSendTransactionRpcResponse
impl From<&EthereumSendTransactionRpcResponse> for EthereumSendTransactionRpcResponse
Source§fn from(
value: &EthereumSendTransactionRpcResponse,
) -> EthereumSendTransactionRpcResponse
fn from( value: &EthereumSendTransactionRpcResponse, ) -> EthereumSendTransactionRpcResponse
Converts to this type from the input type.
Source§impl From<EthereumSendTransactionRpcResponse> for WalletRpcResponse
impl From<EthereumSendTransactionRpcResponse> for WalletRpcResponse
Source§fn from(value: EthereumSendTransactionRpcResponse) -> WalletRpcResponse
fn from(value: EthereumSendTransactionRpcResponse) -> WalletRpcResponse
Converts to this type from the input type.
Source§impl Serialize for EthereumSendTransactionRpcResponse
impl Serialize for EthereumSendTransactionRpcResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for EthereumSendTransactionRpcResponse
impl RefUnwindSafe for EthereumSendTransactionRpcResponse
impl Send for EthereumSendTransactionRpcResponse
impl Sync for EthereumSendTransactionRpcResponse
impl Unpin for EthereumSendTransactionRpcResponse
impl UnwindSafe for EthereumSendTransactionRpcResponse
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