File tree Expand file tree Collapse file tree 3 files changed +260
-7
lines changed Expand file tree Collapse file tree 3 files changed +260
-7
lines changed Original file line number Diff line number Diff line change 6868 "amount" : {
6969 "$ref" : " #/definitions/Uint128"
7070 },
71+ "memo" : {
72+ "type" : [
73+ " string" ,
74+ " null"
75+ ]
76+ },
7177 "padding" : {
7278 "type" : [
7379 " string" ,
97103 "amount" : {
98104 "$ref" : " #/definitions/Uint128"
99105 },
106+ "memo" : {
107+ "type" : [
108+ " string" ,
109+ " null"
110+ ]
111+ },
100112 "msg" : {
101113 "anyOf" : [
102114 {
135147 "amount" : {
136148 "$ref" : " #/definitions/Uint128"
137149 },
150+ "memo" : {
151+ "type" : [
152+ " string" ,
153+ " null"
154+ ]
155+ },
138156 "padding" : {
139157 "type" : [
140158 " string" ,
311329 "amount" : {
312330 "$ref" : " #/definitions/Uint128"
313331 },
332+ "memo" : {
333+ "type" : [
334+ " string" ,
335+ " null"
336+ ]
337+ },
314338 "owner" : {
315339 "$ref" : " #/definitions/HumanAddr"
316340 },
344368 "amount" : {
345369 "$ref" : " #/definitions/Uint128"
346370 },
371+ "memo" : {
372+ "type" : [
373+ " string" ,
374+ " null"
375+ ]
376+ },
347377 "msg" : {
348378 "anyOf" : [
349379 {
386416 "amount" : {
387417 "$ref" : " #/definitions/Uint128"
388418 },
419+ "memo" : {
420+ "type" : [
421+ " string" ,
422+ " null"
423+ ]
424+ },
389425 "owner" : {
390426 "$ref" : " #/definitions/HumanAddr"
391427 },
415451 "amount" : {
416452 "$ref" : " #/definitions/Uint128"
417453 },
454+ "memo" : {
455+ "type" : [
456+ " string" ,
457+ " null"
458+ ]
459+ },
418460 "padding" : {
419461 "type" : [
420462 " string" ,
Original file line number Diff line number Diff line change 183183 }
184184 }
185185 },
186+ {
187+ "type" : " object" ,
188+ "required" : [
189+ " transaction_history"
190+ ],
191+ "properties" : {
192+ "transaction_history" : {
193+ "type" : " object" ,
194+ "required" : [
195+ " txs"
196+ ],
197+ "properties" : {
198+ "total" : {
199+ "type" : [
200+ " integer" ,
201+ " null"
202+ ],
203+ "format" : " uint64" ,
204+ "minimum" : 0.0
205+ },
206+ "txs" : {
207+ "type" : " array" ,
208+ "items" : {
209+ "$ref" : " #/definitions/RichTx"
210+ }
211+ }
212+ }
213+ }
214+ }
215+ },
186216 {
187217 "type" : " object" ,
188218 "required" : [
244274 "HumanAddr" : {
245275 "type" : " string"
246276 },
277+ "RichTx" : {
278+ "type" : " object" ,
279+ "required" : [
280+ " action" ,
281+ " block_height" ,
282+ " block_time" ,
283+ " coins" ,
284+ " id"
285+ ],
286+ "properties" : {
287+ "action" : {
288+ "$ref" : " #/definitions/TxAction"
289+ },
290+ "block_height" : {
291+ "type" : " integer" ,
292+ "format" : " uint64" ,
293+ "minimum" : 0.0
294+ },
295+ "block_time" : {
296+ "type" : " integer" ,
297+ "format" : " uint64" ,
298+ "minimum" : 0.0
299+ },
300+ "coins" : {
301+ "$ref" : " #/definitions/Coin"
302+ },
303+ "id" : {
304+ "type" : " integer" ,
305+ "format" : " uint64" ,
306+ "minimum" : 0.0
307+ },
308+ "memo" : {
309+ "type" : [
310+ " string" ,
311+ " null"
312+ ]
313+ }
314+ }
315+ },
247316 "Tx" : {
248317 "type" : " object" ,
249318 "required" : [
262331 "format" : " uint64" ,
263332 "minimum" : 0.0
264333 },
334+ "block_time" : {
335+ "type" : [
336+ " integer" ,
337+ " null"
338+ ],
339+ "format" : " uint64" ,
340+ "minimum" : 0.0
341+ },
265342 "coins" : {
266343 "$ref" : " #/definitions/Coin"
267344 },
273350 "format" : " uint64" ,
274351 "minimum" : 0.0
275352 },
353+ "memo" : {
354+ "type" : [
355+ " string" ,
356+ " null"
357+ ]
358+ },
276359 "receiver" : {
277360 "$ref" : " #/definitions/HumanAddr"
278361 },
279362 "sender" : {
280363 "$ref" : " #/definitions/HumanAddr"
364+ }
365+ }
366+ },
367+ "TxAction" : {
368+ "anyOf" : [
369+ {
370+ "type" : " object" ,
371+ "required" : [
372+ " transfer"
373+ ],
374+ "properties" : {
375+ "transfer" : {
376+ "type" : " object" ,
377+ "required" : [
378+ " from" ,
379+ " recipient" ,
380+ " sender"
381+ ],
382+ "properties" : {
383+ "from" : {
384+ "$ref" : " #/definitions/HumanAddr"
385+ },
386+ "recipient" : {
387+ "$ref" : " #/definitions/HumanAddr"
388+ },
389+ "sender" : {
390+ "$ref" : " #/definitions/HumanAddr"
391+ }
392+ }
393+ }
394+ }
281395 },
282- "timestamp" : {
283- "type" : [
284- " integer " ,
285- " null "
396+ {
397+ "type" : " object " ,
398+ "required" : [
399+ " mint "
286400 ],
287- "format" : " uint64" ,
288- "minimum" : 0.0
401+ "properties" : {
402+ "mint" : {
403+ "type" : " object" ,
404+ "required" : [
405+ " minter" ,
406+ " recipient"
407+ ],
408+ "properties" : {
409+ "minter" : {
410+ "$ref" : " #/definitions/HumanAddr"
411+ },
412+ "recipient" : {
413+ "$ref" : " #/definitions/HumanAddr"
414+ }
415+ }
416+ }
417+ }
418+ },
419+ {
420+ "type" : " object" ,
421+ "required" : [
422+ " burn"
423+ ],
424+ "properties" : {
425+ "burn" : {
426+ "type" : " object" ,
427+ "required" : [
428+ " burner" ,
429+ " owner"
430+ ],
431+ "properties" : {
432+ "burner" : {
433+ "$ref" : " #/definitions/HumanAddr"
434+ },
435+ "owner" : {
436+ "$ref" : " #/definitions/HumanAddr"
437+ }
438+ }
439+ }
440+ }
441+ },
442+ {
443+ "type" : " object" ,
444+ "required" : [
445+ " deposit"
446+ ],
447+ "properties" : {
448+ "deposit" : {
449+ "type" : " object"
450+ }
451+ }
452+ },
453+ {
454+ "type" : " object" ,
455+ "required" : [
456+ " redeem"
457+ ],
458+ "properties" : {
459+ "redeem" : {
460+ "type" : " object"
461+ }
462+ }
289463 }
290- }
464+ ]
291465 },
292466 "Uint128" : {
293467 "type" : " string"
Original file line number Diff line number Diff line change 122122 }
123123 }
124124 },
125+ {
126+ "type" : " object" ,
127+ "required" : [
128+ " transaction_history"
129+ ],
130+ "properties" : {
131+ "transaction_history" : {
132+ "type" : " object" ,
133+ "required" : [
134+ " address" ,
135+ " key" ,
136+ " page_size"
137+ ],
138+ "properties" : {
139+ "address" : {
140+ "$ref" : " #/definitions/HumanAddr"
141+ },
142+ "key" : {
143+ "type" : " string"
144+ },
145+ "page" : {
146+ "type" : [
147+ " integer" ,
148+ " null"
149+ ],
150+ "format" : " uint32" ,
151+ "minimum" : 0.0
152+ },
153+ "page_size" : {
154+ "type" : " integer" ,
155+ "format" : " uint32" ,
156+ "minimum" : 0.0
157+ }
158+ }
159+ }
160+ }
161+ },
125162 {
126163 "type" : " object" ,
127164 "required" : [
You can’t perform that action at this time.
0 commit comments