Class transactions
public class transactions
- Inheritance
-
transactions
- Inherited Members
Properties
AdditionalProperties
[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }
Property Value
BlockHash
The hash of the block containing this transaction.
[JsonProperty("blockHash", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string BlockHash { get; set; }
Property Value
BlockNumber
The block number containing this transaction.
[JsonProperty("blockNumber", Required = Required.Always)]
public double BlockNumber { get; set; }
Property Value
BlockTimestamp
The timestamp of the block (Unix timestamp).
[JsonProperty("blockTimestamp", Required = Required.Always)]
public double BlockTimestamp { get; set; }
Property Value
ChainId
The chain ID where the transaction occurred.
[JsonProperty("chainId", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string ChainId { get; set; }
Property Value
ContractAddress
Contract address created if this was a contract creation transaction.
[JsonProperty("contractAddress", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string ContractAddress { get; set; }
Property Value
CumulativeGasUsed
Total gas used by all transactions in this block up to and including this one.
[JsonProperty("cumulativeGasUsed", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public double CumulativeGasUsed { get; set; }
Property Value
Data
The transaction input data.
[JsonProperty("data", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string Data { get; set; }
Property Value
Decoded
Decoded transaction data (included when ABI is available).
[JsonProperty("decoded", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public Decoded Decoded { get; set; }
Property Value
EffectiveGasPrice
The effective gas price paid (in wei as string).
[JsonProperty("effectiveGasPrice", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string EffectiveGasPrice { get; set; }
Property Value
FromAddress
The address that initiated the transaction.
[JsonProperty("fromAddress", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string FromAddress { get; set; }
Property Value
FunctionSelector
The function selector (first 4 bytes of the transaction data).
[JsonProperty("functionSelector", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string FunctionSelector { get; set; }
Property Value
Gas
The gas limit for the transaction.
[JsonProperty("gas", Required = Required.Always)]
public double Gas { get; set; }
Property Value
GasPrice
The gas price used for the transaction (in wei as string).
[JsonProperty("gasPrice", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string GasPrice { get; set; }
Property Value
GasUsed
The amount of gas used by the transaction.
[JsonProperty("gasUsed", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public double GasUsed { get; set; }
Property Value
Hash
The transaction hash.
[JsonProperty("hash", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string Hash { get; set; }
Property Value
MaxFeePerGas
Maximum fee per gas (EIP-1559).
[JsonProperty("maxFeePerGas", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string MaxFeePerGas { get; set; }
Property Value
MaxPriorityFeePerGas
Maximum priority fee per gas (EIP-1559).
[JsonProperty("maxPriorityFeePerGas", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string MaxPriorityFeePerGas { get; set; }
Property Value
Nonce
The transaction nonce.
[JsonProperty("nonce", Required = Required.Always)]
public double Nonce { get; set; }
Property Value
Status
The transaction status (1 for success, 0 for failure).
[JsonProperty("status", Required = Required.Always)]
public double Status { get; set; }
Property Value
ToAddress
The address that received the transaction.
[JsonProperty("toAddress", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string ToAddress { get; set; }
Property Value
TransactionIndex
The index of the transaction within the block.
[JsonProperty("transactionIndex", Required = Required.Always)]
public double TransactionIndex { get; set; }
Property Value
TransactionType
The transaction type (0=legacy, 1=EIP-2930, 2=EIP-1559).
[JsonProperty("transactionType", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public double TransactionType { get; set; }
Property Value
Value
The value transferred in the transaction (in wei as string).
[JsonProperty("value", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string Value { get; set; }