@@ -62,32 +62,32 @@ public struct CodableTransaction {
62
62
// MARK: - Properties transaction type related either sends to a node if exist
63
63
64
64
/// the nonce for the transaction
65
- internal var nonce : BigUInt {
65
+ public var nonce : BigUInt {
66
66
get { return envelope. nonce }
67
67
set { envelope. nonce = newValue }
68
68
}
69
69
70
70
/// the max number of gas units allowed to process this transaction
71
- internal var gasLimit : BigUInt {
71
+ public var gasLimit : BigUInt {
72
72
get { return envelope. gasLimit }
73
73
set { return envelope. gasLimit = newValue }
74
74
}
75
75
76
76
/// the price per gas unit for the tranaction (Legacy and EIP-2930 only)
77
- internal var gasPrice : BigUInt ? {
77
+ public var gasPrice : BigUInt ? {
78
78
get { return envelope. gasPrice }
79
79
set { return envelope. gasPrice = newValue }
80
80
}
81
81
82
82
/// the max base fee per gas unit (EIP-1559 only)
83
83
/// this value must be >= baseFee + maxPriorityFeePerGas
84
- internal var maxFeePerGas : BigUInt ? {
84
+ public var maxFeePerGas : BigUInt ? {
85
85
get { return envelope. maxFeePerGas }
86
86
set { return envelope. maxFeePerGas = newValue }
87
87
}
88
88
89
89
/// the maximum tip to pay the miner (EIP-1559 only)
90
- internal var maxPriorityFeePerGas : BigUInt ? {
90
+ public var maxPriorityFeePerGas : BigUInt ? {
91
91
get { return envelope. maxPriorityFeePerGas }
92
92
set { return envelope. maxPriorityFeePerGas = newValue }
93
93
}
0 commit comments