@wowok/agent-mcp 2.3.7 → 2.3.9
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/index.d.ts +1 -15838
- package/dist/index.js +40 -394
- package/dist/schema/call/base.d.ts +24 -24
- package/dist/schema/call/bridge-handler.d.ts +5 -0
- package/dist/schema/call/bridge-handler.js +234 -0
- package/dist/schema/call/bridge.d.ts +2212 -0
- package/dist/schema/call/bridge.js +408 -0
- package/dist/schema/call/handler.js +29 -15
- package/dist/schema/call/index.d.ts +1 -0
- package/dist/schema/call/index.js +1 -0
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.js +1 -0
- package/dist/schema/local/index.d.ts +70 -70
- package/dist/schema/local/index.js +2 -2
- package/dist/schema/messenger/index.d.ts +74 -74
- package/dist/schema/operations.d.ts +24302 -0
- package/dist/schema/operations.js +393 -0
- package/dist/schema-query/index.d.ts +3 -1
- package/dist/schema-query/index.js +63 -3
- package/dist/schemas/account_operation.output.json +1397 -0
- package/dist/schemas/bridge_operation.output.json +64 -0
- package/dist/schemas/bridge_operation.schema.json +547 -0
- package/dist/schemas/guard2file.output.json +84 -0
- package/dist/schemas/index.json +33 -14
- package/dist/schemas/local_info_operation.output.json +70 -0
- package/dist/schemas/local_mark_operation.output.json +114 -0
- package/dist/schemas/machineNode2file.output.json +89 -0
- package/dist/schemas/messenger_operation.output.json +1068 -0
- package/dist/schemas/onchain_events.output.json +513 -0
- package/dist/schemas/onchain_operations.output.json +1766 -0
- package/dist/schemas/onchain_operations.schema.json +8324 -49
- package/dist/schemas/onchain_operations_service.schema.json +1 -1
- package/dist/schemas/onchain_table_data.output.json +1938 -0
- package/dist/schemas/onchain_table_data.schema.json +483 -22
- package/dist/schemas/query_toolkit.output.json +18 -0
- package/dist/schemas/query_toolkit.schema.json +454 -19
- package/dist/schemas/schema_query.output.json +42 -0
- package/dist/schemas/schema_query.schema.json +1 -0
- package/dist/schemas/wip_file.output.json +116 -0
- package/dist/schemas/wip_file.schema.json +163 -15
- package/dist/schemas/wowok_buildin_info.output.json +577 -0
- package/package.json +2 -2
|
@@ -0,0 +1,1397 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://wowok.net/schemas/account_operation.json",
|
|
4
|
+
"title": "Account Operations",
|
|
5
|
+
"description": "Manage WoWok accounts locally: generate, suspend, resume, faucet-test, operate assets, sign data",
|
|
6
|
+
"$ref": "#/definitions/account_operation",
|
|
7
|
+
"definitions": {
|
|
8
|
+
"account_operation": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"result": {
|
|
12
|
+
"anyOf": [
|
|
13
|
+
{
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"status": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"const": "success"
|
|
19
|
+
},
|
|
20
|
+
"data": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"gen": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"properties": {
|
|
26
|
+
"address": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "Newly generated account ID"
|
|
29
|
+
},
|
|
30
|
+
"name": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "Account name"
|
|
33
|
+
},
|
|
34
|
+
"m": {
|
|
35
|
+
"anyOf": [
|
|
36
|
+
{
|
|
37
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/gen/properties/name"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "null"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"description": "Messenger name if enabled"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"required": [
|
|
47
|
+
"address"
|
|
48
|
+
],
|
|
49
|
+
"additionalProperties": false,
|
|
50
|
+
"description": "Result of generating new account"
|
|
51
|
+
},
|
|
52
|
+
"faucet": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"properties": {
|
|
55
|
+
"name_or_address": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"description": "Account name or address that received faucet coins"
|
|
58
|
+
},
|
|
59
|
+
"result": {
|
|
60
|
+
"type": "array",
|
|
61
|
+
"items": {
|
|
62
|
+
"type": "object",
|
|
63
|
+
"properties": {
|
|
64
|
+
"amount": {
|
|
65
|
+
"type": "number",
|
|
66
|
+
"description": "Coin amount"
|
|
67
|
+
},
|
|
68
|
+
"id": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"description": "Coin ID"
|
|
71
|
+
},
|
|
72
|
+
"transferTxDigest": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"description": "Transfer transaction digest"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"required": [
|
|
78
|
+
"amount",
|
|
79
|
+
"id",
|
|
80
|
+
"transferTxDigest"
|
|
81
|
+
],
|
|
82
|
+
"additionalProperties": false,
|
|
83
|
+
"description": "Testnet faucet coin info"
|
|
84
|
+
},
|
|
85
|
+
"description": "List of distributed test coin info"
|
|
86
|
+
},
|
|
87
|
+
"network": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"enum": [
|
|
90
|
+
"localnet",
|
|
91
|
+
"testnet"
|
|
92
|
+
],
|
|
93
|
+
"description": "Network entrypoint for Faucet: Specifies which network the operation occurs on"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"required": [
|
|
97
|
+
"result",
|
|
98
|
+
"network"
|
|
99
|
+
],
|
|
100
|
+
"additionalProperties": false,
|
|
101
|
+
"description": "Result of distributing test coins from faucet to the specified account"
|
|
102
|
+
},
|
|
103
|
+
"suspend": {
|
|
104
|
+
"type": "object",
|
|
105
|
+
"properties": {
|
|
106
|
+
"name_or_address": {
|
|
107
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/faucet/properties/name_or_address",
|
|
108
|
+
"description": "Account name or address that was suspended"
|
|
109
|
+
},
|
|
110
|
+
"success": {
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"description": "True if account was successfully suspended, false if account does not exist"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"required": [
|
|
116
|
+
"success"
|
|
117
|
+
],
|
|
118
|
+
"additionalProperties": false,
|
|
119
|
+
"description": "Result of removing account from active account list (cannot sign transactions)"
|
|
120
|
+
},
|
|
121
|
+
"resume": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"properties": {
|
|
124
|
+
"address": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"description": "Account ID that was resumed"
|
|
127
|
+
},
|
|
128
|
+
"name": {
|
|
129
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/gen/properties/name",
|
|
130
|
+
"description": "New name assigned to the account"
|
|
131
|
+
},
|
|
132
|
+
"success": {
|
|
133
|
+
"type": "boolean",
|
|
134
|
+
"description": "True if account was successfully resumed, false if account does not exist"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"required": [
|
|
138
|
+
"address",
|
|
139
|
+
"success"
|
|
140
|
+
],
|
|
141
|
+
"additionalProperties": false,
|
|
142
|
+
"description": "Result of adding account back to active account list"
|
|
143
|
+
},
|
|
144
|
+
"rename": {
|
|
145
|
+
"type": "object",
|
|
146
|
+
"properties": {
|
|
147
|
+
"name_or_address": {
|
|
148
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/faucet/properties/name_or_address",
|
|
149
|
+
"description": "Source account name or address that was renamed"
|
|
150
|
+
},
|
|
151
|
+
"new_name": {
|
|
152
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/gen/properties/name",
|
|
153
|
+
"description": "New account name"
|
|
154
|
+
},
|
|
155
|
+
"success": {
|
|
156
|
+
"type": "boolean",
|
|
157
|
+
"description": "True if rename was successful, false if account not found or name already exists"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"required": [
|
|
161
|
+
"new_name",
|
|
162
|
+
"success"
|
|
163
|
+
],
|
|
164
|
+
"additionalProperties": false,
|
|
165
|
+
"description": "Result of renaming account"
|
|
166
|
+
},
|
|
167
|
+
"swap_name": {
|
|
168
|
+
"type": "object",
|
|
169
|
+
"properties": {
|
|
170
|
+
"name1": {
|
|
171
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/gen/properties/name",
|
|
172
|
+
"description": "First account name"
|
|
173
|
+
},
|
|
174
|
+
"name2": {
|
|
175
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/gen/properties/name",
|
|
176
|
+
"description": "Second account name"
|
|
177
|
+
},
|
|
178
|
+
"success": {
|
|
179
|
+
"type": "boolean",
|
|
180
|
+
"description": "True if swap was successful, false if either account not found"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"required": [
|
|
184
|
+
"success"
|
|
185
|
+
],
|
|
186
|
+
"additionalProperties": false,
|
|
187
|
+
"description": "Result of swapping account names"
|
|
188
|
+
},
|
|
189
|
+
"transfer": {
|
|
190
|
+
"type": "object",
|
|
191
|
+
"properties": {
|
|
192
|
+
"balanceChanges": {
|
|
193
|
+
"anyOf": [
|
|
194
|
+
{
|
|
195
|
+
"type": "array",
|
|
196
|
+
"items": {
|
|
197
|
+
"type": "object",
|
|
198
|
+
"properties": {
|
|
199
|
+
"amount": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"description": "Balance change value, negative for spending, positive for receiving"
|
|
202
|
+
},
|
|
203
|
+
"coinType": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"description": "Coin type"
|
|
206
|
+
},
|
|
207
|
+
"owner": {
|
|
208
|
+
"anyOf": [
|
|
209
|
+
{
|
|
210
|
+
"type": "object",
|
|
211
|
+
"properties": {
|
|
212
|
+
"AddressOwner": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"description": "Address owner"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"required": [
|
|
218
|
+
"AddressOwner"
|
|
219
|
+
],
|
|
220
|
+
"additionalProperties": false
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"type": "object",
|
|
224
|
+
"properties": {
|
|
225
|
+
"ObjectOwner": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"description": "Object owner"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"required": [
|
|
231
|
+
"ObjectOwner"
|
|
232
|
+
],
|
|
233
|
+
"additionalProperties": false
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"type": "object",
|
|
237
|
+
"properties": {
|
|
238
|
+
"Shared": {
|
|
239
|
+
"type": "object",
|
|
240
|
+
"properties": {
|
|
241
|
+
"initial_shared_version": {
|
|
242
|
+
"type": [
|
|
243
|
+
"string",
|
|
244
|
+
"number"
|
|
245
|
+
],
|
|
246
|
+
"description": "Version when object became shared"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"required": [
|
|
250
|
+
"initial_shared_version"
|
|
251
|
+
],
|
|
252
|
+
"additionalProperties": false,
|
|
253
|
+
"description": "Shared object"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"required": [
|
|
257
|
+
"Shared"
|
|
258
|
+
],
|
|
259
|
+
"additionalProperties": false
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"type": "string",
|
|
263
|
+
"const": "Immutable"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"type": "object",
|
|
267
|
+
"properties": {
|
|
268
|
+
"ConsensusAddressOwner": {
|
|
269
|
+
"type": "object",
|
|
270
|
+
"properties": {
|
|
271
|
+
"owner": {
|
|
272
|
+
"type": "string",
|
|
273
|
+
"description": "Consensus ID owner"
|
|
274
|
+
},
|
|
275
|
+
"start_version": {
|
|
276
|
+
"type": [
|
|
277
|
+
"string",
|
|
278
|
+
"number"
|
|
279
|
+
],
|
|
280
|
+
"description": "Version when object recently became consensus object"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"required": [
|
|
284
|
+
"owner",
|
|
285
|
+
"start_version"
|
|
286
|
+
],
|
|
287
|
+
"additionalProperties": false,
|
|
288
|
+
"description": "Consensus ID owner"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"required": [
|
|
292
|
+
"ConsensusAddressOwner"
|
|
293
|
+
],
|
|
294
|
+
"additionalProperties": false
|
|
295
|
+
}
|
|
296
|
+
],
|
|
297
|
+
"description": "Owner of the balance change"
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"required": [
|
|
301
|
+
"amount",
|
|
302
|
+
"coinType",
|
|
303
|
+
"owner"
|
|
304
|
+
],
|
|
305
|
+
"additionalProperties": false,
|
|
306
|
+
"description": "Balance change"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"type": "null"
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"description": "Balance changes"
|
|
314
|
+
},
|
|
315
|
+
"checkpoint": {
|
|
316
|
+
"type": [
|
|
317
|
+
"string",
|
|
318
|
+
"null"
|
|
319
|
+
],
|
|
320
|
+
"description": "Checkpoint number that this transaction is included in and thus completed"
|
|
321
|
+
},
|
|
322
|
+
"confirmedLocalExecution": {
|
|
323
|
+
"type": [
|
|
324
|
+
"boolean",
|
|
325
|
+
"null"
|
|
326
|
+
],
|
|
327
|
+
"description": "Confirmed local execution"
|
|
328
|
+
},
|
|
329
|
+
"digest": {
|
|
330
|
+
"type": "string",
|
|
331
|
+
"description": "Transaction digest"
|
|
332
|
+
},
|
|
333
|
+
"effects": {
|
|
334
|
+
"anyOf": [
|
|
335
|
+
{
|
|
336
|
+
"type": "object",
|
|
337
|
+
"properties": {
|
|
338
|
+
"abortError": {
|
|
339
|
+
"anyOf": [
|
|
340
|
+
{
|
|
341
|
+
"type": "object",
|
|
342
|
+
"properties": {
|
|
343
|
+
"error_code": {
|
|
344
|
+
"type": [
|
|
345
|
+
"string",
|
|
346
|
+
"null"
|
|
347
|
+
],
|
|
348
|
+
"description": "Error code"
|
|
349
|
+
},
|
|
350
|
+
"function": {
|
|
351
|
+
"type": [
|
|
352
|
+
"string",
|
|
353
|
+
"null"
|
|
354
|
+
],
|
|
355
|
+
"description": "Function"
|
|
356
|
+
},
|
|
357
|
+
"line": {
|
|
358
|
+
"type": [
|
|
359
|
+
"number",
|
|
360
|
+
"null"
|
|
361
|
+
],
|
|
362
|
+
"description": "Line number"
|
|
363
|
+
},
|
|
364
|
+
"module_id": {
|
|
365
|
+
"type": [
|
|
366
|
+
"string",
|
|
367
|
+
"null"
|
|
368
|
+
],
|
|
369
|
+
"description": "Module ID"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"additionalProperties": false,
|
|
373
|
+
"description": "Wow Move abort"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"type": "null"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"description": "Abort error if transaction failed with abort code"
|
|
380
|
+
},
|
|
381
|
+
"created": {
|
|
382
|
+
"type": "array",
|
|
383
|
+
"items": {
|
|
384
|
+
"type": "object",
|
|
385
|
+
"properties": {
|
|
386
|
+
"owner": {
|
|
387
|
+
"anyOf": [
|
|
388
|
+
{
|
|
389
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/0"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/1"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/2"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/3"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/4"
|
|
402
|
+
}
|
|
403
|
+
],
|
|
404
|
+
"description": "Owner"
|
|
405
|
+
},
|
|
406
|
+
"reference": {
|
|
407
|
+
"type": "object",
|
|
408
|
+
"properties": {
|
|
409
|
+
"digest": {
|
|
410
|
+
"type": "string",
|
|
411
|
+
"description": "Base64 string of object digest"
|
|
412
|
+
},
|
|
413
|
+
"objectId": {
|
|
414
|
+
"type": "string",
|
|
415
|
+
"description": "Hex code string representing object ID"
|
|
416
|
+
},
|
|
417
|
+
"version": {
|
|
418
|
+
"type": [
|
|
419
|
+
"string",
|
|
420
|
+
"number"
|
|
421
|
+
],
|
|
422
|
+
"description": "Object version"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"required": [
|
|
426
|
+
"digest",
|
|
427
|
+
"objectId",
|
|
428
|
+
"version"
|
|
429
|
+
],
|
|
430
|
+
"additionalProperties": false,
|
|
431
|
+
"description": "Object reference"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"required": [
|
|
435
|
+
"owner",
|
|
436
|
+
"reference"
|
|
437
|
+
],
|
|
438
|
+
"additionalProperties": false,
|
|
439
|
+
"description": "Owned object reference"
|
|
440
|
+
},
|
|
441
|
+
"description": "ObjectRef and owner of newly created objects"
|
|
442
|
+
},
|
|
443
|
+
"deleted": {
|
|
444
|
+
"type": "array",
|
|
445
|
+
"items": {
|
|
446
|
+
"type": "object",
|
|
447
|
+
"properties": {
|
|
448
|
+
"digest": {
|
|
449
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/effects/anyOf/0/properties/created/items/properties/reference/properties/digest"
|
|
450
|
+
},
|
|
451
|
+
"objectId": {
|
|
452
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/effects/anyOf/0/properties/created/items/properties/reference/properties/objectId"
|
|
453
|
+
},
|
|
454
|
+
"version": {
|
|
455
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/effects/anyOf/0/properties/created/items/properties/reference/properties/version"
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"required": [
|
|
459
|
+
"digest",
|
|
460
|
+
"objectId",
|
|
461
|
+
"version"
|
|
462
|
+
],
|
|
463
|
+
"additionalProperties": false,
|
|
464
|
+
"description": "Wow object reference"
|
|
465
|
+
},
|
|
466
|
+
"description": "Object references (old refs) of now deleted objects"
|
|
467
|
+
},
|
|
468
|
+
"dependencies": {
|
|
469
|
+
"type": "array",
|
|
470
|
+
"items": {
|
|
471
|
+
"type": "string"
|
|
472
|
+
},
|
|
473
|
+
"description": "Set of transaction digests this transaction depends on"
|
|
474
|
+
},
|
|
475
|
+
"eventsDigest": {
|
|
476
|
+
"type": [
|
|
477
|
+
"string",
|
|
478
|
+
"null"
|
|
479
|
+
],
|
|
480
|
+
"description": "Digest of events emitted during execution"
|
|
481
|
+
},
|
|
482
|
+
"executedEpoch": {
|
|
483
|
+
"type": [
|
|
484
|
+
"string",
|
|
485
|
+
"number"
|
|
486
|
+
],
|
|
487
|
+
"description": "Epoch in which this transaction was executed"
|
|
488
|
+
},
|
|
489
|
+
"gasObject": {
|
|
490
|
+
"type": "object",
|
|
491
|
+
"properties": {
|
|
492
|
+
"owner": {
|
|
493
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/effects/anyOf/0/properties/created/items/properties/owner"
|
|
494
|
+
},
|
|
495
|
+
"reference": {
|
|
496
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/effects/anyOf/0/properties/created/items/properties/reference"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"required": [
|
|
500
|
+
"owner",
|
|
501
|
+
"reference"
|
|
502
|
+
],
|
|
503
|
+
"additionalProperties": false,
|
|
504
|
+
"description": "Updated gas object reference"
|
|
505
|
+
},
|
|
506
|
+
"gasUsed": {
|
|
507
|
+
"type": "object",
|
|
508
|
+
"properties": {
|
|
509
|
+
"computationCost": {
|
|
510
|
+
"type": "string",
|
|
511
|
+
"description": "Computation/execution cost"
|
|
512
|
+
},
|
|
513
|
+
"nonRefundableStorageFee": {
|
|
514
|
+
"type": "string",
|
|
515
|
+
"description": "Non-refundable storage fee"
|
|
516
|
+
},
|
|
517
|
+
"storageCost": {
|
|
518
|
+
"type": "string",
|
|
519
|
+
"description": "Storage cost"
|
|
520
|
+
},
|
|
521
|
+
"storageRebate": {
|
|
522
|
+
"type": "string",
|
|
523
|
+
"description": "Storage rebate"
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
"required": [
|
|
527
|
+
"computationCost",
|
|
528
|
+
"nonRefundableStorageFee",
|
|
529
|
+
"storageCost",
|
|
530
|
+
"storageRebate"
|
|
531
|
+
],
|
|
532
|
+
"additionalProperties": false,
|
|
533
|
+
"description": "Gas used"
|
|
534
|
+
},
|
|
535
|
+
"messageVersion": {
|
|
536
|
+
"type": "string",
|
|
537
|
+
"const": "v1",
|
|
538
|
+
"description": "Message version"
|
|
539
|
+
},
|
|
540
|
+
"modifiedAtVersions": {
|
|
541
|
+
"type": "array",
|
|
542
|
+
"items": {
|
|
543
|
+
"type": "object",
|
|
544
|
+
"properties": {
|
|
545
|
+
"objectId": {
|
|
546
|
+
"type": "string",
|
|
547
|
+
"description": "Object ID"
|
|
548
|
+
},
|
|
549
|
+
"sequenceNumber": {
|
|
550
|
+
"type": [
|
|
551
|
+
"string",
|
|
552
|
+
"number"
|
|
553
|
+
],
|
|
554
|
+
"description": "Sequence number"
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
"required": [
|
|
558
|
+
"objectId",
|
|
559
|
+
"sequenceNumber"
|
|
560
|
+
],
|
|
561
|
+
"additionalProperties": false,
|
|
562
|
+
"description": "Transaction block effects modified versions"
|
|
563
|
+
},
|
|
564
|
+
"description": "Version of each modified (mutated or deleted) object before this transaction modified it"
|
|
565
|
+
},
|
|
566
|
+
"mutated": {
|
|
567
|
+
"type": "array",
|
|
568
|
+
"items": {
|
|
569
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/effects/anyOf/0/properties/created/items"
|
|
570
|
+
},
|
|
571
|
+
"description": "ObjectRef and owner of mutated objects, including gas object"
|
|
572
|
+
},
|
|
573
|
+
"sharedObjects": {
|
|
574
|
+
"type": "array",
|
|
575
|
+
"items": {
|
|
576
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/effects/anyOf/0/properties/deleted/items"
|
|
577
|
+
},
|
|
578
|
+
"description": "Object references of shared objects used in this transaction"
|
|
579
|
+
},
|
|
580
|
+
"status": {
|
|
581
|
+
"type": "object",
|
|
582
|
+
"properties": {
|
|
583
|
+
"status": {
|
|
584
|
+
"type": "string",
|
|
585
|
+
"enum": [
|
|
586
|
+
"success",
|
|
587
|
+
"failure"
|
|
588
|
+
],
|
|
589
|
+
"description": "Execution status"
|
|
590
|
+
},
|
|
591
|
+
"error": {
|
|
592
|
+
"type": "string",
|
|
593
|
+
"description": "Error message"
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
"required": [
|
|
597
|
+
"status"
|
|
598
|
+
],
|
|
599
|
+
"additionalProperties": false,
|
|
600
|
+
"description": "Execution status"
|
|
601
|
+
},
|
|
602
|
+
"transactionDigest": {
|
|
603
|
+
"type": "string",
|
|
604
|
+
"description": "Transaction digest"
|
|
605
|
+
},
|
|
606
|
+
"unwrapped": {
|
|
607
|
+
"type": "array",
|
|
608
|
+
"items": {
|
|
609
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/effects/anyOf/0/properties/created/items"
|
|
610
|
+
},
|
|
611
|
+
"description": "ObjectRef and owner of objects unwrapped in this transaction"
|
|
612
|
+
},
|
|
613
|
+
"unwrappedThenDeleted": {
|
|
614
|
+
"type": "array",
|
|
615
|
+
"items": {
|
|
616
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/effects/anyOf/0/properties/deleted/items"
|
|
617
|
+
},
|
|
618
|
+
"description": "Object references of objects previously wrapped in other objects but now deleted"
|
|
619
|
+
},
|
|
620
|
+
"wrapped": {
|
|
621
|
+
"type": "array",
|
|
622
|
+
"items": {
|
|
623
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/effects/anyOf/0/properties/deleted/items"
|
|
624
|
+
},
|
|
625
|
+
"description": "Object references of objects now wrapped in other objects"
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
"required": [
|
|
629
|
+
"executedEpoch",
|
|
630
|
+
"gasObject",
|
|
631
|
+
"gasUsed",
|
|
632
|
+
"messageVersion",
|
|
633
|
+
"status",
|
|
634
|
+
"transactionDigest"
|
|
635
|
+
],
|
|
636
|
+
"additionalProperties": false,
|
|
637
|
+
"description": "Transaction effects"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"type": "null"
|
|
641
|
+
}
|
|
642
|
+
],
|
|
643
|
+
"description": "Transaction effects"
|
|
644
|
+
},
|
|
645
|
+
"errors": {
|
|
646
|
+
"type": "array",
|
|
647
|
+
"items": {
|
|
648
|
+
"type": "string"
|
|
649
|
+
},
|
|
650
|
+
"description": "Error messages"
|
|
651
|
+
},
|
|
652
|
+
"events": {
|
|
653
|
+
"anyOf": [
|
|
654
|
+
{
|
|
655
|
+
"type": "array",
|
|
656
|
+
"items": {
|
|
657
|
+
"anyOf": [
|
|
658
|
+
{
|
|
659
|
+
"type": "object",
|
|
660
|
+
"properties": {
|
|
661
|
+
"id": {
|
|
662
|
+
"type": "object",
|
|
663
|
+
"properties": {
|
|
664
|
+
"eventSeq": {
|
|
665
|
+
"type": [
|
|
666
|
+
"string",
|
|
667
|
+
"number"
|
|
668
|
+
],
|
|
669
|
+
"description": "Event sequence number"
|
|
670
|
+
},
|
|
671
|
+
"txDigest": {
|
|
672
|
+
"type": "string",
|
|
673
|
+
"description": "Transaction digest"
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
"required": [
|
|
677
|
+
"eventSeq",
|
|
678
|
+
"txDigest"
|
|
679
|
+
],
|
|
680
|
+
"additionalProperties": false,
|
|
681
|
+
"description": "Event ID"
|
|
682
|
+
},
|
|
683
|
+
"packageId": {
|
|
684
|
+
"type": "string",
|
|
685
|
+
"description": "Package ID where event originated"
|
|
686
|
+
},
|
|
687
|
+
"parsedJson": {
|
|
688
|
+
"type": "object",
|
|
689
|
+
"additionalProperties": {
|
|
690
|
+
"type": [
|
|
691
|
+
"string",
|
|
692
|
+
"number",
|
|
693
|
+
"boolean",
|
|
694
|
+
"null"
|
|
695
|
+
]
|
|
696
|
+
},
|
|
697
|
+
"description": "Parsed JSON value of the event"
|
|
698
|
+
},
|
|
699
|
+
"sender": {
|
|
700
|
+
"type": "string",
|
|
701
|
+
"description": "Sender's address"
|
|
702
|
+
},
|
|
703
|
+
"timestampMs": {
|
|
704
|
+
"type": [
|
|
705
|
+
"string",
|
|
706
|
+
"null"
|
|
707
|
+
],
|
|
708
|
+
"description": "UTC timestamp in milliseconds since epoch"
|
|
709
|
+
},
|
|
710
|
+
"transactionModule": {
|
|
711
|
+
"type": "string",
|
|
712
|
+
"description": "Module where event originated"
|
|
713
|
+
},
|
|
714
|
+
"type": {
|
|
715
|
+
"type": "string",
|
|
716
|
+
"description": "Move event type"
|
|
717
|
+
},
|
|
718
|
+
"bcs": {
|
|
719
|
+
"type": "string",
|
|
720
|
+
"description": "BCS encoded event"
|
|
721
|
+
},
|
|
722
|
+
"bcsEncoding": {
|
|
723
|
+
"type": "string",
|
|
724
|
+
"const": "base64",
|
|
725
|
+
"description": "BCS encoding format"
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
"required": [
|
|
729
|
+
"id",
|
|
730
|
+
"packageId",
|
|
731
|
+
"parsedJson",
|
|
732
|
+
"sender",
|
|
733
|
+
"transactionModule",
|
|
734
|
+
"type",
|
|
735
|
+
"bcs",
|
|
736
|
+
"bcsEncoding"
|
|
737
|
+
],
|
|
738
|
+
"additionalProperties": false
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"type": "object",
|
|
742
|
+
"properties": {
|
|
743
|
+
"id": {
|
|
744
|
+
"type": "object",
|
|
745
|
+
"properties": {
|
|
746
|
+
"eventSeq": {
|
|
747
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/events/anyOf/0/items/anyOf/0/properties/id/properties/eventSeq"
|
|
748
|
+
},
|
|
749
|
+
"txDigest": {
|
|
750
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/events/anyOf/0/items/anyOf/0/properties/id/properties/txDigest"
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
"required": [
|
|
754
|
+
"eventSeq",
|
|
755
|
+
"txDigest"
|
|
756
|
+
],
|
|
757
|
+
"additionalProperties": false,
|
|
758
|
+
"description": "Event ID"
|
|
759
|
+
},
|
|
760
|
+
"packageId": {
|
|
761
|
+
"type": "string",
|
|
762
|
+
"description": "Package ID where event originated"
|
|
763
|
+
},
|
|
764
|
+
"parsedJson": {
|
|
765
|
+
"type": "object",
|
|
766
|
+
"additionalProperties": {
|
|
767
|
+
"type": [
|
|
768
|
+
"string",
|
|
769
|
+
"number",
|
|
770
|
+
"boolean",
|
|
771
|
+
"null"
|
|
772
|
+
]
|
|
773
|
+
},
|
|
774
|
+
"description": "Parsed JSON value of the event"
|
|
775
|
+
},
|
|
776
|
+
"sender": {
|
|
777
|
+
"type": "string",
|
|
778
|
+
"description": "Sender's ID"
|
|
779
|
+
},
|
|
780
|
+
"timestampMs": {
|
|
781
|
+
"type": [
|
|
782
|
+
"string",
|
|
783
|
+
"null"
|
|
784
|
+
],
|
|
785
|
+
"description": "UTC timestamp in milliseconds since epoch"
|
|
786
|
+
},
|
|
787
|
+
"transactionModule": {
|
|
788
|
+
"type": "string",
|
|
789
|
+
"description": "Module where event originated"
|
|
790
|
+
},
|
|
791
|
+
"type": {
|
|
792
|
+
"type": "string",
|
|
793
|
+
"description": "Move event type"
|
|
794
|
+
},
|
|
795
|
+
"bcs": {
|
|
796
|
+
"type": "string",
|
|
797
|
+
"description": "BCS encoded event"
|
|
798
|
+
},
|
|
799
|
+
"bcsEncoding": {
|
|
800
|
+
"type": "string",
|
|
801
|
+
"const": "base58",
|
|
802
|
+
"description": "BCS encoding format"
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
"required": [
|
|
806
|
+
"id",
|
|
807
|
+
"packageId",
|
|
808
|
+
"parsedJson",
|
|
809
|
+
"sender",
|
|
810
|
+
"transactionModule",
|
|
811
|
+
"type",
|
|
812
|
+
"bcs",
|
|
813
|
+
"bcsEncoding"
|
|
814
|
+
],
|
|
815
|
+
"additionalProperties": false
|
|
816
|
+
}
|
|
817
|
+
],
|
|
818
|
+
"description": "Blockchain event"
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"type": "null"
|
|
823
|
+
}
|
|
824
|
+
],
|
|
825
|
+
"description": "Events"
|
|
826
|
+
},
|
|
827
|
+
"objectChanges": {
|
|
828
|
+
"anyOf": [
|
|
829
|
+
{
|
|
830
|
+
"type": "array",
|
|
831
|
+
"items": {
|
|
832
|
+
"anyOf": [
|
|
833
|
+
{
|
|
834
|
+
"type": "object",
|
|
835
|
+
"properties": {
|
|
836
|
+
"type": {
|
|
837
|
+
"type": "string",
|
|
838
|
+
"const": "published"
|
|
839
|
+
},
|
|
840
|
+
"digest": {
|
|
841
|
+
"type": "string",
|
|
842
|
+
"description": "Digest"
|
|
843
|
+
},
|
|
844
|
+
"modules": {
|
|
845
|
+
"type": "array",
|
|
846
|
+
"items": {
|
|
847
|
+
"type": "string"
|
|
848
|
+
},
|
|
849
|
+
"description": "Modules"
|
|
850
|
+
},
|
|
851
|
+
"packageId": {
|
|
852
|
+
"type": "string",
|
|
853
|
+
"description": "Package ID"
|
|
854
|
+
},
|
|
855
|
+
"version": {
|
|
856
|
+
"type": [
|
|
857
|
+
"string",
|
|
858
|
+
"number"
|
|
859
|
+
],
|
|
860
|
+
"description": "Version"
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
"required": [
|
|
864
|
+
"type",
|
|
865
|
+
"digest",
|
|
866
|
+
"modules",
|
|
867
|
+
"packageId",
|
|
868
|
+
"version"
|
|
869
|
+
],
|
|
870
|
+
"additionalProperties": false
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"type": "object",
|
|
874
|
+
"properties": {
|
|
875
|
+
"type": {
|
|
876
|
+
"type": "string",
|
|
877
|
+
"const": "transferred"
|
|
878
|
+
},
|
|
879
|
+
"digest": {
|
|
880
|
+
"type": "string",
|
|
881
|
+
"description": "Digest"
|
|
882
|
+
},
|
|
883
|
+
"objectId": {
|
|
884
|
+
"type": "string",
|
|
885
|
+
"description": "Object ID"
|
|
886
|
+
},
|
|
887
|
+
"objectType": {
|
|
888
|
+
"type": "string",
|
|
889
|
+
"description": "Object type"
|
|
890
|
+
},
|
|
891
|
+
"recipient": {
|
|
892
|
+
"anyOf": [
|
|
893
|
+
{
|
|
894
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/0"
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/1"
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/2"
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/3"
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/4"
|
|
907
|
+
}
|
|
908
|
+
],
|
|
909
|
+
"description": "Recipient"
|
|
910
|
+
},
|
|
911
|
+
"sender": {
|
|
912
|
+
"type": "string",
|
|
913
|
+
"description": "Sender ID"
|
|
914
|
+
},
|
|
915
|
+
"version": {
|
|
916
|
+
"type": [
|
|
917
|
+
"string",
|
|
918
|
+
"number"
|
|
919
|
+
],
|
|
920
|
+
"description": "Version"
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
"required": [
|
|
924
|
+
"type",
|
|
925
|
+
"digest",
|
|
926
|
+
"objectId",
|
|
927
|
+
"objectType",
|
|
928
|
+
"recipient",
|
|
929
|
+
"sender",
|
|
930
|
+
"version"
|
|
931
|
+
],
|
|
932
|
+
"additionalProperties": false
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
"type": "object",
|
|
936
|
+
"properties": {
|
|
937
|
+
"type": {
|
|
938
|
+
"type": "string",
|
|
939
|
+
"const": "mutated"
|
|
940
|
+
},
|
|
941
|
+
"digest": {
|
|
942
|
+
"type": "string",
|
|
943
|
+
"description": "Digest"
|
|
944
|
+
},
|
|
945
|
+
"objectId": {
|
|
946
|
+
"type": "string",
|
|
947
|
+
"description": "Object ID"
|
|
948
|
+
},
|
|
949
|
+
"objectType": {
|
|
950
|
+
"type": "string",
|
|
951
|
+
"description": "Object type"
|
|
952
|
+
},
|
|
953
|
+
"owner": {
|
|
954
|
+
"anyOf": [
|
|
955
|
+
{
|
|
956
|
+
"anyOf": [
|
|
957
|
+
{
|
|
958
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/0"
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/1"
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/2"
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/3"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/4"
|
|
971
|
+
}
|
|
972
|
+
],
|
|
973
|
+
"description": "Object owner"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"type": "null"
|
|
977
|
+
}
|
|
978
|
+
],
|
|
979
|
+
"description": "Owner"
|
|
980
|
+
},
|
|
981
|
+
"previousVersion": {
|
|
982
|
+
"type": [
|
|
983
|
+
"string",
|
|
984
|
+
"number"
|
|
985
|
+
],
|
|
986
|
+
"description": "Previous version"
|
|
987
|
+
},
|
|
988
|
+
"sender": {
|
|
989
|
+
"type": "string",
|
|
990
|
+
"description": "Sender"
|
|
991
|
+
},
|
|
992
|
+
"version": {
|
|
993
|
+
"type": [
|
|
994
|
+
"string",
|
|
995
|
+
"number"
|
|
996
|
+
],
|
|
997
|
+
"description": "Version"
|
|
998
|
+
}
|
|
999
|
+
},
|
|
1000
|
+
"required": [
|
|
1001
|
+
"type",
|
|
1002
|
+
"digest",
|
|
1003
|
+
"objectId",
|
|
1004
|
+
"objectType",
|
|
1005
|
+
"owner",
|
|
1006
|
+
"previousVersion",
|
|
1007
|
+
"sender",
|
|
1008
|
+
"version"
|
|
1009
|
+
],
|
|
1010
|
+
"additionalProperties": false
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"type": "object",
|
|
1014
|
+
"properties": {
|
|
1015
|
+
"type": {
|
|
1016
|
+
"type": "string",
|
|
1017
|
+
"const": "deleted"
|
|
1018
|
+
},
|
|
1019
|
+
"objectId": {
|
|
1020
|
+
"type": "string",
|
|
1021
|
+
"description": "Object ID"
|
|
1022
|
+
},
|
|
1023
|
+
"objectType": {
|
|
1024
|
+
"type": "string",
|
|
1025
|
+
"description": "Object type"
|
|
1026
|
+
},
|
|
1027
|
+
"sender": {
|
|
1028
|
+
"type": "string",
|
|
1029
|
+
"description": "Sender"
|
|
1030
|
+
},
|
|
1031
|
+
"version": {
|
|
1032
|
+
"type": [
|
|
1033
|
+
"string",
|
|
1034
|
+
"number"
|
|
1035
|
+
],
|
|
1036
|
+
"description": "Version"
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
"required": [
|
|
1040
|
+
"type",
|
|
1041
|
+
"objectId",
|
|
1042
|
+
"objectType",
|
|
1043
|
+
"sender",
|
|
1044
|
+
"version"
|
|
1045
|
+
],
|
|
1046
|
+
"additionalProperties": false
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"type": "object",
|
|
1050
|
+
"properties": {
|
|
1051
|
+
"type": {
|
|
1052
|
+
"type": "string",
|
|
1053
|
+
"const": "wrapped"
|
|
1054
|
+
},
|
|
1055
|
+
"objectId": {
|
|
1056
|
+
"type": "string",
|
|
1057
|
+
"description": "Object ID"
|
|
1058
|
+
},
|
|
1059
|
+
"objectType": {
|
|
1060
|
+
"type": "string",
|
|
1061
|
+
"description": "Object type"
|
|
1062
|
+
},
|
|
1063
|
+
"sender": {
|
|
1064
|
+
"type": "string",
|
|
1065
|
+
"description": "Sender"
|
|
1066
|
+
},
|
|
1067
|
+
"version": {
|
|
1068
|
+
"type": [
|
|
1069
|
+
"string",
|
|
1070
|
+
"number"
|
|
1071
|
+
],
|
|
1072
|
+
"description": "Version"
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
"required": [
|
|
1076
|
+
"type",
|
|
1077
|
+
"objectId",
|
|
1078
|
+
"objectType",
|
|
1079
|
+
"sender",
|
|
1080
|
+
"version"
|
|
1081
|
+
],
|
|
1082
|
+
"additionalProperties": false
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"type": "object",
|
|
1086
|
+
"properties": {
|
|
1087
|
+
"type": {
|
|
1088
|
+
"type": "string",
|
|
1089
|
+
"const": "created"
|
|
1090
|
+
},
|
|
1091
|
+
"digest": {
|
|
1092
|
+
"type": "string",
|
|
1093
|
+
"description": "Digest"
|
|
1094
|
+
},
|
|
1095
|
+
"objectId": {
|
|
1096
|
+
"type": "string",
|
|
1097
|
+
"description": "Object ID"
|
|
1098
|
+
},
|
|
1099
|
+
"objectType": {
|
|
1100
|
+
"type": "string",
|
|
1101
|
+
"description": "Object type"
|
|
1102
|
+
},
|
|
1103
|
+
"owner": {
|
|
1104
|
+
"anyOf": [
|
|
1105
|
+
{
|
|
1106
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/objectChanges/anyOf/0/items/anyOf/2/properties/owner/anyOf/0"
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"type": "null"
|
|
1110
|
+
}
|
|
1111
|
+
],
|
|
1112
|
+
"description": "Owner"
|
|
1113
|
+
},
|
|
1114
|
+
"sender": {
|
|
1115
|
+
"type": "string",
|
|
1116
|
+
"description": "Sender"
|
|
1117
|
+
},
|
|
1118
|
+
"version": {
|
|
1119
|
+
"type": [
|
|
1120
|
+
"string",
|
|
1121
|
+
"number"
|
|
1122
|
+
],
|
|
1123
|
+
"description": "Version"
|
|
1124
|
+
}
|
|
1125
|
+
},
|
|
1126
|
+
"required": [
|
|
1127
|
+
"type",
|
|
1128
|
+
"digest",
|
|
1129
|
+
"objectId",
|
|
1130
|
+
"objectType",
|
|
1131
|
+
"owner",
|
|
1132
|
+
"sender",
|
|
1133
|
+
"version"
|
|
1134
|
+
],
|
|
1135
|
+
"additionalProperties": false
|
|
1136
|
+
}
|
|
1137
|
+
],
|
|
1138
|
+
"description": "Object change information"
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
"type": "null"
|
|
1143
|
+
}
|
|
1144
|
+
],
|
|
1145
|
+
"description": "Object changes"
|
|
1146
|
+
},
|
|
1147
|
+
"rawEffects": {
|
|
1148
|
+
"type": "array",
|
|
1149
|
+
"items": {
|
|
1150
|
+
"type": "number"
|
|
1151
|
+
},
|
|
1152
|
+
"description": "Raw effects"
|
|
1153
|
+
},
|
|
1154
|
+
"rawTransaction": {
|
|
1155
|
+
"type": "string",
|
|
1156
|
+
"description": "Raw transaction"
|
|
1157
|
+
},
|
|
1158
|
+
"timestampMs": {
|
|
1159
|
+
"type": [
|
|
1160
|
+
"string",
|
|
1161
|
+
"null"
|
|
1162
|
+
],
|
|
1163
|
+
"description": "Timestamp"
|
|
1164
|
+
},
|
|
1165
|
+
"transaction": {
|
|
1166
|
+
"anyOf": [
|
|
1167
|
+
{
|
|
1168
|
+
"type": "object",
|
|
1169
|
+
"properties": {
|
|
1170
|
+
"data": {
|
|
1171
|
+
"type": "object",
|
|
1172
|
+
"properties": {
|
|
1173
|
+
"gasData": {
|
|
1174
|
+
"type": "object",
|
|
1175
|
+
"properties": {
|
|
1176
|
+
"budget": {
|
|
1177
|
+
"type": "string",
|
|
1178
|
+
"description": "Budget"
|
|
1179
|
+
},
|
|
1180
|
+
"owner": {
|
|
1181
|
+
"type": "string",
|
|
1182
|
+
"description": "Owner"
|
|
1183
|
+
},
|
|
1184
|
+
"payment": {
|
|
1185
|
+
"type": "array",
|
|
1186
|
+
"items": {
|
|
1187
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/effects/anyOf/0/properties/deleted/items"
|
|
1188
|
+
},
|
|
1189
|
+
"description": "Payment"
|
|
1190
|
+
},
|
|
1191
|
+
"price": {
|
|
1192
|
+
"type": "string",
|
|
1193
|
+
"description": "Price"
|
|
1194
|
+
}
|
|
1195
|
+
},
|
|
1196
|
+
"required": [
|
|
1197
|
+
"budget",
|
|
1198
|
+
"owner",
|
|
1199
|
+
"payment",
|
|
1200
|
+
"price"
|
|
1201
|
+
],
|
|
1202
|
+
"additionalProperties": false,
|
|
1203
|
+
"description": "Gas data"
|
|
1204
|
+
},
|
|
1205
|
+
"messageVersion": {
|
|
1206
|
+
"type": "string",
|
|
1207
|
+
"const": "v1",
|
|
1208
|
+
"description": "Message version"
|
|
1209
|
+
},
|
|
1210
|
+
"sender": {
|
|
1211
|
+
"type": "string",
|
|
1212
|
+
"description": "Sender"
|
|
1213
|
+
},
|
|
1214
|
+
"transaction": {
|
|
1215
|
+
"type": "object",
|
|
1216
|
+
"properties": {
|
|
1217
|
+
"kind": {
|
|
1218
|
+
"type": "string",
|
|
1219
|
+
"description": "Transaction type"
|
|
1220
|
+
}
|
|
1221
|
+
},
|
|
1222
|
+
"required": [
|
|
1223
|
+
"kind"
|
|
1224
|
+
],
|
|
1225
|
+
"additionalProperties": true,
|
|
1226
|
+
"description": "Transaction"
|
|
1227
|
+
}
|
|
1228
|
+
},
|
|
1229
|
+
"required": [
|
|
1230
|
+
"gasData",
|
|
1231
|
+
"messageVersion",
|
|
1232
|
+
"sender",
|
|
1233
|
+
"transaction"
|
|
1234
|
+
],
|
|
1235
|
+
"additionalProperties": false,
|
|
1236
|
+
"description": "Transaction data"
|
|
1237
|
+
},
|
|
1238
|
+
"txSignatures": {
|
|
1239
|
+
"type": "array",
|
|
1240
|
+
"items": {
|
|
1241
|
+
"type": "string"
|
|
1242
|
+
},
|
|
1243
|
+
"description": "Transaction signatures"
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
"required": [
|
|
1247
|
+
"data",
|
|
1248
|
+
"txSignatures"
|
|
1249
|
+
],
|
|
1250
|
+
"additionalProperties": false,
|
|
1251
|
+
"description": "Wow transaction block"
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"type": "null"
|
|
1255
|
+
}
|
|
1256
|
+
],
|
|
1257
|
+
"description": "Transaction input data"
|
|
1258
|
+
}
|
|
1259
|
+
},
|
|
1260
|
+
"required": [
|
|
1261
|
+
"digest"
|
|
1262
|
+
],
|
|
1263
|
+
"additionalProperties": false,
|
|
1264
|
+
"description": "Result of token transfer transaction"
|
|
1265
|
+
},
|
|
1266
|
+
"get": {
|
|
1267
|
+
"type": "object",
|
|
1268
|
+
"properties": {
|
|
1269
|
+
"coin_address": {
|
|
1270
|
+
"type": "string",
|
|
1271
|
+
"description": "Newly generated coin object ID"
|
|
1272
|
+
},
|
|
1273
|
+
"name_or_address": {
|
|
1274
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/faucet/properties/name_or_address",
|
|
1275
|
+
"description": "Account name or address"
|
|
1276
|
+
},
|
|
1277
|
+
"balance_required": {
|
|
1278
|
+
"type": [
|
|
1279
|
+
"string",
|
|
1280
|
+
"number"
|
|
1281
|
+
],
|
|
1282
|
+
"description": "Required coin object balance"
|
|
1283
|
+
},
|
|
1284
|
+
"token_type": {
|
|
1285
|
+
"type": "string",
|
|
1286
|
+
"description": "Token type; default token type is 0x2::wow::WOW"
|
|
1287
|
+
},
|
|
1288
|
+
"network": {
|
|
1289
|
+
"type": "string",
|
|
1290
|
+
"enum": [
|
|
1291
|
+
"localnet",
|
|
1292
|
+
"testnet",
|
|
1293
|
+
"mainnet"
|
|
1294
|
+
],
|
|
1295
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on"
|
|
1296
|
+
}
|
|
1297
|
+
},
|
|
1298
|
+
"required": [
|
|
1299
|
+
"balance_required"
|
|
1300
|
+
],
|
|
1301
|
+
"additionalProperties": false,
|
|
1302
|
+
"description": "Result of generating new coin object ID from account by required amount"
|
|
1303
|
+
},
|
|
1304
|
+
"signData": {
|
|
1305
|
+
"type": "object",
|
|
1306
|
+
"properties": {
|
|
1307
|
+
"name_or_address": {
|
|
1308
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/faucet/properties/name_or_address",
|
|
1309
|
+
"description": "Account name or address used for signing"
|
|
1310
|
+
},
|
|
1311
|
+
"signature": {
|
|
1312
|
+
"type": "string",
|
|
1313
|
+
"description": "Signature in hex format"
|
|
1314
|
+
},
|
|
1315
|
+
"publicKey": {
|
|
1316
|
+
"type": "string",
|
|
1317
|
+
"description": "Public key in hex format"
|
|
1318
|
+
},
|
|
1319
|
+
"address": {
|
|
1320
|
+
"type": "string",
|
|
1321
|
+
"description": "Account address"
|
|
1322
|
+
}
|
|
1323
|
+
},
|
|
1324
|
+
"required": [
|
|
1325
|
+
"signature",
|
|
1326
|
+
"publicKey",
|
|
1327
|
+
"address"
|
|
1328
|
+
],
|
|
1329
|
+
"additionalProperties": false,
|
|
1330
|
+
"description": "Result of signing data with account"
|
|
1331
|
+
},
|
|
1332
|
+
"messenger": {
|
|
1333
|
+
"type": "object",
|
|
1334
|
+
"properties": {
|
|
1335
|
+
"name_or_account": {
|
|
1336
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/faucet/properties/name_or_address",
|
|
1337
|
+
"description": "Account name or address"
|
|
1338
|
+
},
|
|
1339
|
+
"m": {
|
|
1340
|
+
"anyOf": [
|
|
1341
|
+
{
|
|
1342
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/gen/properties/name"
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"type": "null"
|
|
1346
|
+
}
|
|
1347
|
+
],
|
|
1348
|
+
"description": "Messenger name if enabled, null if disabled"
|
|
1349
|
+
}
|
|
1350
|
+
},
|
|
1351
|
+
"required": [
|
|
1352
|
+
"m"
|
|
1353
|
+
],
|
|
1354
|
+
"additionalProperties": false,
|
|
1355
|
+
"description": "Result of enabling or disabling messenger for an account"
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
"additionalProperties": false,
|
|
1359
|
+
"description": "Success result data"
|
|
1360
|
+
}
|
|
1361
|
+
},
|
|
1362
|
+
"required": [
|
|
1363
|
+
"status",
|
|
1364
|
+
"data"
|
|
1365
|
+
],
|
|
1366
|
+
"additionalProperties": false
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"type": "object",
|
|
1370
|
+
"properties": {
|
|
1371
|
+
"status": {
|
|
1372
|
+
"type": "string",
|
|
1373
|
+
"const": "error"
|
|
1374
|
+
},
|
|
1375
|
+
"error": {
|
|
1376
|
+
"type": "string",
|
|
1377
|
+
"description": "Error message"
|
|
1378
|
+
}
|
|
1379
|
+
},
|
|
1380
|
+
"required": [
|
|
1381
|
+
"status",
|
|
1382
|
+
"error"
|
|
1383
|
+
],
|
|
1384
|
+
"additionalProperties": false
|
|
1385
|
+
}
|
|
1386
|
+
],
|
|
1387
|
+
"description": "Account operation output schema with discriminator"
|
|
1388
|
+
}
|
|
1389
|
+
},
|
|
1390
|
+
"required": [
|
|
1391
|
+
"result"
|
|
1392
|
+
],
|
|
1393
|
+
"additionalProperties": false,
|
|
1394
|
+
"description": "Account operation output wrapped schema"
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
}
|