pub struct UnsignedStandardEthereumTransaction {
pub authorization_list: Vec<EthereumSign7702Authorization>,
pub chain_id: Option<Quantity>,
pub data: Option<Hex>,
pub from: Option<String>,
pub gas_limit: Option<Quantity>,
pub gas_price: Option<Quantity>,
pub max_fee_per_gas: Option<Quantity>,
pub max_priority_fee_per_gas: Option<Quantity>,
pub nonce: Option<Quantity>,
pub to: Option<String>,
pub type_: Option<UnsignedStandardEthereumTransactionType>,
pub value: Option<Quantity>,
}Expand description
An unsigned standard Ethereum transaction object. Supports EVM transaction types 0, 1, 2, and 4.
JSON schema
{
"title": "UnsignedStandardEthereumTransaction",
"description": "An unsigned standard Ethereum transaction object.
Supports EVM transaction types 0, 1, 2, and 4.",
"type": "object",
"properties": {
"authorization_list": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EthereumSign7702Authorization"
},
"maxItems": 10
},
"chain_id": {
"$ref": "#/components/schemas/Quantity"
},
"data": {
"$ref": "#/components/schemas/Hex"
},
"from": {
"type": "string"
},
"gas_limit": {
"$ref": "#/components/schemas/Quantity"
},
"gas_price": {
"$ref": "#/components/schemas/Quantity"
},
"max_fee_per_gas": {
"$ref": "#/components/schemas/Quantity"
},
"max_priority_fee_per_gas": {
"$ref": "#/components/schemas/Quantity"
},
"nonce": {
"$ref": "#/components/schemas/Quantity"
},
"to": {
"type": "string"
},
"type": {
"oneOf": [
{
"type": "number",
"enum": [
0.0
]
},
{
"type": "number",
"enum": [
1.0
]
},
{
"type": "number",
"enum": [
2.0
]
},
{
"type": "number",
"enum": [
4.0
]
}
]
},
"value": {
"$ref": "#/components/schemas/Quantity"
}
},
"x-stainless-model": "wallets.unsigned_standard_ethereum_transaction"
}Fields§
§chain_id: Option<Quantity>§data: Option<Hex>§from: Option<String>§gas_limit: Option<Quantity>§gas_price: Option<Quantity>§max_fee_per_gas: Option<Quantity>§max_priority_fee_per_gas: Option<Quantity>§nonce: Option<Quantity>§to: Option<String>§type_: Option<UnsignedStandardEthereumTransactionType>§value: Option<Quantity>Trait Implementations§
Source§impl Clone for UnsignedStandardEthereumTransaction
impl Clone for UnsignedStandardEthereumTransaction
Source§fn clone(&self) -> UnsignedStandardEthereumTransaction
fn clone(&self) -> UnsignedStandardEthereumTransaction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for UnsignedStandardEthereumTransaction
impl Default for UnsignedStandardEthereumTransaction
Source§fn default() -> UnsignedStandardEthereumTransaction
fn default() -> UnsignedStandardEthereumTransaction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnsignedStandardEthereumTransaction
impl<'de> Deserialize<'de> for UnsignedStandardEthereumTransaction
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UnsignedStandardEthereumTransaction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UnsignedStandardEthereumTransaction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&UnsignedStandardEthereumTransaction> for UnsignedStandardEthereumTransaction
impl From<&UnsignedStandardEthereumTransaction> for UnsignedStandardEthereumTransaction
Source§fn from(
value: &UnsignedStandardEthereumTransaction,
) -> UnsignedStandardEthereumTransaction
fn from( value: &UnsignedStandardEthereumTransaction, ) -> UnsignedStandardEthereumTransaction
Converts to this type from the input type.
Source§impl From<UnsignedStandardEthereumTransaction> for UnsignedEthereumTransaction
impl From<UnsignedStandardEthereumTransaction> for UnsignedEthereumTransaction
Source§fn from(
value: UnsignedStandardEthereumTransaction,
) -> UnsignedEthereumTransaction
fn from( value: UnsignedStandardEthereumTransaction, ) -> UnsignedEthereumTransaction
Converts to this type from the input type.
Source§impl Serialize for UnsignedStandardEthereumTransaction
impl Serialize for UnsignedStandardEthereumTransaction
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 UnsignedStandardEthereumTransaction
impl RefUnwindSafe for UnsignedStandardEthereumTransaction
impl Send for UnsignedStandardEthereumTransaction
impl Sync for UnsignedStandardEthereumTransaction
impl Unpin for UnsignedStandardEthereumTransaction
impl UnsafeUnpin for UnsignedStandardEthereumTransaction
impl UnwindSafe for UnsignedStandardEthereumTransaction
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