@@ -63,22 +63,22 @@ public struct Response: Decodable {
63
63
64
64
public struct TransactionHistoryRecord : Decodable {
65
65
66
- let id : String
67
- let hash : Data
68
- let block : BigUInt
69
- let addressFrom : EthereumAddress
70
- let addressTo : EthereumAddress
71
- let isoTime : String
72
- let type : TransactionType
73
- let status : TransactionStatus
74
- let error : String
75
- let isContract : Bool
76
- let isInner : Bool
77
- let value : BigUInt // in wei
78
- let token : Token
79
- let txFee : BigUInt // in wei
80
- let gasUsed : BigUInt // in wei
81
- let gasCost : BigUInt // in wei
66
+ public let id : String
67
+ public let hash : Data
68
+ public let block : BigUInt
69
+ public let addressFrom : EthereumAddress
70
+ public let addressTo : EthereumAddress
71
+ public let isoTime : String
72
+ public let type : TransactionType
73
+ public let status : TransactionStatus
74
+ public let error : String
75
+ public let isContract : Bool
76
+ public let isInner : Bool
77
+ public let value : BigUInt // in wei
78
+ public let token : Token
79
+ public let txFee : BigUInt // in wei
80
+ public let gasUsed : BigUInt // in wei
81
+ public let gasCost : BigUInt // in wei
82
82
83
83
public init ( from decoder: Decoder ) throws {
84
84
let container = try decoder. container ( keyedBy: CodingKeys . self)
@@ -173,10 +173,10 @@ public struct TransactionHistoryRecord: Decodable {
173
173
}
174
174
175
175
public struct Token : Decodable {
176
- let address : EthereumAddress ?
177
- let name : String
178
- let symbol : String
179
- let decimal : Int
176
+ public let address : EthereumAddress ?
177
+ public let name : String
178
+ public let symbol : String
179
+ public let decimal : Int
180
180
181
181
enum CodingKeys : String , CodingKey {
182
182
case address = " addr "
0 commit comments