@ocap/client 1.18.7 → 1.18.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.d.ts CHANGED
@@ -1,3 +1,6 @@
1
+ import type { PartialDeep } from 'type-fest';
2
+ import { WalletObject } from '@ocap/wallet';
3
+
1
4
  export as namespace GraphQLClient;
2
5
 
3
6
  /*~ This declaration specifies that the class constructor function
@@ -35,225 +38,389 @@ declare class GraphQLClient {
35
38
  getTxMultiSignMethods(): Array<string>;
36
39
  getType(x: string): Object;
37
40
  decodeTx(input: string | buffer): object;
38
- declare(params: object, extra: any): Promise<string>;
39
- migrateAccount(params: object, extra: any): Promise<string>;
40
- delegate(params: object, extra: any): Promise<string>;
41
- revokeDelegate(params: object, extra: any): Promise<string>;
42
- createAsset(params: object, extra: any): Promise<string>;
43
- updateAsset(params: object, extra: any): Promise<string>;
44
- consumeAsset(params: object, extra: any): Promise<string>;
45
- createAssetFactory(params: object, extra: any): Promise<string>;
46
- acquireAsset(params: object, extra: any): Promise<string>;
47
- upgradeNode(params: object, extra: any): Promise<string>;
48
- transfer(params: object, extra: any): Promise<string>;
49
- prepareExchange(params: object, extra: any): Promise<string>;
50
- finalizeExchange(params: object, extra: any): Promise<string>;
51
- exchange(params: object, extra: any): Promise<string>;
41
+ declare(params: object, extra?: any): Promise<string>;
42
+ migrateAccount(params: object, extra?: any): Promise<string>;
43
+ delegate(params: object, extra?: any): Promise<string>;
44
+ revokeDelegate(params: object, extra?: any): Promise<string>;
45
+ createAsset(params: object, extra?: any): Promise<string>;
46
+ updateAsset(params: object, extra?: any): Promise<string>;
47
+ consumeAsset(params: object, extra?: any): Promise<string>;
48
+ createAssetFactory(params: object, extra?: any): Promise<string>;
49
+ acquireAsset(params: object, extra?: any): Promise<string>;
50
+ upgradeNode(params: object, extra?: any): Promise<string>;
51
+ transfer(params: object, extra?: any): Promise<string>;
52
+ prepareExchange(params: object, extra?: any): Promise<string>;
53
+ finalizeExchange(params: object, extra?: any): Promise<string>;
54
+ exchange(params: object, extra?: any): Promise<string>;
52
55
 
53
56
  generateQueryFns(): void;
54
57
  generateSubscriptionFns(): void;
55
58
  generateMutationFns(): void;
56
59
 
57
60
  sendAccountMigrateTx(
58
- param: GraphQLClient.TxParam<GraphQLClient.AccountMigrateTx>
61
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
62
+ extra?: any
59
63
  ): Promise<GraphQLClient.ResponseSendTx>;
60
64
  sendAcquireAssetV2Tx(
61
- param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV2Tx>
65
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
66
+ extra?: any
62
67
  ): Promise<GraphQLClient.ResponseSendTx>;
63
68
  sendAcquireAssetV3Tx(
64
- param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx>
69
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
70
+ extra?: any
65
71
  ): Promise<GraphQLClient.ResponseSendTx>;
66
72
  sendClaimBlockRewardTx(
67
- param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx>
73
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
74
+ extra?: any
75
+ ): Promise<GraphQLClient.ResponseSendTx>;
76
+ sendClaimStakeTx(
77
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
78
+ extra?: any
79
+ ): Promise<GraphQLClient.ResponseSendTx>;
80
+ sendCreateAssetTx(
81
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
82
+ extra?: any
68
83
  ): Promise<GraphQLClient.ResponseSendTx>;
69
- sendClaimStakeTx(param: GraphQLClient.TxParam<GraphQLClient.ClaimStakeTx>): Promise<GraphQLClient.ResponseSendTx>;
70
- sendCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.ResponseSendTx>;
71
84
  sendCreateFactoryTx(
72
- param: GraphQLClient.TxParam<GraphQLClient.CreateFactoryTx>
85
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
86
+ extra?: any
73
87
  ): Promise<GraphQLClient.ResponseSendTx>;
74
88
  sendCreateRollupBlockTx(
75
- param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx>
89
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>,
90
+ extra?: any
91
+ ): Promise<GraphQLClient.ResponseSendTx>;
92
+ sendCreateRollupTx(
93
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
94
+ extra?: any
95
+ ): Promise<GraphQLClient.ResponseSendTx>;
96
+ sendCreateTokenTx(
97
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
98
+ extra?: any
99
+ ): Promise<GraphQLClient.ResponseSendTx>;
100
+ sendDeclareTx(
101
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DeclareTx>>,
102
+ extra?: any
103
+ ): Promise<GraphQLClient.ResponseSendTx>;
104
+ sendDelegateTx(
105
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
106
+ extra?: any
76
107
  ): Promise<GraphQLClient.ResponseSendTx>;
77
- sendCreateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.CreateRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
78
- sendCreateTokenTx(param: GraphQLClient.TxParam<GraphQLClient.CreateTokenTx>): Promise<GraphQLClient.ResponseSendTx>;
79
- sendDeclareTx(param: GraphQLClient.TxParam<GraphQLClient.DeclareTx>): Promise<GraphQLClient.ResponseSendTx>;
80
- sendDelegateTx(param: GraphQLClient.TxParam<GraphQLClient.DelegateTx>): Promise<GraphQLClient.ResponseSendTx>;
81
108
  sendDepositTokenV2Tx(
82
- param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx>
109
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
110
+ extra?: any
111
+ ): Promise<GraphQLClient.ResponseSendTx>;
112
+ sendExchangeTx(
113
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>,
114
+ extra?: any
115
+ ): Promise<GraphQLClient.ResponseSendTx>;
116
+ sendExchangeV2Tx(
117
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
118
+ extra?: any
119
+ ): Promise<GraphQLClient.ResponseSendTx>;
120
+ sendJoinRollupTx(
121
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
122
+ extra?: any
123
+ ): Promise<GraphQLClient.ResponseSendTx>;
124
+ sendLeaveRollupTx(
125
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
126
+ extra?: any
83
127
  ): Promise<GraphQLClient.ResponseSendTx>;
84
- sendExchangeTx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeTx>): Promise<GraphQLClient.ResponseSendTx>;
85
- sendExchangeV2Tx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeV2Tx>): Promise<GraphQLClient.ResponseSendTx>;
86
- sendJoinRollupTx(param: GraphQLClient.TxParam<GraphQLClient.JoinRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
87
- sendLeaveRollupTx(param: GraphQLClient.TxParam<GraphQLClient.LeaveRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
88
128
  sendMigrateRollupContractTx(
89
- param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx>
129
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupContractTx>>,
130
+ extra?: any
90
131
  ): Promise<GraphQLClient.ResponseSendTx>;
91
132
  sendMigrateRollupTokenTx(
92
- param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx>
133
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTokenTx>>,
134
+ extra?: any
135
+ ): Promise<GraphQLClient.ResponseSendTx>;
136
+ sendMintAssetTx(
137
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
138
+ extra?: any
139
+ ): Promise<GraphQLClient.ResponseSendTx>;
140
+ sendPauseRollupTx(
141
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
142
+ extra?: any
143
+ ): Promise<GraphQLClient.ResponseSendTx>;
144
+ sendResumeRollupTx(
145
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
146
+ extra?: any
93
147
  ): Promise<GraphQLClient.ResponseSendTx>;
94
- sendMintAssetTx(param: GraphQLClient.TxParam<GraphQLClient.MintAssetTx>): Promise<GraphQLClient.ResponseSendTx>;
95
- sendPauseRollupTx(param: GraphQLClient.TxParam<GraphQLClient.PauseRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
96
- sendResumeRollupTx(param: GraphQLClient.TxParam<GraphQLClient.ResumeRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
97
148
  sendRevokeDelegateTx(
98
- param: GraphQLClient.TxParam<GraphQLClient.RevokeDelegateTx>
149
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
150
+ extra?: any
151
+ ): Promise<GraphQLClient.ResponseSendTx>;
152
+ sendRevokeStakeTx(
153
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
154
+ extra?: any
155
+ ): Promise<GraphQLClient.ResponseSendTx>;
156
+ sendStakeTx(
157
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
158
+ extra?: any
159
+ ): Promise<GraphQLClient.ResponseSendTx>;
160
+ sendTransferTx(
161
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
162
+ extra?: any
163
+ ): Promise<GraphQLClient.ResponseSendTx>;
164
+ sendTransferV2Tx(
165
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
166
+ extra?: any
167
+ ): Promise<GraphQLClient.ResponseSendTx>;
168
+ sendTransferV3Tx(
169
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
170
+ extra?: any
171
+ ): Promise<GraphQLClient.ResponseSendTx>;
172
+ sendUpdateAssetTx(
173
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
174
+ extra?: any
175
+ ): Promise<GraphQLClient.ResponseSendTx>;
176
+ sendUpdateRollupTx(
177
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
178
+ extra?: any
179
+ ): Promise<GraphQLClient.ResponseSendTx>;
180
+ sendUpgradeNodeTx(
181
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
182
+ extra?: any
99
183
  ): Promise<GraphQLClient.ResponseSendTx>;
100
- sendRevokeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.RevokeStakeTx>): Promise<GraphQLClient.ResponseSendTx>;
101
- sendStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.ResponseSendTx>;
102
- sendTransferTx(param: GraphQLClient.TxParam<GraphQLClient.TransferTx>): Promise<GraphQLClient.ResponseSendTx>;
103
- sendTransferV2Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV2Tx>): Promise<GraphQLClient.ResponseSendTx>;
104
- sendTransferV3Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV3Tx>): Promise<GraphQLClient.ResponseSendTx>;
105
- sendUpdateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateAssetTx>): Promise<GraphQLClient.ResponseSendTx>;
106
- sendUpdateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
107
- sendUpgradeNodeTx(param: GraphQLClient.TxParam<GraphQLClient.UpgradeNodeTx>): Promise<GraphQLClient.ResponseSendTx>;
108
184
  sendWithdrawTokenV2Tx(
109
- param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx>
185
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
186
+ extra?: any
110
187
  ): Promise<GraphQLClient.ResponseSendTx>;
111
188
  encodeAccountMigrateTx(
112
- param: GraphQLClient.TxParam<GraphQLClient.AccountMigrateTx>
189
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>
113
190
  ): Promise<GraphQLClient.EncodeTxResult>;
114
191
  encodeAcquireAssetV2Tx(
115
- param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV2Tx>
192
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>
116
193
  ): Promise<GraphQLClient.EncodeTxResult>;
117
194
  encodeAcquireAssetV3Tx(
118
- param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx>
195
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>
119
196
  ): Promise<GraphQLClient.EncodeTxResult>;
120
197
  encodeClaimBlockRewardTx(
121
- param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx>
198
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>
199
+ ): Promise<GraphQLClient.EncodeTxResult>;
200
+ encodeClaimStakeTx(
201
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>
202
+ ): Promise<GraphQLClient.EncodeTxResult>;
203
+ encodeCreateAssetTx(
204
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>
122
205
  ): Promise<GraphQLClient.EncodeTxResult>;
123
- encodeClaimStakeTx(param: GraphQLClient.TxParam<GraphQLClient.ClaimStakeTx>): Promise<GraphQLClient.EncodeTxResult>;
124
- encodeCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.EncodeTxResult>;
125
206
  encodeCreateFactoryTx(
126
- param: GraphQLClient.TxParam<GraphQLClient.CreateFactoryTx>
207
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>
127
208
  ): Promise<GraphQLClient.EncodeTxResult>;
128
209
  encodeCreateRollupBlockTx(
129
- param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx>
210
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>
130
211
  ): Promise<GraphQLClient.EncodeTxResult>;
131
212
  encodeCreateRollupTx(
132
- param: GraphQLClient.TxParam<GraphQLClient.CreateRollupTx>
213
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>
214
+ ): Promise<GraphQLClient.EncodeTxResult>;
215
+ encodeCreateTokenTx(
216
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>
217
+ ): Promise<GraphQLClient.EncodeTxResult>;
218
+ encodeDeclareTx(
219
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DeclareTx>>
220
+ ): Promise<GraphQLClient.EncodeTxResult>;
221
+ encodeDelegateTx(
222
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>
133
223
  ): Promise<GraphQLClient.EncodeTxResult>;
134
- encodeCreateTokenTx(param: GraphQLClient.TxParam<GraphQLClient.CreateTokenTx>): Promise<GraphQLClient.EncodeTxResult>;
135
- encodeDeclareTx(param: GraphQLClient.TxParam<GraphQLClient.DeclareTx>): Promise<GraphQLClient.EncodeTxResult>;
136
- encodeDelegateTx(param: GraphQLClient.TxParam<GraphQLClient.DelegateTx>): Promise<GraphQLClient.EncodeTxResult>;
137
224
  encodeDepositTokenV2Tx(
138
- param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx>
225
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>
226
+ ): Promise<GraphQLClient.EncodeTxResult>;
227
+ encodeExchangeTx(
228
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>
229
+ ): Promise<GraphQLClient.EncodeTxResult>;
230
+ encodeExchangeV2Tx(
231
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>
232
+ ): Promise<GraphQLClient.EncodeTxResult>;
233
+ encodeJoinRollupTx(
234
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>
235
+ ): Promise<GraphQLClient.EncodeTxResult>;
236
+ encodeLeaveRollupTx(
237
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>
139
238
  ): Promise<GraphQLClient.EncodeTxResult>;
140
- encodeExchangeTx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeTx>): Promise<GraphQLClient.EncodeTxResult>;
141
- encodeExchangeV2Tx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeV2Tx>): Promise<GraphQLClient.EncodeTxResult>;
142
- encodeJoinRollupTx(param: GraphQLClient.TxParam<GraphQLClient.JoinRollupTx>): Promise<GraphQLClient.EncodeTxResult>;
143
- encodeLeaveRollupTx(param: GraphQLClient.TxParam<GraphQLClient.LeaveRollupTx>): Promise<GraphQLClient.EncodeTxResult>;
144
239
  encodeMigrateRollupContractTx(
145
- param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx>
240
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupContractTx>>
146
241
  ): Promise<GraphQLClient.EncodeTxResult>;
147
242
  encodeMigrateRollupTokenTx(
148
- param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx>
243
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTokenTx>>
244
+ ): Promise<GraphQLClient.EncodeTxResult>;
245
+ encodeMintAssetTx(
246
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>
247
+ ): Promise<GraphQLClient.EncodeTxResult>;
248
+ encodePauseRollupTx(
249
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>
149
250
  ): Promise<GraphQLClient.EncodeTxResult>;
150
- encodeMintAssetTx(param: GraphQLClient.TxParam<GraphQLClient.MintAssetTx>): Promise<GraphQLClient.EncodeTxResult>;
151
- encodePauseRollupTx(param: GraphQLClient.TxParam<GraphQLClient.PauseRollupTx>): Promise<GraphQLClient.EncodeTxResult>;
152
251
  encodeResumeRollupTx(
153
- param: GraphQLClient.TxParam<GraphQLClient.ResumeRollupTx>
252
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>
154
253
  ): Promise<GraphQLClient.EncodeTxResult>;
155
254
  encodeRevokeDelegateTx(
156
- param: GraphQLClient.TxParam<GraphQLClient.RevokeDelegateTx>
255
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>
256
+ ): Promise<GraphQLClient.EncodeTxResult>;
257
+ encodeRevokeStakeTx(
258
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>
259
+ ): Promise<GraphQLClient.EncodeTxResult>;
260
+ encodeStakeTx(
261
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>
262
+ ): Promise<GraphQLClient.EncodeTxResult>;
263
+ encodeTransferTx(
264
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>
265
+ ): Promise<GraphQLClient.EncodeTxResult>;
266
+ encodeTransferV2Tx(
267
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>
268
+ ): Promise<GraphQLClient.EncodeTxResult>;
269
+ encodeTransferV3Tx(
270
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>
271
+ ): Promise<GraphQLClient.EncodeTxResult>;
272
+ encodeUpdateAssetTx(
273
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>
157
274
  ): Promise<GraphQLClient.EncodeTxResult>;
158
- encodeRevokeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.RevokeStakeTx>): Promise<GraphQLClient.EncodeTxResult>;
159
- encodeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.EncodeTxResult>;
160
- encodeTransferTx(param: GraphQLClient.TxParam<GraphQLClient.TransferTx>): Promise<GraphQLClient.EncodeTxResult>;
161
- encodeTransferV2Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV2Tx>): Promise<GraphQLClient.EncodeTxResult>;
162
- encodeTransferV3Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV3Tx>): Promise<GraphQLClient.EncodeTxResult>;
163
- encodeUpdateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateAssetTx>): Promise<GraphQLClient.EncodeTxResult>;
164
275
  encodeUpdateRollupTx(
165
- param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx>
276
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>
277
+ ): Promise<GraphQLClient.EncodeTxResult>;
278
+ encodeUpgradeNodeTx(
279
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>
166
280
  ): Promise<GraphQLClient.EncodeTxResult>;
167
- encodeUpgradeNodeTx(param: GraphQLClient.TxParam<GraphQLClient.UpgradeNodeTx>): Promise<GraphQLClient.EncodeTxResult>;
168
281
  encodeWithdrawTokenV2Tx(
169
- param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx>
282
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>
170
283
  ): Promise<GraphQLClient.EncodeTxResult>;
171
284
  signAccountMigrateTx(
172
- param: GraphQLClient.TxParam<GraphQLClient.AccountMigrateTx>
285
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>
173
286
  ): Promise<GraphQLClient.Transaction>;
174
287
  signAcquireAssetV2Tx(
175
- param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV2Tx>
288
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>
176
289
  ): Promise<GraphQLClient.Transaction>;
177
290
  signAcquireAssetV3Tx(
178
- param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx>
291
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>
179
292
  ): Promise<GraphQLClient.Transaction>;
180
293
  signClaimBlockRewardTx(
181
- param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx>
294
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>
295
+ ): Promise<GraphQLClient.Transaction>;
296
+ signClaimStakeTx(
297
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>
298
+ ): Promise<GraphQLClient.Transaction>;
299
+ signCreateAssetTx(
300
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>
301
+ ): Promise<GraphQLClient.Transaction>;
302
+ signCreateFactoryTx(
303
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>
182
304
  ): Promise<GraphQLClient.Transaction>;
183
- signClaimStakeTx(param: GraphQLClient.TxParam<GraphQLClient.ClaimStakeTx>): Promise<GraphQLClient.Transaction>;
184
- signCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.Transaction>;
185
- signCreateFactoryTx(param: GraphQLClient.TxParam<GraphQLClient.CreateFactoryTx>): Promise<GraphQLClient.Transaction>;
186
305
  signCreateRollupBlockTx(
187
- param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx>
306
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>
307
+ ): Promise<GraphQLClient.Transaction>;
308
+ signCreateRollupTx(
309
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>
310
+ ): Promise<GraphQLClient.Transaction>;
311
+ signCreateTokenTx(
312
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>
313
+ ): Promise<GraphQLClient.Transaction>;
314
+ signDeclareTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DeclareTx>>): Promise<GraphQLClient.Transaction>;
315
+ signDelegateTx(
316
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>
188
317
  ): Promise<GraphQLClient.Transaction>;
189
- signCreateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.CreateRollupTx>): Promise<GraphQLClient.Transaction>;
190
- signCreateTokenTx(param: GraphQLClient.TxParam<GraphQLClient.CreateTokenTx>): Promise<GraphQLClient.Transaction>;
191
- signDeclareTx(param: GraphQLClient.TxParam<GraphQLClient.DeclareTx>): Promise<GraphQLClient.Transaction>;
192
- signDelegateTx(param: GraphQLClient.TxParam<GraphQLClient.DelegateTx>): Promise<GraphQLClient.Transaction>;
193
318
  signDepositTokenV2Tx(
194
- param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx>
319
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>
320
+ ): Promise<GraphQLClient.Transaction>;
321
+ signExchangeTx(
322
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>
323
+ ): Promise<GraphQLClient.Transaction>;
324
+ signExchangeV2Tx(
325
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>
326
+ ): Promise<GraphQLClient.Transaction>;
327
+ signJoinRollupTx(
328
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>
329
+ ): Promise<GraphQLClient.Transaction>;
330
+ signLeaveRollupTx(
331
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>
195
332
  ): Promise<GraphQLClient.Transaction>;
196
- signExchangeTx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeTx>): Promise<GraphQLClient.Transaction>;
197
- signExchangeV2Tx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeV2Tx>): Promise<GraphQLClient.Transaction>;
198
- signJoinRollupTx(param: GraphQLClient.TxParam<GraphQLClient.JoinRollupTx>): Promise<GraphQLClient.Transaction>;
199
- signLeaveRollupTx(param: GraphQLClient.TxParam<GraphQLClient.LeaveRollupTx>): Promise<GraphQLClient.Transaction>;
200
333
  signMigrateRollupContractTx(
201
- param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx>
334
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupContractTx>>
202
335
  ): Promise<GraphQLClient.Transaction>;
203
336
  signMigrateRollupTokenTx(
204
- param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx>
337
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTokenTx>>
338
+ ): Promise<GraphQLClient.Transaction>;
339
+ signMintAssetTx(
340
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>
341
+ ): Promise<GraphQLClient.Transaction>;
342
+ signPauseRollupTx(
343
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>
344
+ ): Promise<GraphQLClient.Transaction>;
345
+ signResumeRollupTx(
346
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>
205
347
  ): Promise<GraphQLClient.Transaction>;
206
- signMintAssetTx(param: GraphQLClient.TxParam<GraphQLClient.MintAssetTx>): Promise<GraphQLClient.Transaction>;
207
- signPauseRollupTx(param: GraphQLClient.TxParam<GraphQLClient.PauseRollupTx>): Promise<GraphQLClient.Transaction>;
208
- signResumeRollupTx(param: GraphQLClient.TxParam<GraphQLClient.ResumeRollupTx>): Promise<GraphQLClient.Transaction>;
209
348
  signRevokeDelegateTx(
210
- param: GraphQLClient.TxParam<GraphQLClient.RevokeDelegateTx>
349
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>
350
+ ): Promise<GraphQLClient.Transaction>;
351
+ signRevokeStakeTx(
352
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>
353
+ ): Promise<GraphQLClient.Transaction>;
354
+ signStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>): Promise<GraphQLClient.Transaction>;
355
+ signTransferTx(
356
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>
357
+ ): Promise<GraphQLClient.Transaction>;
358
+ signTransferV2Tx(
359
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>
360
+ ): Promise<GraphQLClient.Transaction>;
361
+ signTransferV3Tx(
362
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>
363
+ ): Promise<GraphQLClient.Transaction>;
364
+ signUpdateAssetTx(
365
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>
366
+ ): Promise<GraphQLClient.Transaction>;
367
+ signUpdateRollupTx(
368
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>
369
+ ): Promise<GraphQLClient.Transaction>;
370
+ signUpgradeNodeTx(
371
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>
211
372
  ): Promise<GraphQLClient.Transaction>;
212
- signRevokeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.RevokeStakeTx>): Promise<GraphQLClient.Transaction>;
213
- signStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.Transaction>;
214
- signTransferTx(param: GraphQLClient.TxParam<GraphQLClient.TransferTx>): Promise<GraphQLClient.Transaction>;
215
- signTransferV2Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV2Tx>): Promise<GraphQLClient.Transaction>;
216
- signTransferV3Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV3Tx>): Promise<GraphQLClient.Transaction>;
217
- signUpdateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateAssetTx>): Promise<GraphQLClient.Transaction>;
218
- signUpdateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx>): Promise<GraphQLClient.Transaction>;
219
- signUpgradeNodeTx(param: GraphQLClient.TxParam<GraphQLClient.UpgradeNodeTx>): Promise<GraphQLClient.Transaction>;
220
373
  signWithdrawTokenV2Tx(
221
- param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx>
374
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>
375
+ ): Promise<GraphQLClient.Transaction>;
376
+ multiSignExchangeV2Tx(
377
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>
378
+ ): Promise<GraphQLClient.Transaction>;
379
+ multiSignTransferV3Tx(
380
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>
222
381
  ): Promise<GraphQLClient.Transaction>;
223
- multiSignExchangeV2Tx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeV2Tx>): Promise<GraphQLClient.Transaction>;
224
- multiSignTransferV3Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV3Tx>): Promise<GraphQLClient.Transaction>;
225
382
  multiSignAcquireAssetV3Tx(
226
- param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx>
383
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>
384
+ ): Promise<GraphQLClient.Transaction>;
385
+ multiSignStakeTx(
386
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>
227
387
  ): Promise<GraphQLClient.Transaction>;
228
- multiSignStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.Transaction>;
229
388
  multiSignUpdateRollupTx(
230
- param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx>
389
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>
390
+ ): Promise<GraphQLClient.Transaction>;
391
+ multiSignJoinRollupTx(
392
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>
393
+ ): Promise<GraphQLClient.Transaction>;
394
+ multiSignLeaveRollupTx(
395
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>
396
+ ): Promise<GraphQLClient.Transaction>;
397
+ multiSignPauseRollupTx(
398
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>
231
399
  ): Promise<GraphQLClient.Transaction>;
232
- multiSignJoinRollupTx(param: GraphQLClient.TxParam<GraphQLClient.JoinRollupTx>): Promise<GraphQLClient.Transaction>;
233
- multiSignLeaveRollupTx(param: GraphQLClient.TxParam<GraphQLClient.LeaveRollupTx>): Promise<GraphQLClient.Transaction>;
234
- multiSignPauseRollupTx(param: GraphQLClient.TxParam<GraphQLClient.PauseRollupTx>): Promise<GraphQLClient.Transaction>;
235
400
  multiSignResumeRollupTx(
236
- param: GraphQLClient.TxParam<GraphQLClient.ResumeRollupTx>
401
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>
237
402
  ): Promise<GraphQLClient.Transaction>;
238
403
  multiSignDepositTokenV2Tx(
239
- param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx>
404
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>
240
405
  ): Promise<GraphQLClient.Transaction>;
241
406
  multiSignWithdrawTokenV2Tx(
242
- param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx>
407
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>
243
408
  ): Promise<GraphQLClient.Transaction>;
244
409
  multiSignCreateRollupBlockTx(
245
- param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx>
410
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>
246
411
  ): Promise<GraphQLClient.Transaction>;
247
412
  multiSignClaimBlockRewardTx(
248
- param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx>
413
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>
249
414
  ): Promise<GraphQLClient.Transaction>;
250
415
  multiSignMigrateRollupContractTx(
251
- param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx>
416
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupContractTx>>
252
417
  ): Promise<GraphQLClient.Transaction>;
253
418
  multiSignMigrateRollupTokenTx(
254
- param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx>
419
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTokenTx>>
420
+ ): Promise<GraphQLClient.Transaction>;
421
+ multiSignCreateAssetTx(
422
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>
255
423
  ): Promise<GraphQLClient.Transaction>;
256
- multiSignCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.Transaction>;
257
424
  getAccountState(
258
425
  params: GraphQLClient.GetAccountStateParams
259
426
  ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetAccountState>;
@@ -343,31 +510,19 @@ declare namespace GraphQLClient {
343
510
  }
344
511
 
345
512
  export interface TxParam<T> {
346
- tx: ItxParam<T>;
347
- wallet: GraphQLClient.WalletObject;
348
- delegator: string;
349
- signature: string;
350
- }
351
-
352
- export interface ItxParam<T> {
353
- nonce: number;
354
- from: string;
355
- pk: string;
356
- chainId: string;
357
- delegator: string;
358
- signature: string;
359
- signatures: array;
360
- itx: T;
361
- }
362
-
363
- export interface WalletObject {
364
- publicKey: string;
365
- secretKey: string;
366
- type: GraphQLClient.WalletTypeObject;
367
- sign(message: string): string;
368
- verify(message: string, signature: string): boolean;
369
- toJSON(): object;
370
- toAddress(): string;
513
+ tx: {
514
+ nonce?: number;
515
+ from?: string;
516
+ pk?: string;
517
+ chainId?: string;
518
+ delegator?: string;
519
+ signature?: string;
520
+ signatures?: GraphQLClient.Multisig;
521
+ itx: T;
522
+ };
523
+ wallet: WalletObject;
524
+ delegator?: string;
525
+ signature?: string;
371
526
  }
372
527
 
373
528
  export interface WalletTypeObject {
@@ -644,10 +799,10 @@ declare namespace GraphQLClient {
644
799
  context: GraphQLClient.StateContext;
645
800
  issuer: string;
646
801
  gasBalance: string;
647
- migratedTo: Array<null>;
648
- migratedFrom: Array<null>;
802
+ migratedTo: Array<string>;
803
+ migratedFrom: Array<string>;
649
804
  numAssets: string;
650
- tokens: Array<null>;
805
+ tokens: Array<GraphQLClient.IndexedTokenInput>;
651
806
  data: GraphQLClient.Any;
652
807
  }
653
808
 
@@ -661,8 +816,8 @@ declare namespace GraphQLClient {
661
816
  export interface AcquireAssetV2Tx {
662
817
  factory: string;
663
818
  address: string;
664
- assets: Array<null>;
665
- variables: Array<null>;
819
+ assets: Array<string>;
820
+ variables: Array<GraphQLClient.VariableInput>;
666
821
  issuer: GraphQLClient.NFTIssuer;
667
822
  data: GraphQLClient.Any;
668
823
  }
@@ -670,9 +825,9 @@ declare namespace GraphQLClient {
670
825
  export interface AcquireAssetV3Tx {
671
826
  factory: string;
672
827
  address: string;
673
- inputs: Array<null>;
828
+ inputs: Array<GraphQLClient.TransactionInput>;
674
829
  owner: string;
675
- variables: Array<null>;
830
+ variables: Array<GraphQLClient.VariableInput>;
676
831
  issuer: GraphQLClient.NFTIssuer;
677
832
  data: GraphQLClient.Any;
678
833
  }
@@ -690,9 +845,9 @@ declare namespace GraphQLClient {
690
845
 
691
846
  export interface AssetFactoryInput {
692
847
  value: string;
693
- tokens: Array<null>;
694
- assets: Array<null>;
695
- variables: Array<null>;
848
+ tokens: Array<GraphQLClient.TokenInput>;
849
+ assets: Array<string>;
850
+ variables: Array<GraphQLClient.VariableInput>;
696
851
  }
697
852
 
698
853
  export interface AssetFactoryState {
@@ -702,14 +857,14 @@ declare namespace GraphQLClient {
702
857
  description: string;
703
858
  settlement: string;
704
859
  limit: number;
705
- trustedIssuers: Array<null>;
860
+ trustedIssuers: Array<string>;
706
861
  input: GraphQLClient.IndexedFactoryInput;
707
862
  output: GraphQLClient.CreateAssetTx;
708
- hooks: Array<null>;
863
+ hooks: Array<GraphQLClient.AssetFactoryHook>;
709
864
  data: GraphQLClient.Any;
710
865
  context: GraphQLClient.StateContext;
711
866
  balance: string;
712
- tokens: Array<null>;
867
+ tokens: Array<GraphQLClient.IndexedTokenInput>;
713
868
  numMinted: number;
714
869
  display: GraphQLClient.NFTDisplay;
715
870
  lastSettlement: string;
@@ -727,7 +882,7 @@ declare namespace GraphQLClient {
727
882
  parent: string;
728
883
  endpoint: GraphQLClient.NFTEndpoint;
729
884
  display: GraphQLClient.NFTDisplay;
730
- tags: Array<null>;
885
+ tags: Array<string>;
731
886
  context: GraphQLClient.StateContext;
732
887
  data: GraphQLClient.Any;
733
888
  }
@@ -743,11 +898,11 @@ declare namespace GraphQLClient {
743
898
  time: string;
744
899
  appHash: string;
745
900
  proposer: string;
746
- txs: Array<null>;
901
+ txs: Array<GraphQLClient.TransactionInfo>;
747
902
  totalTxs: string;
748
- invalidTxs: Array<null>;
749
- txsHashes: Array<null>;
750
- invalidTxsHashes: Array<null>;
903
+ invalidTxs: Array<GraphQLClient.TransactionInfo>;
904
+ txsHashes: Array<string>;
905
+ invalidTxsHashes: Array<string>;
751
906
  consensusHash: string;
752
907
  dataHash: string;
753
908
  evidenceHash: string;
@@ -766,8 +921,8 @@ declare namespace GraphQLClient {
766
921
  appHash: string;
767
922
  proposer: string;
768
923
  totalTxs: string;
769
- txsHashes: Array<null>;
770
- invalidTxsHashes: Array<null>;
924
+ txsHashes: Array<string>;
925
+ invalidTxsHashes: Array<string>;
771
926
  consensusHash: string;
772
927
  dataHash: string;
773
928
  evidenceHash: string;
@@ -793,8 +948,8 @@ declare namespace GraphQLClient {
793
948
  votingPower: string;
794
949
  totalTxs: string;
795
950
  version: string;
796
- forgeAppsVersion: Array<null>;
797
- supportedTxs: Array<null>;
951
+ forgeAppsVersion: Array<GraphQLClient.ChainInfo_ForgeAppsVersionEntry>;
952
+ supportedTxs: Array<string>;
798
953
  }
799
954
 
800
955
  export interface ChainInfo_ForgeAppsVersionEntry {
@@ -822,8 +977,8 @@ declare namespace GraphQLClient {
822
977
  maxGas: string;
823
978
  maxValidators: number;
824
979
  maxCandidates: number;
825
- pubKeyTypes: Array<null>;
826
- validators: Array<null>;
980
+ pubKeyTypes: Array<string>;
981
+ validators: Array<GraphQLClient.Validator>;
827
982
  validatorChanged: boolean;
828
983
  paramChanged: boolean;
829
984
  }
@@ -839,7 +994,7 @@ declare namespace GraphQLClient {
839
994
  issuer: string;
840
995
  endpoint: GraphQLClient.NFTEndpoint;
841
996
  display: GraphQLClient.NFTDisplay;
842
- tags: Array<null>;
997
+ tags: Array<string>;
843
998
  }
844
999
 
845
1000
  export interface CreateFactoryTx {
@@ -847,10 +1002,10 @@ declare namespace GraphQLClient {
847
1002
  description: string;
848
1003
  settlement: string;
849
1004
  limit: number;
850
- trustedIssuers: Array<null>;
1005
+ trustedIssuers: Array<string>;
851
1006
  input: GraphQLClient.AssetFactoryInput;
852
1007
  output: GraphQLClient.CreateAssetTx;
853
- hooks: Array<null>;
1008
+ hooks: Array<GraphQLClient.AssetFactoryHook>;
854
1009
  address: string;
855
1010
  display: GraphQLClient.NFTDisplay;
856
1011
  data: GraphQLClient.Any;
@@ -862,9 +1017,9 @@ declare namespace GraphQLClient {
862
1017
  merkleRoot: string;
863
1018
  previousHash: string;
864
1019
  txsHash: string;
865
- txs: Array<null>;
1020
+ txs: Array<string>;
866
1021
  proposer: string;
867
- signatures: Array<null>;
1022
+ signatures: Array<GraphQLClient.Multisig>;
868
1023
  rollup: string;
869
1024
  minReward: string;
870
1025
  data: GraphQLClient.Any;
@@ -874,7 +1029,7 @@ declare namespace GraphQLClient {
874
1029
  address: string;
875
1030
  tokenAddress: string;
876
1031
  contractAddress: string;
877
- seedValidators: Array<null>;
1032
+ seedValidators: Array<GraphQLClient.RollupValidator>;
878
1033
  minStakeAmount: string;
879
1034
  maxStakeAmount: string;
880
1035
  minSignerCount: number;
@@ -926,12 +1081,12 @@ declare namespace GraphQLClient {
926
1081
 
927
1082
  export interface DelegateConfig {
928
1083
  deltaInterval: number;
929
- typeUrls: Array<null>;
1084
+ typeUrls: Array<string>;
930
1085
  }
931
1086
 
932
1087
  export interface DelegateOp {
933
1088
  typeUrl: string;
934
- rules: Array<null>;
1089
+ rules: Array<string>;
935
1090
  }
936
1091
 
937
1092
  export interface DelegateOpState {
@@ -944,7 +1099,7 @@ declare namespace GraphQLClient {
944
1099
 
945
1100
  export interface DelegateState {
946
1101
  address: string;
947
- ops: Array<null>;
1102
+ ops: Array<GraphQLClient.DelegateState_OpsEntry>;
948
1103
  context: GraphQLClient.StateContext;
949
1104
  data: GraphQLClient.Any;
950
1105
  }
@@ -957,7 +1112,7 @@ declare namespace GraphQLClient {
957
1112
  export interface DelegateTx {
958
1113
  address: string;
959
1114
  to: string;
960
- ops: Array<null>;
1115
+ ops: Array<GraphQLClient.DelegateOp>;
961
1116
  data: GraphQLClient.Any;
962
1117
  }
963
1118
 
@@ -983,13 +1138,13 @@ declare namespace GraphQLClient {
983
1138
 
984
1139
  export interface ExchangeInfo {
985
1140
  value: string;
986
- assets: Array<null>;
1141
+ assets: Array<string>;
987
1142
  }
988
1143
 
989
1144
  export interface ExchangeInfoV2 {
990
1145
  value: string;
991
- assets: Array<null>;
992
- tokens: Array<null>;
1146
+ assets: Array<string>;
1147
+ tokens: Array<GraphQLClient.TokenInput>;
993
1148
  }
994
1149
 
995
1150
  export interface ExchangeTx {
@@ -1019,12 +1174,12 @@ declare namespace GraphQLClient {
1019
1174
  export interface ForgeState {
1020
1175
  address: string;
1021
1176
  consensus: GraphQLClient.ConsensusParams;
1022
- tasks: Array<null>;
1177
+ tasks: Array<GraphQLClient.ForgeState_TasksEntry>;
1023
1178
  version: string;
1024
1179
  token: GraphQLClient.ForgeToken;
1025
1180
  txConfig: GraphQLClient.TransactionConfig;
1026
1181
  upgradeInfo: GraphQLClient.UpgradeInfo;
1027
- accountConfig: Array<null>;
1182
+ accountConfig: Array<GraphQLClient.AccountConfig>;
1028
1183
  data: GraphQLClient.Any;
1029
1184
  }
1030
1185
 
@@ -1034,22 +1189,22 @@ declare namespace GraphQLClient {
1034
1189
  }
1035
1190
 
1036
1191
  export interface ForgeStats {
1037
- numBlocks: Array<null>;
1038
- numTxs: Array<null>;
1039
- numStakes: Array<null>;
1040
- numValidators: Array<null>;
1041
- numAccountMigrateTxs: Array<null>;
1042
- numCreateAssetTxs: Array<null>;
1043
- numConsensusUpgradeTxs: Array<null>;
1044
- numDeclareTxs: Array<null>;
1045
- numDeclareFileTxs: Array<null>;
1046
- numExchangeTxs: Array<null>;
1047
- numStakeTxs: Array<null>;
1048
- numSysUpgradeTxs: Array<null>;
1049
- numTransferTxs: Array<null>;
1050
- numUpdateAssetTxs: Array<null>;
1051
- numConsumeAssetTxs: Array<null>;
1052
- tps: Array<null>;
1192
+ numBlocks: Array<string>;
1193
+ numTxs: Array<string>;
1194
+ numStakes: Array<string>;
1195
+ numValidators: Array<number>;
1196
+ numAccountMigrateTxs: Array<string>;
1197
+ numCreateAssetTxs: Array<string>;
1198
+ numConsensusUpgradeTxs: Array<number>;
1199
+ numDeclareTxs: Array<string>;
1200
+ numDeclareFileTxs: Array<string>;
1201
+ numExchangeTxs: Array<string>;
1202
+ numStakeTxs: Array<string>;
1203
+ numSysUpgradeTxs: Array<number>;
1204
+ numTransferTxs: Array<string>;
1205
+ numUpdateAssetTxs: Array<string>;
1206
+ numConsumeAssetTxs: Array<string>;
1207
+ tps: Array<number>;
1053
1208
  maxTps: number;
1054
1209
  avgTps: number;
1055
1210
  avgBlockTime: number;
@@ -1089,8 +1244,8 @@ declare namespace GraphQLClient {
1089
1244
  totalReceivedStakes: string;
1090
1245
  totalStakes: string;
1091
1246
  totalUnstakes: string;
1092
- recentNumTxs: Array<null>;
1093
- tokens: Array<null>;
1247
+ recentNumTxs: Array<string>;
1248
+ tokens: Array<GraphQLClient.TokenInfo>;
1094
1249
  }
1095
1250
 
1096
1251
  export interface IndexedAssetState {
@@ -1107,7 +1262,7 @@ declare namespace GraphQLClient {
1107
1262
  ttl: string;
1108
1263
  display: GraphQLClient.NFTDisplay;
1109
1264
  endpoint: GraphQLClient.NFTEndpoint;
1110
- tags: Array<null>;
1265
+ tags: Array<string>;
1111
1266
  data: GraphQLClient.Any;
1112
1267
  }
1113
1268
 
@@ -1121,9 +1276,9 @@ declare namespace GraphQLClient {
1121
1276
 
1122
1277
  export interface IndexedFactoryInput {
1123
1278
  value: string;
1124
- tokens: Array<null>;
1125
- assets: Array<null>;
1126
- variables: Array<null>;
1279
+ tokens: Array<GraphQLClient.IndexedTokenInput>;
1280
+ assets: Array<string>;
1281
+ variables: Array<GraphQLClient.VariableInput>;
1127
1282
  }
1128
1283
 
1129
1284
  export interface IndexedFactoryState {
@@ -1133,13 +1288,13 @@ declare namespace GraphQLClient {
1133
1288
  description: string;
1134
1289
  settlement: string;
1135
1290
  limit: string;
1136
- trustedIssuers: Array<null>;
1291
+ trustedIssuers: Array<string>;
1137
1292
  input: GraphQLClient.IndexedFactoryInput;
1138
1293
  output: GraphQLClient.CreateAssetTx;
1139
- hooks: Array<null>;
1294
+ hooks: Array<GraphQLClient.AssetFactoryHook>;
1140
1295
  data: GraphQLClient.Any;
1141
1296
  balance: string;
1142
- tokens: Array<null>;
1297
+ tokens: Array<GraphQLClient.TokenInfo>;
1143
1298
  numMinted: number;
1144
1299
  lastSettlement: string;
1145
1300
  genesisTime: string;
@@ -1153,9 +1308,9 @@ declare namespace GraphQLClient {
1153
1308
  merkleRoot: string;
1154
1309
  previousHash: string;
1155
1310
  txsHash: string;
1156
- txs: Array<null>;
1311
+ txs: Array<string>;
1157
1312
  proposer: string;
1158
- signatures: Array<null>;
1313
+ signatures: Array<GraphQLClient.Multisig>;
1159
1314
  genesisTime: string;
1160
1315
  renaissanceTime: string;
1161
1316
  rollup: string;
@@ -1170,8 +1325,8 @@ declare namespace GraphQLClient {
1170
1325
  address: string;
1171
1326
  tokenAddress: string;
1172
1327
  contractAddress: string;
1173
- seedValidators: Array<null>;
1174
- validators: Array<null>;
1328
+ seedValidators: Array<GraphQLClient.RollupValidator>;
1329
+ validators: Array<GraphQLClient.RollupValidator>;
1175
1330
  minStakeAmount: string;
1176
1331
  maxStakeAmount: string;
1177
1332
  minSignerCount: number;
@@ -1205,7 +1360,7 @@ declare namespace GraphQLClient {
1205
1360
  publisherFeeShare: number;
1206
1361
  publishWaitingPeriod: number;
1207
1362
  publishSlashRate: number;
1208
- migrateHistory: Array<null>;
1363
+ migrateHistory: Array<string>;
1209
1364
  data: GraphQLClient.Any;
1210
1365
  }
1211
1366
 
@@ -1233,15 +1388,15 @@ declare namespace GraphQLClient {
1233
1388
  address: string;
1234
1389
  sender: string;
1235
1390
  receiver: string;
1236
- tokens: Array<null>;
1237
- assets: Array<null>;
1391
+ tokens: Array<GraphQLClient.TokenInfo>;
1392
+ assets: Array<string>;
1238
1393
  revocable: boolean;
1239
1394
  genesisTime: string;
1240
1395
  renaissanceTime: string;
1241
1396
  message: string;
1242
1397
  revokeWaitingPeriod: number;
1243
- revokedTokens: Array<null>;
1244
- revokedAssets: Array<null>;
1398
+ revokedTokens: Array<GraphQLClient.TokenInfo>;
1399
+ revokedAssets: Array<string>;
1245
1400
  data: GraphQLClient.Any;
1246
1401
  }
1247
1402
 
@@ -1278,15 +1433,15 @@ declare namespace GraphQLClient {
1278
1433
  tx: GraphQLClient.Transaction;
1279
1434
  valid: boolean;
1280
1435
  code: string;
1281
- tokenSymbols: Array<null>;
1282
- receipts: Array<null>;
1436
+ tokenSymbols: Array<GraphQLClient.TokenSymbol>;
1437
+ receipts: Array<GraphQLClient.TransactionReceipt>;
1283
1438
  }
1284
1439
 
1285
1440
  export interface JoinRollupTx {
1286
1441
  rollup: string;
1287
1442
  endpoint: string;
1288
1443
  evidence: GraphQLClient.Evidence;
1289
- signatures: Array<null>;
1444
+ signatures: Array<GraphQLClient.Multisig>;
1290
1445
  data: GraphQLClient.Any;
1291
1446
  }
1292
1447
 
@@ -1298,7 +1453,7 @@ declare namespace GraphQLClient {
1298
1453
  export interface LeaveRollupTx {
1299
1454
  rollup: string;
1300
1455
  evidence: GraphQLClient.Evidence;
1301
- signatures: Array<null>;
1456
+ signatures: Array<GraphQLClient.Multisig>;
1302
1457
  data: GraphQLClient.Any;
1303
1458
  }
1304
1459
 
@@ -1319,8 +1474,8 @@ declare namespace GraphQLClient {
1319
1474
  export interface MintAssetTx {
1320
1475
  factory: string;
1321
1476
  address: string;
1322
- assets: Array<null>;
1323
- variables: Array<null>;
1477
+ assets: Array<string>;
1478
+ variables: Array<GraphQLClient.VariableInput>;
1324
1479
  owner: string;
1325
1480
  data: GraphQLClient.Any;
1326
1481
  }
@@ -1351,9 +1506,9 @@ declare namespace GraphQLClient {
1351
1506
 
1352
1507
  export interface NetInfo {
1353
1508
  listening: boolean;
1354
- listeners: Array<null>;
1509
+ listeners: Array<string>;
1355
1510
  nPeers: number;
1356
- peers: Array<null>;
1511
+ peers: Array<GraphQLClient.PeerInfo>;
1357
1512
  }
1358
1513
 
1359
1514
  export interface NodeInfo {
@@ -1370,8 +1525,8 @@ declare namespace GraphQLClient {
1370
1525
  votingPower: string;
1371
1526
  totalTxs: string;
1372
1527
  version: string;
1373
- forgeAppsVersion: Array<null>;
1374
- supportedTxs: Array<null>;
1528
+ forgeAppsVersion: Array<GraphQLClient.NodeInfo_ForgeAppsVersionEntry>;
1529
+ supportedTxs: Array<string>;
1375
1530
  ip: string;
1376
1531
  geoInfo: GraphQLClient.GeoInfo;
1377
1532
  p2pAddress: string;
@@ -1425,7 +1580,7 @@ declare namespace GraphQLClient {
1425
1580
 
1426
1581
  export interface ResponseGetAccountTokens {
1427
1582
  code: string;
1428
- tokens: Array<null>;
1583
+ tokens: Array<GraphQLClient.AccountToken>;
1429
1584
  }
1430
1585
 
1431
1586
  export interface ResponseGetAssetState {
@@ -1441,7 +1596,7 @@ declare namespace GraphQLClient {
1441
1596
  export interface ResponseGetBlocks {
1442
1597
  code: string;
1443
1598
  page: GraphQLClient.PageInfo;
1444
- blocks: Array<null>;
1599
+ blocks: Array<GraphQLClient.BlockInfoSimple>;
1445
1600
  }
1446
1601
 
1447
1602
  export interface ResponseGetChainInfo {
@@ -1528,73 +1683,73 @@ declare namespace GraphQLClient {
1528
1683
  export interface ResponseListAssetTransactions {
1529
1684
  code: string;
1530
1685
  page: GraphQLClient.PageInfo;
1531
- transactions: Array<null>;
1686
+ transactions: Array<GraphQLClient.IndexedTransaction>;
1532
1687
  }
1533
1688
 
1534
1689
  export interface ResponseListAssets {
1535
1690
  code: string;
1536
1691
  page: GraphQLClient.PageInfo;
1537
- assets: Array<null>;
1692
+ assets: Array<GraphQLClient.IndexedAssetState>;
1538
1693
  }
1539
1694
 
1540
1695
  export interface ResponseListBlocks {
1541
1696
  code: string;
1542
1697
  page: GraphQLClient.PageInfo;
1543
- blocks: Array<null>;
1698
+ blocks: Array<GraphQLClient.IndexedBlock>;
1544
1699
  }
1545
1700
 
1546
1701
  export interface ResponseListFactories {
1547
1702
  code: string;
1548
1703
  page: GraphQLClient.PageInfo;
1549
- factories: Array<null>;
1704
+ factories: Array<GraphQLClient.IndexedFactoryState>;
1550
1705
  }
1551
1706
 
1552
1707
  export interface ResponseListRollupBlocks {
1553
1708
  code: string;
1554
1709
  page: GraphQLClient.PageInfo;
1555
- blocks: Array<null>;
1710
+ blocks: Array<GraphQLClient.IndexedRollupBlock>;
1556
1711
  }
1557
1712
 
1558
1713
  export interface ResponseListRollupValidators {
1559
1714
  code: string;
1560
1715
  page: GraphQLClient.PageInfo;
1561
- validators: Array<null>;
1716
+ validators: Array<GraphQLClient.IndexedRollupValidator>;
1562
1717
  }
1563
1718
 
1564
1719
  export interface ResponseListRollups {
1565
1720
  code: string;
1566
1721
  page: GraphQLClient.PageInfo;
1567
- rollups: Array<null>;
1722
+ rollups: Array<GraphQLClient.IndexedRollupState>;
1568
1723
  }
1569
1724
 
1570
1725
  export interface ResponseListStakes {
1571
1726
  code: string;
1572
1727
  page: GraphQLClient.PageInfo;
1573
- stakes: Array<null>;
1728
+ stakes: Array<GraphQLClient.IndexedStakeState>;
1574
1729
  }
1575
1730
 
1576
1731
  export interface ResponseListTokens {
1577
1732
  code: string;
1578
1733
  page: GraphQLClient.PageInfo;
1579
- tokens: Array<null>;
1734
+ tokens: Array<GraphQLClient.IndexedTokenState>;
1580
1735
  }
1581
1736
 
1582
1737
  export interface ResponseListTopAccounts {
1583
1738
  code: string;
1584
1739
  page: GraphQLClient.PageInfo;
1585
- accounts: Array<null>;
1740
+ accounts: Array<GraphQLClient.IndexedAccountState>;
1586
1741
  }
1587
1742
 
1588
1743
  export interface ResponseListTransactions {
1589
1744
  code: string;
1590
1745
  page: GraphQLClient.PageInfo;
1591
- transactions: Array<null>;
1746
+ transactions: Array<GraphQLClient.IndexedTransaction>;
1592
1747
  }
1593
1748
 
1594
1749
  export interface ResponseSearch {
1595
1750
  code: string;
1596
1751
  page: GraphQLClient.PageInfo;
1597
- results: Array<null>;
1752
+ results: Array<GraphQLClient.SearchResult>;
1598
1753
  }
1599
1754
 
1600
1755
  export interface ResponseSendTx {
@@ -1610,13 +1765,13 @@ declare namespace GraphQLClient {
1610
1765
  export interface RevokeDelegateTx {
1611
1766
  address: string;
1612
1767
  to: string;
1613
- typeUrls: Array<null>;
1768
+ typeUrls: Array<string>;
1614
1769
  data: GraphQLClient.Any;
1615
1770
  }
1616
1771
 
1617
1772
  export interface RevokeStakeTx {
1618
1773
  address: string;
1619
- outputs: Array<null>;
1774
+ outputs: Array<GraphQLClient.TransactionInput>;
1620
1775
  data: GraphQLClient.Any;
1621
1776
  }
1622
1777
 
@@ -1626,9 +1781,9 @@ declare namespace GraphQLClient {
1626
1781
  merkleRoot: string;
1627
1782
  previousHash: string;
1628
1783
  txsHash: string;
1629
- txs: Array<null>;
1784
+ txs: Array<string>;
1630
1785
  proposer: string;
1631
- signatures: Array<null>;
1786
+ signatures: Array<GraphQLClient.Multisig>;
1632
1787
  rollup: string;
1633
1788
  mintedAmount: string;
1634
1789
  burnedAmount: string;
@@ -1642,8 +1797,8 @@ declare namespace GraphQLClient {
1642
1797
  address: string;
1643
1798
  tokenAddress: string;
1644
1799
  contractAddress: string;
1645
- seedValidators: Array<null>;
1646
- validators: Array<null>;
1800
+ seedValidators: Array<GraphQLClient.RollupValidator>;
1801
+ validators: Array<GraphQLClient.RollupValidator>;
1647
1802
  minStakeAmount: string;
1648
1803
  maxStakeAmount: string;
1649
1804
  minSignerCount: number;
@@ -1675,7 +1830,7 @@ declare namespace GraphQLClient {
1675
1830
  leaveWaitingPeriod: number;
1676
1831
  publishWaitingPeriod: number;
1677
1832
  publishSlashRate: number;
1678
- migrateHistory: Array<null>;
1833
+ migrateHistory: Array<string>;
1679
1834
  context: GraphQLClient.StateContext;
1680
1835
  data: GraphQLClient.Any;
1681
1836
  }
@@ -1695,13 +1850,13 @@ declare namespace GraphQLClient {
1695
1850
  address: string;
1696
1851
  sender: string;
1697
1852
  receiver: string;
1698
- tokens: Array<null>;
1699
- assets: Array<null>;
1853
+ tokens: Array<GraphQLClient.IndexedTokenInput>;
1854
+ assets: Array<string>;
1700
1855
  revocable: boolean;
1701
1856
  message: string;
1702
1857
  revokeWaitingPeriod: number;
1703
- revokedTokens: Array<null>;
1704
- revokedAssets: Array<null>;
1858
+ revokedTokens: Array<GraphQLClient.IndexedTokenInput>;
1859
+ revokedAssets: Array<string>;
1705
1860
  context: GraphQLClient.StateContext;
1706
1861
  data: GraphQLClient.Any;
1707
1862
  }
@@ -1709,7 +1864,7 @@ declare namespace GraphQLClient {
1709
1864
  export interface StakeTx {
1710
1865
  address: string;
1711
1866
  receiver: string;
1712
- inputs: Array<null>;
1867
+ inputs: Array<GraphQLClient.TransactionInput>;
1713
1868
  locked: boolean;
1714
1869
  message: string;
1715
1870
  revokeWaitingPeriod: number;
@@ -1765,7 +1920,7 @@ declare namespace GraphQLClient {
1765
1920
  chainId: string;
1766
1921
  pk: string;
1767
1922
  signature: string;
1768
- signatures: Array<Multisig>;
1923
+ signatures: Array<GraphQLClient.Multisig>;
1769
1924
  itxJson: undefined;
1770
1925
  sender: string;
1771
1926
  receiver: string;
@@ -1779,7 +1934,7 @@ declare namespace GraphQLClient {
1779
1934
  maxListSize: number;
1780
1935
  maxMultisig: number;
1781
1936
  delegate: GraphQLClient.DelegateConfig;
1782
- txFee: Array<null>;
1937
+ txFee: Array<GraphQLClient.TxFeeConfig>;
1783
1938
  txGas: GraphQLClient.TxGasConfig;
1784
1939
  }
1785
1940
 
@@ -1788,44 +1943,44 @@ declare namespace GraphQLClient {
1788
1943
  height: string;
1789
1944
  index: number;
1790
1945
  hash: string;
1791
- tags: Array<null>;
1946
+ tags: Array<GraphQLClient.KVPair>;
1792
1947
  code: string;
1793
1948
  time: string;
1794
- receipts: Array<null>;
1949
+ receipts: Array<GraphQLClient.TransactionReceipt>;
1795
1950
  sender: string;
1796
1951
  receiver: string;
1797
- tokenSymbols: Array<null>;
1952
+ tokenSymbols: Array<GraphQLClient.TokenSymbol>;
1798
1953
  }
1799
1954
 
1800
1955
  export interface TransactionInput {
1801
1956
  owner: string;
1802
- tokens: Array<null>;
1803
- assets: Array<null>;
1957
+ tokens: Array<GraphQLClient.TokenInput>;
1958
+ assets: Array<string>;
1804
1959
  }
1805
1960
 
1806
1961
  export interface TransactionReceipt {
1807
1962
  address: string;
1808
- changes: Array<null>;
1963
+ changes: Array<GraphQLClient.ReceiptChange>;
1809
1964
  }
1810
1965
 
1811
1966
  export interface TransferTx {
1812
1967
  to: string;
1813
1968
  value: string;
1814
- assets: Array<null>;
1969
+ assets: Array<string>;
1815
1970
  data: GraphQLClient.Any;
1816
1971
  }
1817
1972
 
1818
1973
  export interface TransferV2Tx {
1819
1974
  to: string;
1820
1975
  value: string;
1821
- assets: Array<null>;
1822
- tokens: Array<null>;
1976
+ assets: Array<string>;
1977
+ tokens: Array<GraphQLClient.TokenInput>;
1823
1978
  data: GraphQLClient.Any;
1824
1979
  }
1825
1980
 
1826
1981
  export interface TransferV3Tx {
1827
- inputs: Array<null>;
1828
- outputs: Array<null>;
1982
+ inputs: Array<GraphQLClient.TransactionInput>;
1983
+ outputs: Array<GraphQLClient.TransactionInput>;
1829
1984
  data: GraphQLClient.Any;
1830
1985
  }
1831
1986
 
@@ -1846,7 +2001,7 @@ declare namespace GraphQLClient {
1846
2001
 
1847
2002
  export interface UnconfirmedTxs {
1848
2003
  nTxs: number;
1849
- txs: Array<null>;
2004
+ txs: Array<GraphQLClient.Transaction>;
1850
2005
  }
1851
2006
 
1852
2007
  export interface UpdateAssetTx {
@@ -1897,11 +2052,11 @@ declare namespace GraphQLClient {
1897
2052
  export interface UpgradeTask {
1898
2053
  type: GraphQLClient.UpgradeType;
1899
2054
  dataHash: string;
1900
- actions: Array<null>;
2055
+ actions: Array<GraphQLClient.UpgradeAction>;
1901
2056
  }
1902
2057
 
1903
2058
  export interface UpgradeTasks {
1904
- item: Array<null>;
2059
+ item: Array<GraphQLClient.UpgradeTask>;
1905
2060
  }
1906
2061
 
1907
2062
  export interface Validator {
@@ -1920,7 +2075,7 @@ declare namespace GraphQLClient {
1920
2075
 
1921
2076
  export interface ValidatorsInfo {
1922
2077
  blockHeight: string;
1923
- validators: Array<null>;
2078
+ validators: Array<GraphQLClient.ValidatorInfo>;
1924
2079
  }
1925
2080
 
1926
2081
  export interface VariableInput {