pub struct EthereumSendTransactionRpcResponseData {
pub caip2: EthereumSendTransactionRpcResponseDataCaip2,
pub hash: String,
pub transaction_id: Option<String>,
pub transaction_request: Option<EthereumSendTransactionRpcResponseDataTransactionRequest>,
}Expand description
EthereumSendTransactionRpcResponseData
JSON schema
{
"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
}
]
}
}
}
}
}Fields§
§caip2: EthereumSendTransactionRpcResponseDataCaip2§hash: String§transaction_id: Option<String>§transaction_request: Option<EthereumSendTransactionRpcResponseDataTransactionRequest>Trait Implementations§
Source§impl Clone for EthereumSendTransactionRpcResponseData
impl Clone for EthereumSendTransactionRpcResponseData
Source§fn clone(&self) -> EthereumSendTransactionRpcResponseData
fn clone(&self) -> EthereumSendTransactionRpcResponseData
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 EthereumSendTransactionRpcResponseData
impl<'de> Deserialize<'de> for EthereumSendTransactionRpcResponseData
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumSendTransactionRpcResponseData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumSendTransactionRpcResponseData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&EthereumSendTransactionRpcResponseData> for EthereumSendTransactionRpcResponseData
impl From<&EthereumSendTransactionRpcResponseData> for EthereumSendTransactionRpcResponseData
Source§fn from(
value: &EthereumSendTransactionRpcResponseData,
) -> EthereumSendTransactionRpcResponseData
fn from( value: &EthereumSendTransactionRpcResponseData, ) -> EthereumSendTransactionRpcResponseData
Converts to this type from the input type.
Source§impl Serialize for EthereumSendTransactionRpcResponseData
impl Serialize for EthereumSendTransactionRpcResponseData
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 EthereumSendTransactionRpcResponseData
impl RefUnwindSafe for EthereumSendTransactionRpcResponseData
impl Send for EthereumSendTransactionRpcResponseData
impl Sync for EthereumSendTransactionRpcResponseData
impl Unpin for EthereumSendTransactionRpcResponseData
impl UnwindSafe for EthereumSendTransactionRpcResponseData
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