@wowok/agent-mcp 2.3.7 → 2.3.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/index.d.ts +1 -15838
- package/dist/index.js +40 -394
- 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/index.d.ts +1 -0
- package/dist/schema/index.js +1 -0
- 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 +1395 -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 +1764 -0
- package/dist/schemas/onchain_operations.schema.json +8324 -49
- 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,1395 @@
|
|
|
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
|
+
]
|
|
695
|
+
},
|
|
696
|
+
"description": "Parsed JSON value of the event"
|
|
697
|
+
},
|
|
698
|
+
"sender": {
|
|
699
|
+
"type": "string",
|
|
700
|
+
"description": "Sender's address"
|
|
701
|
+
},
|
|
702
|
+
"timestampMs": {
|
|
703
|
+
"type": [
|
|
704
|
+
"string",
|
|
705
|
+
"null"
|
|
706
|
+
],
|
|
707
|
+
"description": "UTC timestamp in milliseconds since epoch"
|
|
708
|
+
},
|
|
709
|
+
"transactionModule": {
|
|
710
|
+
"type": "string",
|
|
711
|
+
"description": "Module where event originated"
|
|
712
|
+
},
|
|
713
|
+
"type": {
|
|
714
|
+
"type": "string",
|
|
715
|
+
"description": "Move event type"
|
|
716
|
+
},
|
|
717
|
+
"bcs": {
|
|
718
|
+
"type": "string",
|
|
719
|
+
"description": "BCS encoded event"
|
|
720
|
+
},
|
|
721
|
+
"bcsEncoding": {
|
|
722
|
+
"type": "string",
|
|
723
|
+
"const": "base64",
|
|
724
|
+
"description": "BCS encoding format"
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
"required": [
|
|
728
|
+
"id",
|
|
729
|
+
"packageId",
|
|
730
|
+
"parsedJson",
|
|
731
|
+
"sender",
|
|
732
|
+
"transactionModule",
|
|
733
|
+
"type",
|
|
734
|
+
"bcs",
|
|
735
|
+
"bcsEncoding"
|
|
736
|
+
],
|
|
737
|
+
"additionalProperties": false
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"type": "object",
|
|
741
|
+
"properties": {
|
|
742
|
+
"id": {
|
|
743
|
+
"type": "object",
|
|
744
|
+
"properties": {
|
|
745
|
+
"eventSeq": {
|
|
746
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/events/anyOf/0/items/anyOf/0/properties/id/properties/eventSeq"
|
|
747
|
+
},
|
|
748
|
+
"txDigest": {
|
|
749
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/events/anyOf/0/items/anyOf/0/properties/id/properties/txDigest"
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
"required": [
|
|
753
|
+
"eventSeq",
|
|
754
|
+
"txDigest"
|
|
755
|
+
],
|
|
756
|
+
"additionalProperties": false,
|
|
757
|
+
"description": "Event ID"
|
|
758
|
+
},
|
|
759
|
+
"packageId": {
|
|
760
|
+
"type": "string",
|
|
761
|
+
"description": "Package ID where event originated"
|
|
762
|
+
},
|
|
763
|
+
"parsedJson": {
|
|
764
|
+
"type": "object",
|
|
765
|
+
"additionalProperties": {
|
|
766
|
+
"type": [
|
|
767
|
+
"string",
|
|
768
|
+
"number",
|
|
769
|
+
"boolean"
|
|
770
|
+
]
|
|
771
|
+
},
|
|
772
|
+
"description": "Parsed JSON value of the event"
|
|
773
|
+
},
|
|
774
|
+
"sender": {
|
|
775
|
+
"type": "string",
|
|
776
|
+
"description": "Sender's ID"
|
|
777
|
+
},
|
|
778
|
+
"timestampMs": {
|
|
779
|
+
"type": [
|
|
780
|
+
"string",
|
|
781
|
+
"null"
|
|
782
|
+
],
|
|
783
|
+
"description": "UTC timestamp in milliseconds since epoch"
|
|
784
|
+
},
|
|
785
|
+
"transactionModule": {
|
|
786
|
+
"type": "string",
|
|
787
|
+
"description": "Module where event originated"
|
|
788
|
+
},
|
|
789
|
+
"type": {
|
|
790
|
+
"type": "string",
|
|
791
|
+
"description": "Move event type"
|
|
792
|
+
},
|
|
793
|
+
"bcs": {
|
|
794
|
+
"type": "string",
|
|
795
|
+
"description": "BCS encoded event"
|
|
796
|
+
},
|
|
797
|
+
"bcsEncoding": {
|
|
798
|
+
"type": "string",
|
|
799
|
+
"const": "base58",
|
|
800
|
+
"description": "BCS encoding format"
|
|
801
|
+
}
|
|
802
|
+
},
|
|
803
|
+
"required": [
|
|
804
|
+
"id",
|
|
805
|
+
"packageId",
|
|
806
|
+
"parsedJson",
|
|
807
|
+
"sender",
|
|
808
|
+
"transactionModule",
|
|
809
|
+
"type",
|
|
810
|
+
"bcs",
|
|
811
|
+
"bcsEncoding"
|
|
812
|
+
],
|
|
813
|
+
"additionalProperties": false
|
|
814
|
+
}
|
|
815
|
+
],
|
|
816
|
+
"description": "Blockchain event"
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"type": "null"
|
|
821
|
+
}
|
|
822
|
+
],
|
|
823
|
+
"description": "Events"
|
|
824
|
+
},
|
|
825
|
+
"objectChanges": {
|
|
826
|
+
"anyOf": [
|
|
827
|
+
{
|
|
828
|
+
"type": "array",
|
|
829
|
+
"items": {
|
|
830
|
+
"anyOf": [
|
|
831
|
+
{
|
|
832
|
+
"type": "object",
|
|
833
|
+
"properties": {
|
|
834
|
+
"type": {
|
|
835
|
+
"type": "string",
|
|
836
|
+
"const": "published"
|
|
837
|
+
},
|
|
838
|
+
"digest": {
|
|
839
|
+
"type": "string",
|
|
840
|
+
"description": "Digest"
|
|
841
|
+
},
|
|
842
|
+
"modules": {
|
|
843
|
+
"type": "array",
|
|
844
|
+
"items": {
|
|
845
|
+
"type": "string"
|
|
846
|
+
},
|
|
847
|
+
"description": "Modules"
|
|
848
|
+
},
|
|
849
|
+
"packageId": {
|
|
850
|
+
"type": "string",
|
|
851
|
+
"description": "Package ID"
|
|
852
|
+
},
|
|
853
|
+
"version": {
|
|
854
|
+
"type": [
|
|
855
|
+
"string",
|
|
856
|
+
"number"
|
|
857
|
+
],
|
|
858
|
+
"description": "Version"
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
"required": [
|
|
862
|
+
"type",
|
|
863
|
+
"digest",
|
|
864
|
+
"modules",
|
|
865
|
+
"packageId",
|
|
866
|
+
"version"
|
|
867
|
+
],
|
|
868
|
+
"additionalProperties": false
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"type": "object",
|
|
872
|
+
"properties": {
|
|
873
|
+
"type": {
|
|
874
|
+
"type": "string",
|
|
875
|
+
"const": "transferred"
|
|
876
|
+
},
|
|
877
|
+
"digest": {
|
|
878
|
+
"type": "string",
|
|
879
|
+
"description": "Digest"
|
|
880
|
+
},
|
|
881
|
+
"objectId": {
|
|
882
|
+
"type": "string",
|
|
883
|
+
"description": "Object ID"
|
|
884
|
+
},
|
|
885
|
+
"objectType": {
|
|
886
|
+
"type": "string",
|
|
887
|
+
"description": "Object type"
|
|
888
|
+
},
|
|
889
|
+
"recipient": {
|
|
890
|
+
"anyOf": [
|
|
891
|
+
{
|
|
892
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/0"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/1"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/2"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/3"
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/4"
|
|
905
|
+
}
|
|
906
|
+
],
|
|
907
|
+
"description": "Recipient"
|
|
908
|
+
},
|
|
909
|
+
"sender": {
|
|
910
|
+
"type": "string",
|
|
911
|
+
"description": "Sender ID"
|
|
912
|
+
},
|
|
913
|
+
"version": {
|
|
914
|
+
"type": [
|
|
915
|
+
"string",
|
|
916
|
+
"number"
|
|
917
|
+
],
|
|
918
|
+
"description": "Version"
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
"required": [
|
|
922
|
+
"type",
|
|
923
|
+
"digest",
|
|
924
|
+
"objectId",
|
|
925
|
+
"objectType",
|
|
926
|
+
"recipient",
|
|
927
|
+
"sender",
|
|
928
|
+
"version"
|
|
929
|
+
],
|
|
930
|
+
"additionalProperties": false
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"type": "object",
|
|
934
|
+
"properties": {
|
|
935
|
+
"type": {
|
|
936
|
+
"type": "string",
|
|
937
|
+
"const": "mutated"
|
|
938
|
+
},
|
|
939
|
+
"digest": {
|
|
940
|
+
"type": "string",
|
|
941
|
+
"description": "Digest"
|
|
942
|
+
},
|
|
943
|
+
"objectId": {
|
|
944
|
+
"type": "string",
|
|
945
|
+
"description": "Object ID"
|
|
946
|
+
},
|
|
947
|
+
"objectType": {
|
|
948
|
+
"type": "string",
|
|
949
|
+
"description": "Object type"
|
|
950
|
+
},
|
|
951
|
+
"owner": {
|
|
952
|
+
"anyOf": [
|
|
953
|
+
{
|
|
954
|
+
"anyOf": [
|
|
955
|
+
{
|
|
956
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/0"
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/1"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/2"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/3"
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/balanceChanges/anyOf/0/items/properties/owner/anyOf/4"
|
|
969
|
+
}
|
|
970
|
+
],
|
|
971
|
+
"description": "Object owner"
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"type": "null"
|
|
975
|
+
}
|
|
976
|
+
],
|
|
977
|
+
"description": "Owner"
|
|
978
|
+
},
|
|
979
|
+
"previousVersion": {
|
|
980
|
+
"type": [
|
|
981
|
+
"string",
|
|
982
|
+
"number"
|
|
983
|
+
],
|
|
984
|
+
"description": "Previous version"
|
|
985
|
+
},
|
|
986
|
+
"sender": {
|
|
987
|
+
"type": "string",
|
|
988
|
+
"description": "Sender"
|
|
989
|
+
},
|
|
990
|
+
"version": {
|
|
991
|
+
"type": [
|
|
992
|
+
"string",
|
|
993
|
+
"number"
|
|
994
|
+
],
|
|
995
|
+
"description": "Version"
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
"required": [
|
|
999
|
+
"type",
|
|
1000
|
+
"digest",
|
|
1001
|
+
"objectId",
|
|
1002
|
+
"objectType",
|
|
1003
|
+
"owner",
|
|
1004
|
+
"previousVersion",
|
|
1005
|
+
"sender",
|
|
1006
|
+
"version"
|
|
1007
|
+
],
|
|
1008
|
+
"additionalProperties": false
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"type": "object",
|
|
1012
|
+
"properties": {
|
|
1013
|
+
"type": {
|
|
1014
|
+
"type": "string",
|
|
1015
|
+
"const": "deleted"
|
|
1016
|
+
},
|
|
1017
|
+
"objectId": {
|
|
1018
|
+
"type": "string",
|
|
1019
|
+
"description": "Object ID"
|
|
1020
|
+
},
|
|
1021
|
+
"objectType": {
|
|
1022
|
+
"type": "string",
|
|
1023
|
+
"description": "Object type"
|
|
1024
|
+
},
|
|
1025
|
+
"sender": {
|
|
1026
|
+
"type": "string",
|
|
1027
|
+
"description": "Sender"
|
|
1028
|
+
},
|
|
1029
|
+
"version": {
|
|
1030
|
+
"type": [
|
|
1031
|
+
"string",
|
|
1032
|
+
"number"
|
|
1033
|
+
],
|
|
1034
|
+
"description": "Version"
|
|
1035
|
+
}
|
|
1036
|
+
},
|
|
1037
|
+
"required": [
|
|
1038
|
+
"type",
|
|
1039
|
+
"objectId",
|
|
1040
|
+
"objectType",
|
|
1041
|
+
"sender",
|
|
1042
|
+
"version"
|
|
1043
|
+
],
|
|
1044
|
+
"additionalProperties": false
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
"type": "object",
|
|
1048
|
+
"properties": {
|
|
1049
|
+
"type": {
|
|
1050
|
+
"type": "string",
|
|
1051
|
+
"const": "wrapped"
|
|
1052
|
+
},
|
|
1053
|
+
"objectId": {
|
|
1054
|
+
"type": "string",
|
|
1055
|
+
"description": "Object ID"
|
|
1056
|
+
},
|
|
1057
|
+
"objectType": {
|
|
1058
|
+
"type": "string",
|
|
1059
|
+
"description": "Object type"
|
|
1060
|
+
},
|
|
1061
|
+
"sender": {
|
|
1062
|
+
"type": "string",
|
|
1063
|
+
"description": "Sender"
|
|
1064
|
+
},
|
|
1065
|
+
"version": {
|
|
1066
|
+
"type": [
|
|
1067
|
+
"string",
|
|
1068
|
+
"number"
|
|
1069
|
+
],
|
|
1070
|
+
"description": "Version"
|
|
1071
|
+
}
|
|
1072
|
+
},
|
|
1073
|
+
"required": [
|
|
1074
|
+
"type",
|
|
1075
|
+
"objectId",
|
|
1076
|
+
"objectType",
|
|
1077
|
+
"sender",
|
|
1078
|
+
"version"
|
|
1079
|
+
],
|
|
1080
|
+
"additionalProperties": false
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"type": "object",
|
|
1084
|
+
"properties": {
|
|
1085
|
+
"type": {
|
|
1086
|
+
"type": "string",
|
|
1087
|
+
"const": "created"
|
|
1088
|
+
},
|
|
1089
|
+
"digest": {
|
|
1090
|
+
"type": "string",
|
|
1091
|
+
"description": "Digest"
|
|
1092
|
+
},
|
|
1093
|
+
"objectId": {
|
|
1094
|
+
"type": "string",
|
|
1095
|
+
"description": "Object ID"
|
|
1096
|
+
},
|
|
1097
|
+
"objectType": {
|
|
1098
|
+
"type": "string",
|
|
1099
|
+
"description": "Object type"
|
|
1100
|
+
},
|
|
1101
|
+
"owner": {
|
|
1102
|
+
"anyOf": [
|
|
1103
|
+
{
|
|
1104
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/objectChanges/anyOf/0/items/anyOf/2/properties/owner/anyOf/0"
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"type": "null"
|
|
1108
|
+
}
|
|
1109
|
+
],
|
|
1110
|
+
"description": "Owner"
|
|
1111
|
+
},
|
|
1112
|
+
"sender": {
|
|
1113
|
+
"type": "string",
|
|
1114
|
+
"description": "Sender"
|
|
1115
|
+
},
|
|
1116
|
+
"version": {
|
|
1117
|
+
"type": [
|
|
1118
|
+
"string",
|
|
1119
|
+
"number"
|
|
1120
|
+
],
|
|
1121
|
+
"description": "Version"
|
|
1122
|
+
}
|
|
1123
|
+
},
|
|
1124
|
+
"required": [
|
|
1125
|
+
"type",
|
|
1126
|
+
"digest",
|
|
1127
|
+
"objectId",
|
|
1128
|
+
"objectType",
|
|
1129
|
+
"owner",
|
|
1130
|
+
"sender",
|
|
1131
|
+
"version"
|
|
1132
|
+
],
|
|
1133
|
+
"additionalProperties": false
|
|
1134
|
+
}
|
|
1135
|
+
],
|
|
1136
|
+
"description": "Object change information"
|
|
1137
|
+
}
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
"type": "null"
|
|
1141
|
+
}
|
|
1142
|
+
],
|
|
1143
|
+
"description": "Object changes"
|
|
1144
|
+
},
|
|
1145
|
+
"rawEffects": {
|
|
1146
|
+
"type": "array",
|
|
1147
|
+
"items": {
|
|
1148
|
+
"type": "number"
|
|
1149
|
+
},
|
|
1150
|
+
"description": "Raw effects"
|
|
1151
|
+
},
|
|
1152
|
+
"rawTransaction": {
|
|
1153
|
+
"type": "string",
|
|
1154
|
+
"description": "Raw transaction"
|
|
1155
|
+
},
|
|
1156
|
+
"timestampMs": {
|
|
1157
|
+
"type": [
|
|
1158
|
+
"string",
|
|
1159
|
+
"null"
|
|
1160
|
+
],
|
|
1161
|
+
"description": "Timestamp"
|
|
1162
|
+
},
|
|
1163
|
+
"transaction": {
|
|
1164
|
+
"anyOf": [
|
|
1165
|
+
{
|
|
1166
|
+
"type": "object",
|
|
1167
|
+
"properties": {
|
|
1168
|
+
"data": {
|
|
1169
|
+
"type": "object",
|
|
1170
|
+
"properties": {
|
|
1171
|
+
"gasData": {
|
|
1172
|
+
"type": "object",
|
|
1173
|
+
"properties": {
|
|
1174
|
+
"budget": {
|
|
1175
|
+
"type": "string",
|
|
1176
|
+
"description": "Budget"
|
|
1177
|
+
},
|
|
1178
|
+
"owner": {
|
|
1179
|
+
"type": "string",
|
|
1180
|
+
"description": "Owner"
|
|
1181
|
+
},
|
|
1182
|
+
"payment": {
|
|
1183
|
+
"type": "array",
|
|
1184
|
+
"items": {
|
|
1185
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/transfer/properties/effects/anyOf/0/properties/deleted/items"
|
|
1186
|
+
},
|
|
1187
|
+
"description": "Payment"
|
|
1188
|
+
},
|
|
1189
|
+
"price": {
|
|
1190
|
+
"type": "string",
|
|
1191
|
+
"description": "Price"
|
|
1192
|
+
}
|
|
1193
|
+
},
|
|
1194
|
+
"required": [
|
|
1195
|
+
"budget",
|
|
1196
|
+
"owner",
|
|
1197
|
+
"payment",
|
|
1198
|
+
"price"
|
|
1199
|
+
],
|
|
1200
|
+
"additionalProperties": false,
|
|
1201
|
+
"description": "Gas data"
|
|
1202
|
+
},
|
|
1203
|
+
"messageVersion": {
|
|
1204
|
+
"type": "string",
|
|
1205
|
+
"const": "v1",
|
|
1206
|
+
"description": "Message version"
|
|
1207
|
+
},
|
|
1208
|
+
"sender": {
|
|
1209
|
+
"type": "string",
|
|
1210
|
+
"description": "Sender"
|
|
1211
|
+
},
|
|
1212
|
+
"transaction": {
|
|
1213
|
+
"type": "object",
|
|
1214
|
+
"properties": {
|
|
1215
|
+
"kind": {
|
|
1216
|
+
"type": "string",
|
|
1217
|
+
"description": "Transaction type"
|
|
1218
|
+
}
|
|
1219
|
+
},
|
|
1220
|
+
"required": [
|
|
1221
|
+
"kind"
|
|
1222
|
+
],
|
|
1223
|
+
"additionalProperties": true,
|
|
1224
|
+
"description": "Transaction"
|
|
1225
|
+
}
|
|
1226
|
+
},
|
|
1227
|
+
"required": [
|
|
1228
|
+
"gasData",
|
|
1229
|
+
"messageVersion",
|
|
1230
|
+
"sender",
|
|
1231
|
+
"transaction"
|
|
1232
|
+
],
|
|
1233
|
+
"additionalProperties": false,
|
|
1234
|
+
"description": "Transaction data"
|
|
1235
|
+
},
|
|
1236
|
+
"txSignatures": {
|
|
1237
|
+
"type": "array",
|
|
1238
|
+
"items": {
|
|
1239
|
+
"type": "string"
|
|
1240
|
+
},
|
|
1241
|
+
"description": "Transaction signatures"
|
|
1242
|
+
}
|
|
1243
|
+
},
|
|
1244
|
+
"required": [
|
|
1245
|
+
"data",
|
|
1246
|
+
"txSignatures"
|
|
1247
|
+
],
|
|
1248
|
+
"additionalProperties": false,
|
|
1249
|
+
"description": "Wow transaction block"
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"type": "null"
|
|
1253
|
+
}
|
|
1254
|
+
],
|
|
1255
|
+
"description": "Transaction input data"
|
|
1256
|
+
}
|
|
1257
|
+
},
|
|
1258
|
+
"required": [
|
|
1259
|
+
"digest"
|
|
1260
|
+
],
|
|
1261
|
+
"additionalProperties": false,
|
|
1262
|
+
"description": "Result of token transfer transaction"
|
|
1263
|
+
},
|
|
1264
|
+
"get": {
|
|
1265
|
+
"type": "object",
|
|
1266
|
+
"properties": {
|
|
1267
|
+
"coin_address": {
|
|
1268
|
+
"type": "string",
|
|
1269
|
+
"description": "Newly generated coin object ID"
|
|
1270
|
+
},
|
|
1271
|
+
"name_or_address": {
|
|
1272
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/faucet/properties/name_or_address",
|
|
1273
|
+
"description": "Account name or address"
|
|
1274
|
+
},
|
|
1275
|
+
"balance_required": {
|
|
1276
|
+
"type": [
|
|
1277
|
+
"string",
|
|
1278
|
+
"number"
|
|
1279
|
+
],
|
|
1280
|
+
"description": "Required coin object balance"
|
|
1281
|
+
},
|
|
1282
|
+
"token_type": {
|
|
1283
|
+
"type": "string",
|
|
1284
|
+
"description": "Token type; default token type is 0x2::wow::WOW"
|
|
1285
|
+
},
|
|
1286
|
+
"network": {
|
|
1287
|
+
"type": "string",
|
|
1288
|
+
"enum": [
|
|
1289
|
+
"localnet",
|
|
1290
|
+
"testnet",
|
|
1291
|
+
"mainnet"
|
|
1292
|
+
],
|
|
1293
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on"
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1296
|
+
"required": [
|
|
1297
|
+
"balance_required"
|
|
1298
|
+
],
|
|
1299
|
+
"additionalProperties": false,
|
|
1300
|
+
"description": "Result of generating new coin object ID from account by required amount"
|
|
1301
|
+
},
|
|
1302
|
+
"signData": {
|
|
1303
|
+
"type": "object",
|
|
1304
|
+
"properties": {
|
|
1305
|
+
"name_or_address": {
|
|
1306
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/faucet/properties/name_or_address",
|
|
1307
|
+
"description": "Account name or address used for signing"
|
|
1308
|
+
},
|
|
1309
|
+
"signature": {
|
|
1310
|
+
"type": "string",
|
|
1311
|
+
"description": "Signature in hex format"
|
|
1312
|
+
},
|
|
1313
|
+
"publicKey": {
|
|
1314
|
+
"type": "string",
|
|
1315
|
+
"description": "Public key in hex format"
|
|
1316
|
+
},
|
|
1317
|
+
"address": {
|
|
1318
|
+
"type": "string",
|
|
1319
|
+
"description": "Account address"
|
|
1320
|
+
}
|
|
1321
|
+
},
|
|
1322
|
+
"required": [
|
|
1323
|
+
"signature",
|
|
1324
|
+
"publicKey",
|
|
1325
|
+
"address"
|
|
1326
|
+
],
|
|
1327
|
+
"additionalProperties": false,
|
|
1328
|
+
"description": "Result of signing data with account"
|
|
1329
|
+
},
|
|
1330
|
+
"messenger": {
|
|
1331
|
+
"type": "object",
|
|
1332
|
+
"properties": {
|
|
1333
|
+
"name_or_account": {
|
|
1334
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/faucet/properties/name_or_address",
|
|
1335
|
+
"description": "Account name or address"
|
|
1336
|
+
},
|
|
1337
|
+
"m": {
|
|
1338
|
+
"anyOf": [
|
|
1339
|
+
{
|
|
1340
|
+
"$ref": "#/definitions/account_operation/properties/result/anyOf/0/properties/data/properties/gen/properties/name"
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
"type": "null"
|
|
1344
|
+
}
|
|
1345
|
+
],
|
|
1346
|
+
"description": "Messenger name if enabled, null if disabled"
|
|
1347
|
+
}
|
|
1348
|
+
},
|
|
1349
|
+
"required": [
|
|
1350
|
+
"m"
|
|
1351
|
+
],
|
|
1352
|
+
"additionalProperties": false,
|
|
1353
|
+
"description": "Result of enabling or disabling messenger for an account"
|
|
1354
|
+
}
|
|
1355
|
+
},
|
|
1356
|
+
"additionalProperties": false,
|
|
1357
|
+
"description": "Success result data"
|
|
1358
|
+
}
|
|
1359
|
+
},
|
|
1360
|
+
"required": [
|
|
1361
|
+
"status",
|
|
1362
|
+
"data"
|
|
1363
|
+
],
|
|
1364
|
+
"additionalProperties": false
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
"type": "object",
|
|
1368
|
+
"properties": {
|
|
1369
|
+
"status": {
|
|
1370
|
+
"type": "string",
|
|
1371
|
+
"const": "error"
|
|
1372
|
+
},
|
|
1373
|
+
"error": {
|
|
1374
|
+
"type": "string",
|
|
1375
|
+
"description": "Error message"
|
|
1376
|
+
}
|
|
1377
|
+
},
|
|
1378
|
+
"required": [
|
|
1379
|
+
"status",
|
|
1380
|
+
"error"
|
|
1381
|
+
],
|
|
1382
|
+
"additionalProperties": false
|
|
1383
|
+
}
|
|
1384
|
+
],
|
|
1385
|
+
"description": "Account operation output schema with discriminator"
|
|
1386
|
+
}
|
|
1387
|
+
},
|
|
1388
|
+
"required": [
|
|
1389
|
+
"result"
|
|
1390
|
+
],
|
|
1391
|
+
"additionalProperties": false,
|
|
1392
|
+
"description": "Account operation output wrapped schema"
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
}
|