@wowok/agent-mcp 2.3.16 → 2.3.18
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/customer/index.d.ts +9 -0
- package/dist/customer/index.js +9 -0
- package/dist/customer/industry-risks.d.ts +4 -0
- package/dist/customer/industry-risks.js +14 -0
- package/dist/customer/user-preferences.d.ts +3 -0
- package/dist/customer/user-preferences.js +9 -0
- package/dist/experience/realtime-feedback.js +17 -0
- package/dist/index.js +360 -273
- package/dist/knowledge/acquisition-flywheel.d.ts +3 -0
- package/dist/knowledge/acquisition-flywheel.js +9 -0
- package/dist/knowledge/guard-ledger.d.ts +19 -0
- package/dist/knowledge/guard-ledger.js +219 -0
- package/dist/knowledge/guard-puzzle.d.ts +93 -0
- package/dist/knowledge/guard-puzzle.js +278 -0
- package/dist/knowledge/guard-risk.d.ts +60 -0
- package/dist/knowledge/guard-risk.js +474 -0
- package/dist/knowledge/guard-translation.d.ts +46 -0
- package/dist/knowledge/guard-translation.js +487 -0
- package/dist/knowledge/index.d.ts +13 -0
- package/dist/knowledge/index.js +13 -0
- package/dist/knowledge/industry-registry.d.ts +1 -2
- package/dist/knowledge/industry-registry.js +23 -3
- package/dist/knowledge/safety-rules.js +61 -0
- package/dist/knowledge/tool-constraints.js +12 -22
- package/dist/safety/confirm-gate.d.ts +4 -2
- package/dist/safety/confirm-gate.js +48 -4
- package/dist/schema/call/allocation.d.ts +24 -14
- package/dist/schema/call/arbitration.d.ts +142 -132
- package/dist/schema/call/base.d.ts +901 -43
- package/dist/schema/call/base.js +66 -2
- package/dist/schema/call/bridge-handler.js +15 -2
- package/dist/schema/call/bridge.d.ts +769 -1
- package/dist/schema/call/bridge.js +37 -0
- package/dist/schema/call/contact.d.ts +10 -0
- package/dist/schema/call/demand.d.ts +10 -0
- package/dist/schema/call/guard.d.ts +76 -46
- package/dist/schema/call/handler.js +46 -14
- package/dist/schema/call/machine.d.ts +158 -138
- package/dist/schema/call/order.d.ts +10 -0
- package/dist/schema/call/payment.d.ts +10 -0
- package/dist/schema/call/permission.d.ts +232 -222
- package/dist/schema/call/personal.d.ts +10 -0
- package/dist/schema/call/progress.d.ts +10 -0
- package/dist/schema/call/proof.d.ts +20 -0
- package/dist/schema/call/repository.d.ts +32 -22
- package/dist/schema/call/reward.d.ts +10 -0
- package/dist/schema/call/semantic.d.ts +9 -2
- package/dist/schema/call/semantic.js +409 -21
- package/dist/schema/call/service.d.ts +20 -10
- package/dist/schema/call/treasury.d.ts +10 -0
- package/dist/schema/config/index.d.ts +18 -0
- package/dist/schema/config/index.js +17 -0
- package/dist/schema/index.d.ts +6 -0
- package/dist/schema/index.js +5 -0
- package/dist/schema/local/index.d.ts +9 -9
- package/dist/schema/local/index.js +9 -0
- package/dist/schema/messenger/index.d.ts +350 -29
- package/dist/schema/messenger/index.js +17 -17
- package/dist/schema/operations.d.ts +1667 -545
- package/dist/schema/operations.js +91 -96
- package/dist/schema/project/index.d.ts +21 -0
- package/dist/schema/project/index.js +32 -0
- package/dist/schema/query/index.d.ts +1074 -168
- package/dist/schema/query/index.js +8 -8
- package/dist/schema/schema-query/index.d.ts +33 -0
- package/dist/schema/schema-query/index.js +36 -0
- package/dist/schema/schema-version.d.ts +25 -0
- package/dist/schema/schema-version.js +76 -0
- package/dist/schema/trust/index.d.ts +407 -0
- package/dist/schema/trust/index.js +113 -0
- package/dist/schemas/bridge_operation.output.json +224 -0
- package/dist/schemas/bridge_operation.schema.json +67 -8
- package/dist/schemas/config_operation.output.json +18 -0
- package/dist/schemas/config_operation.schema.json +34 -0
- package/dist/schemas/guard-node-schema.json +82 -0
- package/dist/schemas/guard2file.schema.json +8 -0
- package/dist/schemas/index.json +19 -1
- package/dist/schemas/machineNode2file.schema.json +8 -0
- package/dist/schemas/messenger_operation.output.json +224 -0
- package/dist/schemas/onchain_events.output.json +718 -0
- package/dist/schemas/onchain_operations.output.json +277 -2
- package/dist/schemas/onchain_operations.schema.json +19 -16
- package/dist/schemas/onchain_operations_allocation.schema.json +8 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +8 -0
- package/dist/schemas/onchain_operations_contact.schema.json +8 -0
- package/dist/schemas/onchain_operations_demand.schema.json +8 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +16 -0
- package/dist/schemas/onchain_operations_guard.schema.json +11 -16
- package/dist/schemas/onchain_operations_machine.schema.json +8 -0
- package/dist/schemas/onchain_operations_order.schema.json +8 -0
- package/dist/schemas/onchain_operations_payment.schema.json +8 -0
- package/dist/schemas/onchain_operations_permission.schema.json +8 -0
- package/dist/schemas/onchain_operations_personal.schema.json +8 -0
- package/dist/schemas/onchain_operations_progress.schema.json +8 -0
- package/dist/schemas/onchain_operations_repository.schema.json +8 -0
- package/dist/schemas/onchain_operations_reward.schema.json +8 -0
- package/dist/schemas/onchain_operations_service.schema.json +8 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +8 -0
- package/dist/schemas/onchain_table_data.output.json +718 -0
- package/dist/schemas/project_operation.output.json +18 -0
- package/dist/schemas/project_operation.schema.json +42 -0
- package/dist/schemas/query_toolkit.schema.json +360 -368
- package/dist/schemas/schema_query.schema.json +6 -3
- package/dist/schemas/trust_score.output.json +327 -0
- package/dist/schemas/trust_score.schema.json +46 -0
- package/package.json +2 -2
|
@@ -8,462 +8,454 @@
|
|
|
8
8
|
"query_toolkit": {
|
|
9
9
|
"anyOf": [
|
|
10
10
|
{
|
|
11
|
-
"
|
|
12
|
-
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"query_type": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"const": "local_mark_list"
|
|
16
|
+
},
|
|
17
|
+
"filter": {
|
|
13
18
|
"type": "object",
|
|
14
19
|
"properties": {
|
|
15
|
-
"
|
|
20
|
+
"name": {
|
|
16
21
|
"type": "string",
|
|
17
|
-
"
|
|
22
|
+
"description": "Filter by mark name (supports fuzzy match)"
|
|
23
|
+
},
|
|
24
|
+
"tags": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"description": "Filter by tags - returns marks that contain ANY of the specified tags"
|
|
18
30
|
},
|
|
19
|
-
"
|
|
31
|
+
"address": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "Filter by address (exact match, format: 0x + 64 hex characters)"
|
|
34
|
+
},
|
|
35
|
+
"createdAt": {
|
|
20
36
|
"type": "object",
|
|
21
37
|
"properties": {
|
|
22
|
-
"
|
|
23
|
-
"type": "
|
|
24
|
-
"description": "Filter
|
|
25
|
-
},
|
|
26
|
-
"tags": {
|
|
27
|
-
"type": "array",
|
|
28
|
-
"items": {
|
|
29
|
-
"type": "string"
|
|
30
|
-
},
|
|
31
|
-
"description": "Filter by tags - returns marks that contain ANY of the specified tags"
|
|
32
|
-
},
|
|
33
|
-
"address": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "Filter by address (exact match, format: 0x + 64 hex characters)"
|
|
36
|
-
},
|
|
37
|
-
"createdAt": {
|
|
38
|
-
"type": "object",
|
|
39
|
-
"properties": {
|
|
40
|
-
"gte": {
|
|
41
|
-
"type": "number",
|
|
42
|
-
"description": "Filter marks created on or after this timestamp (ms)"
|
|
43
|
-
},
|
|
44
|
-
"lte": {
|
|
45
|
-
"type": "number",
|
|
46
|
-
"description": "Filter marks created on or before this timestamp (ms)"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"additionalProperties": false,
|
|
50
|
-
"description": "Filter by creation time range"
|
|
38
|
+
"gte": {
|
|
39
|
+
"type": "number",
|
|
40
|
+
"description": "Filter marks created on or after this timestamp (ms)"
|
|
51
41
|
},
|
|
52
|
-
"
|
|
53
|
-
"type": "
|
|
54
|
-
"
|
|
55
|
-
"gte": {
|
|
56
|
-
"type": "number",
|
|
57
|
-
"description": "Filter marks updated on or after this timestamp (ms)"
|
|
58
|
-
},
|
|
59
|
-
"lte": {
|
|
60
|
-
"type": "number",
|
|
61
|
-
"description": "Filter marks updated on or before this timestamp (ms)"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"additionalProperties": false,
|
|
65
|
-
"description": "Filter by update time range"
|
|
42
|
+
"lte": {
|
|
43
|
+
"type": "number",
|
|
44
|
+
"description": "Filter marks created on or before this timestamp (ms)"
|
|
66
45
|
}
|
|
67
46
|
},
|
|
68
47
|
"additionalProperties": false,
|
|
69
|
-
"description": "
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"required": [
|
|
73
|
-
"query_type"
|
|
74
|
-
],
|
|
75
|
-
"additionalProperties": false,
|
|
76
|
-
"description": "Query your LOCAL address book — maps human-readable names to blockchain addresses with optional tags. Use to resolve names→addresses or find addresses by tag. Returns: MarkData[] (name, address, tags, timestamps)"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"type": "object",
|
|
80
|
-
"properties": {
|
|
81
|
-
"query_type": {
|
|
82
|
-
"type": "string",
|
|
83
|
-
"const": "account_list"
|
|
48
|
+
"description": "Filter by creation time range"
|
|
84
49
|
},
|
|
85
|
-
"
|
|
50
|
+
"updatedAt": {
|
|
86
51
|
"type": "object",
|
|
87
52
|
"properties": {
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"description": "Filter
|
|
91
|
-
},
|
|
92
|
-
"address": {
|
|
93
|
-
"$ref": "#/definitions/query_toolkit/anyOf/0/anyOf/0/properties/filter/properties/address",
|
|
94
|
-
"description": "Filter by account address (supports partial match, format: 0x + hex characters)"
|
|
95
|
-
},
|
|
96
|
-
"suspended": {
|
|
97
|
-
"type": "boolean",
|
|
98
|
-
"description": "Filter by suspension status. Omit to return all accounts regardless of status"
|
|
53
|
+
"gte": {
|
|
54
|
+
"type": "number",
|
|
55
|
+
"description": "Filter marks updated on or after this timestamp (ms)"
|
|
99
56
|
},
|
|
100
|
-
"
|
|
101
|
-
"type": "
|
|
102
|
-
"description": "Filter
|
|
103
|
-
},
|
|
104
|
-
"m": {
|
|
105
|
-
"$ref": "#/definitions/query_toolkit/anyOf/0/anyOf/0/properties/filter/properties/name",
|
|
106
|
-
"description": "Filter by messenger name (supports fuzzy match)"
|
|
107
|
-
},
|
|
108
|
-
"createdAt": {
|
|
109
|
-
"type": "object",
|
|
110
|
-
"properties": {
|
|
111
|
-
"gte": {
|
|
112
|
-
"type": "number",
|
|
113
|
-
"description": "Filter accounts created on or after this timestamp (ms)"
|
|
114
|
-
},
|
|
115
|
-
"lte": {
|
|
116
|
-
"type": "number",
|
|
117
|
-
"description": "Filter accounts created on or before this timestamp (ms)"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
"additionalProperties": false,
|
|
121
|
-
"description": "Filter by creation time range"
|
|
122
|
-
},
|
|
123
|
-
"updatedAt": {
|
|
124
|
-
"type": "object",
|
|
125
|
-
"properties": {
|
|
126
|
-
"gte": {
|
|
127
|
-
"type": "number",
|
|
128
|
-
"description": "Filter accounts updated on or after this timestamp (ms)"
|
|
129
|
-
},
|
|
130
|
-
"lte": {
|
|
131
|
-
"type": "number",
|
|
132
|
-
"description": "Filter accounts updated on or before this timestamp (ms)"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
"additionalProperties": false,
|
|
136
|
-
"description": "Filter by update time range"
|
|
137
|
-
},
|
|
138
|
-
"includePubkey": {
|
|
139
|
-
"type": "boolean",
|
|
140
|
-
"description": "Include pubkey in results (default: false). Pubkey is large (~900 bytes), omit unless needed"
|
|
57
|
+
"lte": {
|
|
58
|
+
"type": "number",
|
|
59
|
+
"description": "Filter marks updated on or before this timestamp (ms)"
|
|
141
60
|
}
|
|
142
61
|
},
|
|
143
62
|
"additionalProperties": false,
|
|
144
|
-
"description": "
|
|
63
|
+
"description": "Filter by update time range"
|
|
145
64
|
}
|
|
146
65
|
},
|
|
147
|
-
"required": [
|
|
148
|
-
"query_type"
|
|
149
|
-
],
|
|
150
66
|
"additionalProperties": false,
|
|
151
|
-
"description": "
|
|
67
|
+
"description": "Local mark filter"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required": [
|
|
71
|
+
"query_type"
|
|
72
|
+
],
|
|
73
|
+
"additionalProperties": false,
|
|
74
|
+
"description": "Query your LOCAL address book — maps human-readable names to blockchain addresses with optional tags. Use to resolve names→addresses or find addresses by tag. Returns: MarkData[] (name, address, tags, timestamps)"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "object",
|
|
78
|
+
"properties": {
|
|
79
|
+
"query_type": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"const": "account_list"
|
|
152
82
|
},
|
|
153
|
-
{
|
|
83
|
+
"filter": {
|
|
154
84
|
"type": "object",
|
|
155
85
|
"properties": {
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"
|
|
86
|
+
"name": {
|
|
87
|
+
"$ref": "#/definitions/query_toolkit/anyOf/0/properties/filter/properties/name",
|
|
88
|
+
"description": "Filter by account name (supports fuzzy match)"
|
|
159
89
|
},
|
|
160
|
-
"
|
|
90
|
+
"address": {
|
|
91
|
+
"$ref": "#/definitions/query_toolkit/anyOf/0/properties/filter/properties/address",
|
|
92
|
+
"description": "Filter by account address (supports partial match, format: 0x + hex characters)"
|
|
93
|
+
},
|
|
94
|
+
"suspended": {
|
|
95
|
+
"type": "boolean",
|
|
96
|
+
"description": "Filter by suspension status. Omit to return all accounts regardless of status"
|
|
97
|
+
},
|
|
98
|
+
"hasMessenger": {
|
|
99
|
+
"type": "boolean",
|
|
100
|
+
"description": "Filter accounts with messenger enabled"
|
|
101
|
+
},
|
|
102
|
+
"m": {
|
|
103
|
+
"$ref": "#/definitions/query_toolkit/anyOf/0/properties/filter/properties/name",
|
|
104
|
+
"description": "Filter by messenger name (supports fuzzy match)"
|
|
105
|
+
},
|
|
106
|
+
"createdAt": {
|
|
161
107
|
"type": "object",
|
|
162
108
|
"properties": {
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"description": "Filter
|
|
109
|
+
"gte": {
|
|
110
|
+
"type": "number",
|
|
111
|
+
"description": "Filter accounts created on or after this timestamp (ms)"
|
|
166
112
|
},
|
|
167
|
-
"
|
|
168
|
-
"type": "
|
|
169
|
-
"description": "Filter
|
|
170
|
-
},
|
|
171
|
-
"contents": {
|
|
172
|
-
"type": "array",
|
|
173
|
-
"items": {
|
|
174
|
-
"type": "string"
|
|
175
|
-
},
|
|
176
|
-
"description": "Filter by contents - returns info that contains ANY of the specified content items"
|
|
177
|
-
},
|
|
178
|
-
"createdAt": {
|
|
179
|
-
"type": "object",
|
|
180
|
-
"properties": {
|
|
181
|
-
"gte": {
|
|
182
|
-
"type": "number",
|
|
183
|
-
"description": "Filter info created on or after this timestamp (ms)"
|
|
184
|
-
},
|
|
185
|
-
"lte": {
|
|
186
|
-
"type": "number",
|
|
187
|
-
"description": "Filter info created on or before this timestamp (ms)"
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
"additionalProperties": false,
|
|
191
|
-
"description": "Filter by creation time range"
|
|
192
|
-
},
|
|
193
|
-
"updatedAt": {
|
|
194
|
-
"type": "object",
|
|
195
|
-
"properties": {
|
|
196
|
-
"gte": {
|
|
197
|
-
"type": "number",
|
|
198
|
-
"description": "Filter info updated on or after this timestamp (ms)"
|
|
199
|
-
},
|
|
200
|
-
"lte": {
|
|
201
|
-
"type": "number",
|
|
202
|
-
"description": "Filter info updated on or before this timestamp (ms)"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"additionalProperties": false,
|
|
206
|
-
"description": "Filter by update time range"
|
|
113
|
+
"lte": {
|
|
114
|
+
"type": "number",
|
|
115
|
+
"description": "Filter accounts created on or before this timestamp (ms)"
|
|
207
116
|
}
|
|
208
117
|
},
|
|
209
118
|
"additionalProperties": false,
|
|
210
|
-
"description": "
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
"required": [
|
|
214
|
-
"query_type"
|
|
215
|
-
],
|
|
216
|
-
"additionalProperties": false,
|
|
217
|
-
"description": "Query your LOCAL private info — sensitive data like delivery addresses, phone numbers, contacts stored ONLY on this device. Use to retrieve saved contact/delivery details. Returns: InfoData[] (name, default value, contents, timestamps)"
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
"type": "object",
|
|
221
|
-
"properties": {
|
|
222
|
-
"query_type": {
|
|
223
|
-
"type": "string",
|
|
224
|
-
"const": "token_list"
|
|
119
|
+
"description": "Filter by creation time range"
|
|
225
120
|
},
|
|
226
|
-
"
|
|
121
|
+
"updatedAt": {
|
|
227
122
|
"type": "object",
|
|
228
123
|
"properties": {
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"description": "
|
|
124
|
+
"gte": {
|
|
125
|
+
"type": "number",
|
|
126
|
+
"description": "Filter accounts updated on or after this timestamp (ms)"
|
|
232
127
|
},
|
|
233
|
-
"
|
|
234
|
-
"type": "
|
|
235
|
-
"description": "
|
|
236
|
-
},
|
|
237
|
-
"type": {
|
|
238
|
-
"type": "string",
|
|
239
|
-
"description": "Token type"
|
|
128
|
+
"lte": {
|
|
129
|
+
"type": "number",
|
|
130
|
+
"description": "Filter accounts updated on or before this timestamp (ms)"
|
|
240
131
|
}
|
|
241
132
|
},
|
|
242
133
|
"additionalProperties": false,
|
|
243
|
-
"description": "
|
|
134
|
+
"description": "Filter by update time range"
|
|
135
|
+
},
|
|
136
|
+
"includePubkey": {
|
|
137
|
+
"type": "boolean",
|
|
138
|
+
"description": "Include pubkey in results (default: false). Pubkey is large (~900 bytes), omit unless needed"
|
|
244
139
|
}
|
|
245
140
|
},
|
|
246
|
-
"required": [
|
|
247
|
-
"query_type"
|
|
248
|
-
],
|
|
249
141
|
"additionalProperties": false,
|
|
250
|
-
"description": "
|
|
142
|
+
"description": "Account filter"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"required": [
|
|
146
|
+
"query_type"
|
|
147
|
+
],
|
|
148
|
+
"additionalProperties": false,
|
|
149
|
+
"description": "Query your LOCAL accounts — view all accounts stored on this device (addresses, messenger status, suspension state). Use filter.includePubkey=true to also include public keys (~900 bytes each, omitted by default). Returns: AccountData[] (name, address, pubkey?, suspended, messenger, timestamps)"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"type": "object",
|
|
153
|
+
"properties": {
|
|
154
|
+
"query_type": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"const": "local_info_list"
|
|
251
157
|
},
|
|
252
|
-
{
|
|
158
|
+
"filter": {
|
|
253
159
|
"type": "object",
|
|
254
160
|
"properties": {
|
|
255
|
-
"
|
|
256
|
-
"
|
|
257
|
-
"
|
|
161
|
+
"name": {
|
|
162
|
+
"$ref": "#/definitions/query_toolkit/anyOf/0/properties/filter/properties/name",
|
|
163
|
+
"description": "Filter by info name (supports fuzzy match)"
|
|
258
164
|
},
|
|
259
|
-
"
|
|
165
|
+
"default": {
|
|
260
166
|
"type": "string",
|
|
261
|
-
"description": "
|
|
167
|
+
"description": "Filter by default value (supports fuzzy match)"
|
|
262
168
|
},
|
|
263
|
-
"
|
|
264
|
-
"type": "
|
|
265
|
-
"
|
|
169
|
+
"contents": {
|
|
170
|
+
"type": "array",
|
|
171
|
+
"items": {
|
|
172
|
+
"type": "string"
|
|
173
|
+
},
|
|
174
|
+
"description": "Filter by contents - returns info that contains ANY of the specified content items"
|
|
266
175
|
},
|
|
267
|
-
"
|
|
176
|
+
"createdAt": {
|
|
268
177
|
"type": "object",
|
|
269
178
|
"properties": {
|
|
270
|
-
"
|
|
271
|
-
"type":
|
|
272
|
-
|
|
273
|
-
"null"
|
|
274
|
-
],
|
|
275
|
-
"description": "Pagination cursor for listing coin objects"
|
|
179
|
+
"gte": {
|
|
180
|
+
"type": "number",
|
|
181
|
+
"description": "Filter info created on or after this timestamp (ms)"
|
|
276
182
|
},
|
|
277
|
-
"
|
|
278
|
-
"type":
|
|
279
|
-
|
|
280
|
-
"null"
|
|
281
|
-
],
|
|
282
|
-
"description": "Max coin objects per page"
|
|
183
|
+
"lte": {
|
|
184
|
+
"type": "number",
|
|
185
|
+
"description": "Filter info created on or before this timestamp (ms)"
|
|
283
186
|
}
|
|
284
187
|
},
|
|
285
188
|
"additionalProperties": false,
|
|
286
|
-
"description": "
|
|
189
|
+
"description": "Filter by creation time range"
|
|
287
190
|
},
|
|
288
|
-
"
|
|
289
|
-
"type": "
|
|
290
|
-
"
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
"
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
"description": "Network entrypoint: Specifies which network the operation occurs on"
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
"required": [
|
|
303
|
-
"query_type"
|
|
304
|
-
],
|
|
305
|
-
"additionalProperties": false,
|
|
306
|
-
"description": "Query an account's coin balance OR paginated coin objects. Use balance=true for total amount, or coin={cursor,limit} to list individual coin objects. Returns: { address, balance? | coin? }"
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"type": "object",
|
|
310
|
-
"properties": {
|
|
311
|
-
"query_type": {
|
|
312
|
-
"type": "string",
|
|
313
|
-
"const": "local_names"
|
|
314
|
-
},
|
|
315
|
-
"addresses": {
|
|
316
|
-
"type": "array",
|
|
317
|
-
"items": {
|
|
318
|
-
"type": "string"
|
|
191
|
+
"updatedAt": {
|
|
192
|
+
"type": "object",
|
|
193
|
+
"properties": {
|
|
194
|
+
"gte": {
|
|
195
|
+
"type": "number",
|
|
196
|
+
"description": "Filter info updated on or after this timestamp (ms)"
|
|
197
|
+
},
|
|
198
|
+
"lte": {
|
|
199
|
+
"type": "number",
|
|
200
|
+
"description": "Filter info updated on or before this timestamp (ms)"
|
|
201
|
+
}
|
|
319
202
|
},
|
|
320
|
-
"
|
|
203
|
+
"additionalProperties": false,
|
|
204
|
+
"description": "Filter by update time range"
|
|
321
205
|
}
|
|
322
206
|
},
|
|
323
|
-
"required": [
|
|
324
|
-
"query_type",
|
|
325
|
-
"addresses"
|
|
326
|
-
],
|
|
327
207
|
"additionalProperties": false,
|
|
328
|
-
"description": "
|
|
208
|
+
"description": "Local info filter"
|
|
329
209
|
}
|
|
330
|
-
|
|
210
|
+
},
|
|
211
|
+
"required": [
|
|
212
|
+
"query_type"
|
|
213
|
+
],
|
|
214
|
+
"additionalProperties": false,
|
|
215
|
+
"description": "Query your LOCAL private info — sensitive data like delivery addresses, phone numbers, contacts stored ONLY on this device. Use to retrieve saved contact/delivery details. Returns: InfoData[] (name, default value, contents, timestamps)"
|
|
331
216
|
},
|
|
332
217
|
{
|
|
333
|
-
"
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
"
|
|
337
|
-
|
|
338
|
-
"type": "string",
|
|
339
|
-
"const": "onchain_personal_profile"
|
|
340
|
-
},
|
|
341
|
-
"account": {
|
|
342
|
-
"$ref": "#/definitions/query_toolkit/anyOf/0/anyOf/4/properties/name_or_address",
|
|
343
|
-
"description": "Account name or ID to query. Use empty string '' for the default account."
|
|
344
|
-
},
|
|
345
|
-
"no_cache": {
|
|
346
|
-
"type": "boolean",
|
|
347
|
-
"description": "Set to true to bypass cache and fetch fresh on-chain data"
|
|
348
|
-
},
|
|
349
|
-
"network": {
|
|
350
|
-
"$ref": "#/definitions/query_toolkit/anyOf/0/anyOf/4/properties/network",
|
|
351
|
-
"description": "Network entrypoint: Specifies which network the operation occurs on"
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
|
-
"required": [
|
|
355
|
-
"query_type"
|
|
356
|
-
],
|
|
357
|
-
"additionalProperties": false,
|
|
358
|
-
"description": "Query any user's PUBLIC on-chain profile — social links, reputation (likes/dislikes), personal info records, voting history, referrer. Use to look up a user's public identity and reputation. Returns: ObjectPersonal | undefined"
|
|
218
|
+
"type": "object",
|
|
219
|
+
"properties": {
|
|
220
|
+
"query_type": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"const": "token_list"
|
|
359
223
|
},
|
|
360
|
-
{
|
|
224
|
+
"filter": {
|
|
361
225
|
"type": "object",
|
|
362
226
|
"properties": {
|
|
363
|
-
"
|
|
364
|
-
"
|
|
365
|
-
"
|
|
366
|
-
},
|
|
367
|
-
"objects": {
|
|
368
|
-
"type": "array",
|
|
369
|
-
"items": {
|
|
370
|
-
"$ref": "#/definitions/query_toolkit/anyOf/0/anyOf/4/properties/name_or_address"
|
|
371
|
-
},
|
|
372
|
-
"description": "List of object IDs (names or addresses) to query in batch"
|
|
227
|
+
"alias_or_name": {
|
|
228
|
+
"$ref": "#/definitions/query_toolkit/anyOf/0/properties/filter/properties/name",
|
|
229
|
+
"description": "Alias or name filter"
|
|
373
230
|
},
|
|
374
|
-
"
|
|
375
|
-
"type": "
|
|
376
|
-
"description": "
|
|
231
|
+
"symbol": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"description": "Token symbol"
|
|
377
234
|
},
|
|
378
|
-
"
|
|
379
|
-
"
|
|
380
|
-
"description": "
|
|
235
|
+
"type": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"description": "Token type"
|
|
381
238
|
}
|
|
382
239
|
},
|
|
383
|
-
"required": [
|
|
384
|
-
"query_type",
|
|
385
|
-
"objects"
|
|
386
|
-
],
|
|
387
240
|
"additionalProperties": false,
|
|
388
|
-
"description": "
|
|
241
|
+
"description": "Token data filter"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"required": [
|
|
245
|
+
"query_type"
|
|
246
|
+
],
|
|
247
|
+
"additionalProperties": false,
|
|
248
|
+
"description": "Query cached token metadata — symbol, decimals, icon URL, description for tokens previously fetched from chain. Use to look up token info without an on-chain query. Returns: TokenTypeInfo[] (type, alias, name, symbol, decimals, iconUrl)"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"type": "object",
|
|
252
|
+
"properties": {
|
|
253
|
+
"query_type": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"const": "account_balance"
|
|
389
256
|
},
|
|
390
|
-
{
|
|
257
|
+
"name_or_address": {
|
|
258
|
+
"type": "string",
|
|
259
|
+
"description": "Account name or address. Use empty string '' for the default account. Defaults to '' if omitted."
|
|
260
|
+
},
|
|
261
|
+
"balance": {
|
|
262
|
+
"type": "boolean",
|
|
263
|
+
"description": "Set to true to query total balance amount for the token type"
|
|
264
|
+
},
|
|
265
|
+
"coin": {
|
|
391
266
|
"type": "object",
|
|
392
267
|
"properties": {
|
|
393
|
-
"query_type": {
|
|
394
|
-
"type": "string",
|
|
395
|
-
"const": "onchain_received"
|
|
396
|
-
},
|
|
397
|
-
"name_or_address": {
|
|
398
|
-
"anyOf": [
|
|
399
|
-
{
|
|
400
|
-
"type": "string",
|
|
401
|
-
"description": "Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x1234...' - uses address directly"
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
"type": "object",
|
|
405
|
-
"properties": {
|
|
406
|
-
"name_or_address": {
|
|
407
|
-
"$ref": "#/definitions/query_toolkit/anyOf/0/anyOf/4/properties/name_or_address",
|
|
408
|
-
"description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
|
|
409
|
-
},
|
|
410
|
-
"local_mark_first": {
|
|
411
|
-
"type": "boolean",
|
|
412
|
-
"description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks"
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
"additionalProperties": false,
|
|
416
|
-
"description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account."
|
|
417
|
-
}
|
|
418
|
-
],
|
|
419
|
-
"description": "Name or address of the object that received payments/items - can be a string (name/address) or full object"
|
|
420
|
-
},
|
|
421
|
-
"type": {
|
|
422
|
-
"anyOf": [
|
|
423
|
-
{
|
|
424
|
-
"type": "string"
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
"type": "string",
|
|
428
|
-
"const": "CoinWrapper"
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
"type": "null"
|
|
432
|
-
}
|
|
433
|
-
],
|
|
434
|
-
"description": "Type filter for querying received objects. - If undefined or null: query all types (equivalent to the old all_type=true). - If 'CoinWrapper': query CoinWrapper type for the object's token (equivalent to the old all_type=false). - If string: query specific StructType (e.g., '0x2::payment::CoinWrapper<0x2::wow::WOW>')."
|
|
435
|
-
},
|
|
436
268
|
"cursor": {
|
|
437
269
|
"type": [
|
|
438
270
|
"string",
|
|
439
271
|
"null"
|
|
440
272
|
],
|
|
441
|
-
"description": "Pagination cursor
|
|
273
|
+
"description": "Pagination cursor for listing coin objects"
|
|
442
274
|
},
|
|
443
275
|
"limit": {
|
|
444
276
|
"type": [
|
|
445
277
|
"number",
|
|
446
278
|
"null"
|
|
447
279
|
],
|
|
448
|
-
"description": "Max
|
|
280
|
+
"description": "Max coin objects per page"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"additionalProperties": false,
|
|
284
|
+
"description": "Set to query paginated coin objects instead of balance. Use cursor/limit for pagination."
|
|
285
|
+
},
|
|
286
|
+
"token_type": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"description": "Token type to query; defaults to 0x2::wow::WOW (platform token)"
|
|
289
|
+
},
|
|
290
|
+
"network": {
|
|
291
|
+
"type": "string",
|
|
292
|
+
"enum": [
|
|
293
|
+
"localnet",
|
|
294
|
+
"testnet",
|
|
295
|
+
"mainnet"
|
|
296
|
+
],
|
|
297
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on"
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"required": [
|
|
301
|
+
"query_type"
|
|
302
|
+
],
|
|
303
|
+
"additionalProperties": false,
|
|
304
|
+
"description": "Query an account's coin balance OR paginated coin objects. Use balance=true for total amount, or coin={cursor,limit} to list individual coin objects. Returns: { address, balance? | coin? }"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"type": "object",
|
|
308
|
+
"properties": {
|
|
309
|
+
"query_type": {
|
|
310
|
+
"type": "string",
|
|
311
|
+
"const": "local_names"
|
|
312
|
+
},
|
|
313
|
+
"addresses": {
|
|
314
|
+
"type": "array",
|
|
315
|
+
"items": {
|
|
316
|
+
"type": "string"
|
|
317
|
+
},
|
|
318
|
+
"description": "Array of addresses to look up local names for"
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
"required": [
|
|
322
|
+
"query_type",
|
|
323
|
+
"addresses"
|
|
324
|
+
],
|
|
325
|
+
"additionalProperties": false,
|
|
326
|
+
"description": "Query local names (account name and local mark name) for a list of addresses. Returns array of: { account?: string, local_mark?: string, address: string }"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"type": "object",
|
|
330
|
+
"properties": {
|
|
331
|
+
"query_type": {
|
|
332
|
+
"type": "string",
|
|
333
|
+
"const": "onchain_personal_profile"
|
|
334
|
+
},
|
|
335
|
+
"account": {
|
|
336
|
+
"$ref": "#/definitions/query_toolkit/anyOf/4/properties/name_or_address",
|
|
337
|
+
"description": "Account name or ID to query. Use empty string '' for the default account."
|
|
338
|
+
},
|
|
339
|
+
"no_cache": {
|
|
340
|
+
"type": "boolean",
|
|
341
|
+
"description": "Set to true to bypass cache and fetch fresh on-chain data"
|
|
342
|
+
},
|
|
343
|
+
"network": {
|
|
344
|
+
"$ref": "#/definitions/query_toolkit/anyOf/4/properties/network",
|
|
345
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"required": [
|
|
349
|
+
"query_type"
|
|
350
|
+
],
|
|
351
|
+
"additionalProperties": false,
|
|
352
|
+
"description": "Query any user's PUBLIC on-chain profile — social links, reputation (likes/dislikes), personal info records, voting history, referrer. Use to look up a user's public identity and reputation. Returns: ObjectPersonal | undefined"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"type": "object",
|
|
356
|
+
"properties": {
|
|
357
|
+
"query_type": {
|
|
358
|
+
"type": "string",
|
|
359
|
+
"const": "onchain_objects"
|
|
360
|
+
},
|
|
361
|
+
"objects": {
|
|
362
|
+
"type": "array",
|
|
363
|
+
"items": {
|
|
364
|
+
"$ref": "#/definitions/query_toolkit/anyOf/4/properties/name_or_address"
|
|
365
|
+
},
|
|
366
|
+
"description": "List of object IDs (names or addresses) to query in batch"
|
|
367
|
+
},
|
|
368
|
+
"no_cache": {
|
|
369
|
+
"type": "boolean",
|
|
370
|
+
"description": "Set to true to bypass cache and fetch fresh on-chain data"
|
|
371
|
+
},
|
|
372
|
+
"network": {
|
|
373
|
+
"$ref": "#/definitions/query_toolkit/anyOf/4/properties/network",
|
|
374
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"required": [
|
|
378
|
+
"query_type",
|
|
379
|
+
"objects"
|
|
380
|
+
],
|
|
381
|
+
"additionalProperties": false,
|
|
382
|
+
"description": "Batch query on-chain WOWOK objects by ID or name — supports Service, Machine, Order, Treasury, Reward, Arb, Personal, Contact, and more. Use to inspect one or more objects in a single call. Returns: { objects: ObjectBase[] }"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"type": "object",
|
|
386
|
+
"properties": {
|
|
387
|
+
"query_type": {
|
|
388
|
+
"type": "string",
|
|
389
|
+
"const": "onchain_received"
|
|
390
|
+
},
|
|
391
|
+
"name_or_address": {
|
|
392
|
+
"anyOf": [
|
|
393
|
+
{
|
|
394
|
+
"type": "string",
|
|
395
|
+
"description": "Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x1234...' - uses address directly"
|
|
449
396
|
},
|
|
450
|
-
|
|
451
|
-
"type": "
|
|
452
|
-
"
|
|
397
|
+
{
|
|
398
|
+
"type": "object",
|
|
399
|
+
"properties": {
|
|
400
|
+
"name_or_address": {
|
|
401
|
+
"$ref": "#/definitions/query_toolkit/anyOf/4/properties/name_or_address",
|
|
402
|
+
"description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
|
|
403
|
+
},
|
|
404
|
+
"local_mark_first": {
|
|
405
|
+
"type": "boolean",
|
|
406
|
+
"description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"additionalProperties": false,
|
|
410
|
+
"description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account."
|
|
411
|
+
}
|
|
412
|
+
],
|
|
413
|
+
"description": "Name or address of the object that received payments/items - can be a string (name/address) or full object"
|
|
414
|
+
},
|
|
415
|
+
"type": {
|
|
416
|
+
"anyOf": [
|
|
417
|
+
{
|
|
418
|
+
"type": "string"
|
|
453
419
|
},
|
|
454
|
-
|
|
455
|
-
"
|
|
456
|
-
"
|
|
420
|
+
{
|
|
421
|
+
"type": "string",
|
|
422
|
+
"const": "CoinWrapper"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"type": "null"
|
|
457
426
|
}
|
|
458
|
-
},
|
|
459
|
-
"required": [
|
|
460
|
-
"query_type",
|
|
461
|
-
"name_or_address"
|
|
462
427
|
],
|
|
463
|
-
"
|
|
464
|
-
|
|
428
|
+
"description": "Type filter for querying received objects. - If undefined or null: query all types (equivalent to the old all_type=true). - If 'CoinWrapper': query CoinWrapper type for the object's token (equivalent to the old all_type=false). - If string: query specific StructType (e.g., '0x2::payment::CoinWrapper<0x2::wow::WOW>')."
|
|
429
|
+
},
|
|
430
|
+
"cursor": {
|
|
431
|
+
"type": [
|
|
432
|
+
"string",
|
|
433
|
+
"null"
|
|
434
|
+
],
|
|
435
|
+
"description": "Pagination cursor from previous page"
|
|
436
|
+
},
|
|
437
|
+
"limit": {
|
|
438
|
+
"type": [
|
|
439
|
+
"number",
|
|
440
|
+
"null"
|
|
441
|
+
],
|
|
442
|
+
"description": "Max records per page"
|
|
443
|
+
},
|
|
444
|
+
"no_cache": {
|
|
445
|
+
"type": "boolean",
|
|
446
|
+
"description": "Set to true to bypass cache and fetch fresh on-chain data"
|
|
447
|
+
},
|
|
448
|
+
"network": {
|
|
449
|
+
"$ref": "#/definitions/query_toolkit/anyOf/4/properties/network",
|
|
450
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on"
|
|
465
451
|
}
|
|
466
|
-
|
|
452
|
+
},
|
|
453
|
+
"required": [
|
|
454
|
+
"query_type",
|
|
455
|
+
"name_or_address"
|
|
456
|
+
],
|
|
457
|
+
"additionalProperties": false,
|
|
458
|
+
"description": "Query objects (Payments, Tokens, NFTs) received by a specific object. Use to track incoming payments or items sent to an on-chain object. Supports pagination and type filter. Returns: ReceivedBalance | ReceivedNormal[]"
|
|
467
459
|
}
|
|
468
460
|
]
|
|
469
461
|
}
|