@@ -21,7 +21,7 @@ public interface AccountAPI {
21
21
* @throws EtherScanException parent exception class
22
22
*/
23
23
@ NotNull
24
- Balance balance (String address ) throws EtherScanException ;
24
+ Balance balance (@ NotNull String address ) throws EtherScanException ;
25
25
26
26
/**
27
27
* ERC20 token balance for address
@@ -32,7 +32,7 @@ public interface AccountAPI {
32
32
* @throws EtherScanException parent exception class
33
33
*/
34
34
@ NotNull
35
- TokenBalance balance (String address , String contract ) throws EtherScanException ;
35
+ TokenBalance balance (@ NotNull String address , @ NotNull String contract ) throws EtherScanException ;
36
36
37
37
/**
38
38
* Maximum 20 address for single batch request If address MORE THAN 20, then there will be more than
@@ -43,7 +43,7 @@ public interface AccountAPI {
43
43
* @throws EtherScanException parent exception class
44
44
*/
45
45
@ NotNull
46
- List <Balance > balances (List <String > addresses ) throws EtherScanException ;
46
+ List <Balance > balances (@ NotNull List <String > addresses ) throws EtherScanException ;
47
47
48
48
/**
49
49
* All txs for given address
@@ -55,13 +55,13 @@ public interface AccountAPI {
55
55
* @throws EtherScanException parent exception class
56
56
*/
57
57
@ NotNull
58
- List <Tx > txs (String address , long startBlock , long endBlock ) throws EtherScanException ;
58
+ List <Tx > txs (@ NotNull String address , long startBlock , long endBlock ) throws EtherScanException ;
59
59
60
60
@ NotNull
61
- List <Tx > txs (String address , long startBlock ) throws EtherScanException ;
61
+ List <Tx > txs (@ NotNull String address , long startBlock ) throws EtherScanException ;
62
62
63
63
@ NotNull
64
- List <Tx > txs (String address ) throws EtherScanException ;
64
+ List <Tx > txs (@ NotNull String address ) throws EtherScanException ;
65
65
66
66
/**
67
67
* All internal txs for given address
@@ -73,13 +73,13 @@ public interface AccountAPI {
73
73
* @throws EtherScanException parent exception class
74
74
*/
75
75
@ NotNull
76
- List <TxInternal > txsInternal (String address , long startBlock , long endBlock ) throws EtherScanException ;
76
+ List <TxInternal > txsInternal (@ NotNull String address , long startBlock , long endBlock ) throws EtherScanException ;
77
77
78
78
@ NotNull
79
- List <TxInternal > txsInternal (String address , long startBlock ) throws EtherScanException ;
79
+ List <TxInternal > txsInternal (@ NotNull String address , long startBlock ) throws EtherScanException ;
80
80
81
81
@ NotNull
82
- List <TxInternal > txsInternal (String address ) throws EtherScanException ;
82
+ List <TxInternal > txsInternal (@ NotNull String address ) throws EtherScanException ;
83
83
84
84
/**
85
85
* All internal tx for given transaction hash
@@ -89,7 +89,7 @@ public interface AccountAPI {
89
89
* @throws EtherScanException parent exception class
90
90
*/
91
91
@ NotNull
92
- List <TxInternal > txsInternalByHash (String txhash ) throws EtherScanException ;
92
+ List <TxInternal > txsInternalByHash (@ NotNull String txhash ) throws EtherScanException ;
93
93
94
94
/**
95
95
* All ERC-20 token txs for given address
@@ -101,13 +101,13 @@ public interface AccountAPI {
101
101
* @throws EtherScanException parent exception class
102
102
*/
103
103
@ NotNull
104
- List <TxErc20 > txsErc20 (String address , long startBlock , long endBlock ) throws EtherScanException ;
104
+ List <TxErc20 > txsErc20 (@ NotNull String address , long startBlock , long endBlock ) throws EtherScanException ;
105
105
106
106
@ NotNull
107
- List <TxErc20 > txsErc20 (String address , long startBlock ) throws EtherScanException ;
107
+ List <TxErc20 > txsErc20 (@ NotNull String address , long startBlock ) throws EtherScanException ;
108
108
109
109
@ NotNull
110
- List <TxErc20 > txsErc20 (String address ) throws EtherScanException ;
110
+ List <TxErc20 > txsErc20 (@ NotNull String address ) throws EtherScanException ;
111
111
112
112
/**
113
113
* All ERC-20 token txs for given address and contract address
@@ -120,13 +120,14 @@ public interface AccountAPI {
120
120
* @throws EtherScanException parent exception class
121
121
*/
122
122
@ NotNull
123
- List <TxErc20 > txsErc20 (String address , String contractAddress , long startBlock , long endBlock ) throws EtherScanException ;
123
+ List <TxErc20 > txsErc20 (@ NotNull String address , @ NotNull String contractAddress , long startBlock , long endBlock )
124
+ throws EtherScanException ;
124
125
125
126
@ NotNull
126
- List <TxErc20 > txsErc20 (String address , String contractAddress , long startBlock ) throws EtherScanException ;
127
+ List <TxErc20 > txsErc20 (@ NotNull String address , @ NotNull String contractAddress , long startBlock ) throws EtherScanException ;
127
128
128
129
@ NotNull
129
- List <TxErc20 > txsErc20 (String address , String contractAddress ) throws EtherScanException ;
130
+ List <TxErc20 > txsErc20 (@ NotNull String address , @ NotNull String contractAddress ) throws EtherScanException ;
130
131
131
132
/**
132
133
* All ERC-721 (NFT) token txs for given address
@@ -138,13 +139,13 @@ public interface AccountAPI {
138
139
* @throws EtherScanException parent exception class
139
140
*/
140
141
@ NotNull
141
- List <TxErc721 > txsErc721 (String address , long startBlock , long endBlock ) throws EtherScanException ;
142
+ List <TxErc721 > txsErc721 (@ NotNull String address , long startBlock , long endBlock ) throws EtherScanException ;
142
143
143
144
@ NotNull
144
- List <TxErc721 > txsErc721 (String address , long startBlock ) throws EtherScanException ;
145
+ List <TxErc721 > txsErc721 (@ NotNull String address , long startBlock ) throws EtherScanException ;
145
146
146
147
@ NotNull
147
- List <TxErc721 > txsErc721 (String address ) throws EtherScanException ;
148
+ List <TxErc721 > txsErc721 (@ NotNull String address ) throws EtherScanException ;
148
149
149
150
/**
150
151
* All ERC-721 (NFT) token txs for given address
@@ -156,13 +157,14 @@ public interface AccountAPI {
156
157
* @throws EtherScanException parent exception class
157
158
*/
158
159
@ NotNull
159
- List <TxErc721 > txsErc721 (String address , String contractAddress , long startBlock , long endBlock ) throws EtherScanException ;
160
+ List <TxErc721 > txsErc721 (@ NotNull String address , @ NotNull String contractAddress , long startBlock , long endBlock )
161
+ throws EtherScanException ;
160
162
161
163
@ NotNull
162
- List <TxErc721 > txsErc721 (String address , String contractAddress , long startBlock ) throws EtherScanException ;
164
+ List <TxErc721 > txsErc721 (@ NotNull String address , @ NotNull String contractAddress , long startBlock ) throws EtherScanException ;
163
165
164
166
@ NotNull
165
- List <TxErc721 > txsErc721 (String address , String contractAddress ) throws EtherScanException ;
167
+ List <TxErc721 > txsErc721 (@ NotNull String address , @ NotNull String contractAddress ) throws EtherScanException ;
166
168
167
169
/**
168
170
* All ERC-721 (NFT) token txs for given address
@@ -174,13 +176,13 @@ public interface AccountAPI {
174
176
* @throws EtherScanException parent exception class
175
177
*/
176
178
@ NotNull
177
- List <TxErc1155 > txsErc1155 (String address , long startBlock , long endBlock ) throws EtherScanException ;
179
+ List <TxErc1155 > txsErc1155 (@ NotNull String address , long startBlock , long endBlock ) throws EtherScanException ;
178
180
179
181
@ NotNull
180
- List <TxErc1155 > txsErc1155 (String address , long startBlock ) throws EtherScanException ;
182
+ List <TxErc1155 > txsErc1155 (@ NotNull String address , long startBlock ) throws EtherScanException ;
181
183
182
184
@ NotNull
183
- List <TxErc1155 > txsErc1155 (String address ) throws EtherScanException ;
185
+ List <TxErc1155 > txsErc1155 (@ NotNull String address ) throws EtherScanException ;
184
186
185
187
/**
186
188
* All ERC-721 (NFT) token txs for given address
@@ -192,13 +194,15 @@ public interface AccountAPI {
192
194
* @throws EtherScanException parent exception class
193
195
*/
194
196
@ NotNull
195
- List <TxErc1155 > txsErc1155 (String address , String contractAddress , long startBlock , long endBlock ) throws EtherScanException ;
197
+ List <TxErc1155 > txsErc1155 (@ NotNull String address , @ NotNull String contractAddress , long startBlock , long endBlock )
198
+ throws EtherScanException ;
196
199
197
200
@ NotNull
198
- List <TxErc1155 > txsErc1155 (String address , String contractAddress , long startBlock ) throws EtherScanException ;
201
+ List <TxErc1155 > txsErc1155 (@ NotNull String address , @ NotNull String contractAddress , long startBlock )
202
+ throws EtherScanException ;
199
203
200
204
@ NotNull
201
- List <TxErc1155 > txsErc1155 (String address , String contractAddress ) throws EtherScanException ;
205
+ List <TxErc1155 > txsErc1155 (@ NotNull String address , @ NotNull String contractAddress ) throws EtherScanException ;
202
206
203
207
/**
204
208
* All blocks mined by address
@@ -208,5 +212,5 @@ public interface AccountAPI {
208
212
* @throws EtherScanException parent exception class
209
213
*/
210
214
@ NotNull
211
- List <Block > blocksMined (String address ) throws EtherScanException ;
215
+ List <Block > blocksMined (@ NotNull String address ) throws EtherScanException ;
212
216
}
0 commit comments