Class Transaction
Represents a transaction ready to be executed.
public class Transaction
- Inheritance
-
Transaction
- Inherited Members
- Extension Methods
Properties
Action
The action type for the transaction (e.g., "approval", "transfer", "buy", "sell").
[JsonProperty("action")]
public string Action { get; set; }
Property Value
ChainId
The chain ID where the transaction will take place.
[JsonProperty("chainId")]
public BigInteger ChainId { get; set; }
Property Value
Data
The transaction data.
[JsonProperty("data")]
public string Data { get; set; }
Property Value
From
The address from which the transaction is sent, or null if not applicable.
[JsonProperty("from", NullValueHandling = NullValueHandling.Ignore)]
public string From { get; set; }
Property Value
Gas
The gas limit for the transaction.
[JsonProperty("gas", NullValueHandling = NullValueHandling.Ignore)]
public string Gas { get; set; }
Property Value
Id
The transaction ID, each step in a quoted payment will have a unique transaction ID.
[JsonProperty("id")]
public string Id { get; set; }
Property Value
MaxFeePerGas
The maximum fee per gas (EIP-1559).
[JsonProperty("maxFeePerGas", NullValueHandling = NullValueHandling.Ignore)]
public string MaxFeePerGas { get; set; }
Property Value
MaxPriorityFeePerGas
The maximum priority fee per gas (EIP-1559).
[JsonProperty("maxPriorityFeePerGas", NullValueHandling = NullValueHandling.Ignore)]
public string MaxPriorityFeePerGas { get; set; }
Property Value
To
The address to which the transaction is sent.
[JsonProperty("to")]
public string To { get; set; }
Property Value
Type
The type of the transaction (e.g., "eip1559").
[JsonProperty("type")]
public string Type { get; set; }
Property Value
Value
The value (amount) to be sent in the transaction.
[JsonProperty("value", NullValueHandling = NullValueHandling.Ignore)]
public string Value { get; set; }