pub struct EthereumSignTransactionRpcInputParams {
pub transaction: EthereumSignTransactionRpcInputParamsTransaction,
}Expand description
EthereumSignTransactionRpcInputParams
JSON schema
{
"type": "object",
"required": [
"transaction"
],
"properties": {
"transaction": {
"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§
§transaction: EthereumSignTransactionRpcInputParamsTransactionTrait Implementations§
Source§impl Clone for EthereumSignTransactionRpcInputParams
impl Clone for EthereumSignTransactionRpcInputParams
Source§fn clone(&self) -> EthereumSignTransactionRpcInputParams
fn clone(&self) -> EthereumSignTransactionRpcInputParams
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 EthereumSignTransactionRpcInputParams
impl<'de> Deserialize<'de> for EthereumSignTransactionRpcInputParams
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<&EthereumSignTransactionRpcInputParams> for EthereumSignTransactionRpcInputParams
impl From<&EthereumSignTransactionRpcInputParams> for EthereumSignTransactionRpcInputParams
Source§fn from(value: &EthereumSignTransactionRpcInputParams) -> Self
fn from(value: &EthereumSignTransactionRpcInputParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumSignTransactionRpcInputParams
impl RefUnwindSafe for EthereumSignTransactionRpcInputParams
impl Send for EthereumSignTransactionRpcInputParams
impl Sync for EthereumSignTransactionRpcInputParams
impl Unpin for EthereumSignTransactionRpcInputParams
impl UnwindSafe for EthereumSignTransactionRpcInputParams
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