@transia/ripple-binary-codec 1.4.6-alpha.9 → 2.5.1-quantum.0

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.
Files changed (340) hide show
  1. package/dist/binary.d.ts +30 -16
  2. package/dist/binary.js +36 -16
  3. package/dist/binary.js.map +1 -1
  4. package/dist/enums/bytes.d.ts +1 -2
  5. package/dist/enums/bytes.js +1 -2
  6. package/dist/enums/bytes.js.map +1 -1
  7. package/dist/enums/constants.d.ts +1 -0
  8. package/dist/enums/constants.js +6 -5
  9. package/dist/enums/constants.js.map +1 -1
  10. package/dist/enums/definitions.json +1535 -919
  11. package/dist/enums/field.d.ts +1 -2
  12. package/dist/enums/field.js +1 -2
  13. package/dist/enums/field.js.map +1 -1
  14. package/dist/enums/index.d.ts +1 -2
  15. package/dist/enums/index.js +5 -27
  16. package/dist/enums/index.js.map +1 -1
  17. package/dist/enums/src/enums/definitions.json +1537 -921
  18. package/dist/enums/xrpl-definitions-base.d.ts +5 -3
  19. package/dist/enums/xrpl-definitions-base.js +26 -6
  20. package/dist/enums/xrpl-definitions-base.js.map +1 -1
  21. package/dist/enums/xrpl-definitions.d.ts +2 -1
  22. package/dist/enums/xrpl-definitions.js +2 -1
  23. package/dist/enums/xrpl-definitions.js.map +1 -1
  24. package/dist/hash-prefixes.d.ts +1 -2
  25. package/dist/hash-prefixes.js +8 -6
  26. package/dist/hash-prefixes.js.map +1 -1
  27. package/dist/hashes.d.ts +6 -7
  28. package/dist/hashes.js +6 -7
  29. package/dist/hashes.js.map +1 -1
  30. package/dist/index.d.ts +16 -11
  31. package/dist/index.js +53 -58
  32. package/dist/index.js.map +1 -1
  33. package/dist/ledger-hashes.d.ts +1 -2
  34. package/dist/ledger-hashes.js +11 -30
  35. package/dist/ledger-hashes.js.map +1 -1
  36. package/dist/quality.d.ts +3 -4
  37. package/dist/quality.js +10 -8
  38. package/dist/quality.js.map +1 -1
  39. package/dist/serdes/binary-parser.d.ts +2 -3
  40. package/dist/serdes/binary-parser.js +16 -32
  41. package/dist/serdes/binary-parser.js.map +1 -1
  42. package/dist/serdes/binary-serializer.d.ts +6 -7
  43. package/dist/serdes/binary-serializer.js +12 -35
  44. package/dist/serdes/binary-serializer.js.map +1 -1
  45. package/dist/shamap.d.ts +4 -5
  46. package/dist/shamap.js +5 -5
  47. package/dist/shamap.js.map +1 -1
  48. package/dist/src/binary.d.ts +106 -0
  49. package/dist/src/binary.js +154 -0
  50. package/dist/src/binary.js.map +1 -0
  51. package/dist/src/coretypes.d.ts +9 -0
  52. package/dist/src/coretypes.js +48 -0
  53. package/dist/src/coretypes.js.map +1 -0
  54. package/dist/src/enums/bytes.d.ts +25 -0
  55. package/dist/src/enums/bytes.js +63 -0
  56. package/dist/src/enums/bytes.js.map +1 -0
  57. package/dist/src/enums/constants.d.ts +5 -0
  58. package/dist/src/enums/constants.js +9 -0
  59. package/dist/src/enums/constants.js.map +1 -0
  60. package/dist/src/enums/definitions.json +3385 -0
  61. package/dist/src/enums/field.d.ts +28 -0
  62. package/dist/src/enums/field.js +58 -0
  63. package/dist/src/enums/field.js.map +1 -0
  64. package/dist/src/enums/index.d.ts +12 -0
  65. package/dist/src/enums/index.js +31 -0
  66. package/dist/src/enums/index.js.map +1 -0
  67. package/dist/src/enums/utils-renumber.d.ts +101 -0
  68. package/dist/src/enums/utils-renumber.js +127 -0
  69. package/dist/src/enums/utils-renumber.js.map +1 -0
  70. package/dist/src/enums/xrpl-definitions-base.d.ts +47 -0
  71. package/dist/src/enums/xrpl-definitions-base.js +83 -0
  72. package/dist/src/enums/xrpl-definitions-base.js.map +1 -0
  73. package/dist/src/enums/xrpl-definitions.d.ts +22 -0
  74. package/dist/src/enums/xrpl-definitions.js +30 -0
  75. package/dist/src/enums/xrpl-definitions.js.map +1 -0
  76. package/dist/src/hash-prefixes.d.ts +5 -0
  77. package/dist/src/hash-prefixes.js +43 -0
  78. package/dist/src/hash-prefixes.js.map +1 -0
  79. package/dist/src/hashes.d.ts +50 -0
  80. package/dist/src/hashes.js +76 -0
  81. package/dist/src/hashes.js.map +1 -0
  82. package/dist/src/index.d.ts +69 -0
  83. package/dist/src/index.js +134 -0
  84. package/dist/src/index.js.map +1 -0
  85. package/dist/src/ledger-hashes.d.ts +48 -0
  86. package/dist/src/ledger-hashes.js +141 -0
  87. package/dist/src/ledger-hashes.js.map +1 -0
  88. package/dist/src/quality.d.ts +21 -0
  89. package/dist/src/quality.js +42 -0
  90. package/dist/src/quality.js.map +1 -0
  91. package/dist/src/serdes/binary-parser.d.ts +100 -0
  92. package/dist/src/serdes/binary-parser.js +194 -0
  93. package/dist/src/serdes/binary-parser.js.map +1 -0
  94. package/dist/src/serdes/binary-serializer.d.ts +81 -0
  95. package/dist/src/serdes/binary-serializer.js +149 -0
  96. package/dist/src/serdes/binary-serializer.js.map +1 -0
  97. package/dist/src/shamap.d.ts +102 -0
  98. package/dist/src/shamap.js +172 -0
  99. package/dist/src/shamap.js.map +1 -0
  100. package/dist/src/types/account-id.d.ts +35 -0
  101. package/dist/src/types/account-id.js +69 -0
  102. package/dist/src/types/account-id.js.map +1 -0
  103. package/dist/src/types/amount.d.ts +91 -0
  104. package/dist/src/types/amount.js +289 -0
  105. package/dist/src/types/amount.js.map +1 -0
  106. package/dist/src/types/blob.d.ts +24 -0
  107. package/dist/src/types/blob.js +43 -0
  108. package/dist/src/types/blob.js.map +1 -0
  109. package/dist/src/types/currency.d.ts +28 -0
  110. package/dist/src/types/currency.js +127 -0
  111. package/dist/src/types/currency.js.map +1 -0
  112. package/dist/src/types/hash-128.d.ts +16 -0
  113. package/dist/src/types/hash-128.js +32 -0
  114. package/dist/src/types/hash-128.js.map +1 -0
  115. package/dist/src/types/hash-160.d.ts +10 -0
  116. package/dist/src/types/hash-160.js +19 -0
  117. package/dist/src/types/hash-160.js.map +1 -0
  118. package/dist/src/types/hash-192.d.ts +10 -0
  119. package/dist/src/types/hash-192.js +19 -0
  120. package/dist/src/types/hash-192.js.map +1 -0
  121. package/dist/src/types/hash-256.d.ts +10 -0
  122. package/dist/src/types/hash-256.js +16 -0
  123. package/dist/src/types/hash-256.js.map +1 -0
  124. package/dist/src/types/hash.d.ts +40 -0
  125. package/dist/src/types/hash.js +76 -0
  126. package/dist/src/types/hash.js.map +1 -0
  127. package/dist/src/types/index.d.ts +19 -0
  128. package/dist/src/types/index.js +66 -0
  129. package/dist/src/types/index.js.map +1 -0
  130. package/dist/src/types/issue.d.ts +48 -0
  131. package/dist/src/types/issue.js +104 -0
  132. package/dist/src/types/issue.js.map +1 -0
  133. package/dist/src/types/path-set.d.ts +36 -0
  134. package/dist/src/types/path-set.js +233 -0
  135. package/dist/src/types/path-set.js.map +1 -0
  136. package/dist/src/types/serialized-type.d.ts +70 -0
  137. package/dist/src/types/serialized-type.js +105 -0
  138. package/dist/src/types/serialized-type.js.map +1 -0
  139. package/dist/src/types/st-array.d.ts +31 -0
  140. package/dist/src/types/st-array.js +86 -0
  141. package/dist/src/types/st-array.js.map +1 -0
  142. package/dist/src/types/st-number.d.ts +54 -0
  143. package/dist/src/types/st-number.js +208 -0
  144. package/dist/src/types/st-number.js.map +1 -0
  145. package/dist/src/types/st-object.d.ts +32 -0
  146. package/dist/src/types/st-object.js +173 -0
  147. package/dist/src/types/st-object.js.map +1 -0
  148. package/dist/src/types/uint-16.d.ts +24 -0
  149. package/dist/src/types/uint-16.js +45 -0
  150. package/dist/src/types/uint-16.js.map +1 -0
  151. package/dist/src/types/uint-32.d.ts +24 -0
  152. package/dist/src/types/uint-32.js +50 -0
  153. package/dist/src/types/uint-32.js.map +1 -0
  154. package/dist/src/types/uint-64.d.ts +38 -0
  155. package/dist/src/types/uint-64.js +107 -0
  156. package/dist/src/types/uint-64.js.map +1 -0
  157. package/dist/src/types/uint-8.d.ts +24 -0
  158. package/dist/src/types/uint-8.js +46 -0
  159. package/dist/src/types/uint-8.js.map +1 -0
  160. package/dist/src/types/uint.d.ts +29 -0
  161. package/dist/src/types/uint.js +47 -0
  162. package/dist/src/types/uint.js.map +1 -0
  163. package/dist/src/types/vector-256.d.ts +30 -0
  164. package/dist/src/types/vector-256.js +73 -0
  165. package/dist/src/types/vector-256.js.map +1 -0
  166. package/dist/src/types/xchain-bridge.d.ts +44 -0
  167. package/dist/src/types/xchain-bridge.js +102 -0
  168. package/dist/src/types/xchain-bridge.js.map +1 -0
  169. package/dist/src/utils.d.ts +79 -0
  170. package/dist/src/utils.js +181 -0
  171. package/dist/src/utils.js.map +1 -0
  172. package/dist/tsconfig.tsbuildinfo +1 -0
  173. package/dist/types/account-id.d.ts +1 -2
  174. package/dist/types/account-id.js +4 -6
  175. package/dist/types/account-id.js.map +1 -1
  176. package/dist/types/amount.d.ts +31 -8
  177. package/dist/types/amount.js +125 -43
  178. package/dist/types/amount.js.map +1 -1
  179. package/dist/types/blob.d.ts +1 -2
  180. package/dist/types/blob.js +5 -2
  181. package/dist/types/blob.js.map +1 -1
  182. package/dist/types/currency.d.ts +1 -2
  183. package/dist/types/currency.js +13 -13
  184. package/dist/types/currency.js.map +1 -1
  185. package/dist/types/hash-128.d.ts +1 -2
  186. package/dist/types/hash-128.js +3 -3
  187. package/dist/types/hash-128.js.map +1 -1
  188. package/dist/types/hash-160.d.ts +1 -2
  189. package/dist/types/hash-160.js +1 -2
  190. package/dist/types/hash-160.js.map +1 -1
  191. package/dist/types/hash-192.d.ts +10 -0
  192. package/dist/types/hash-192.js +19 -0
  193. package/dist/types/hash-192.js.map +1 -0
  194. package/dist/types/hash-256.d.ts +1 -2
  195. package/dist/types/hash-256.js +1 -2
  196. package/dist/types/hash-256.js.map +1 -1
  197. package/dist/types/hash.d.ts +2 -3
  198. package/dist/types/hash.js +8 -4
  199. package/dist/types/hash.js.map +1 -1
  200. package/dist/types/index.d.ts +2 -1
  201. package/dist/types/index.js +11 -2
  202. package/dist/types/index.js.map +1 -1
  203. package/dist/types/issue.d.ts +48 -0
  204. package/dist/types/issue.js +104 -0
  205. package/dist/types/issue.js.map +1 -0
  206. package/dist/types/path-set.js +12 -12
  207. package/dist/types/path-set.js.map +1 -1
  208. package/dist/types/serialized-type.d.ts +23 -16
  209. package/dist/types/serialized-type.js +15 -7
  210. package/dist/types/serialized-type.js.map +1 -1
  211. package/dist/types/st-array.d.ts +5 -2
  212. package/dist/types/st-array.js +17 -11
  213. package/dist/types/st-array.js.map +1 -1
  214. package/dist/types/st-number.d.ts +54 -0
  215. package/dist/types/st-number.js +208 -0
  216. package/dist/types/st-number.js.map +1 -0
  217. package/dist/types/st-object.js +32 -8
  218. package/dist/types/st-object.js.map +1 -1
  219. package/dist/types/uint-16.d.ts +1 -2
  220. package/dist/types/uint-16.js +6 -5
  221. package/dist/types/uint-16.js.map +1 -1
  222. package/dist/types/uint-32.d.ts +1 -2
  223. package/dist/types/uint-32.js +7 -6
  224. package/dist/types/uint-32.js.map +1 -1
  225. package/dist/types/uint-64.d.ts +6 -7
  226. package/dist/types/uint-64.js +44 -24
  227. package/dist/types/uint-64.js.map +1 -1
  228. package/dist/types/uint-8.d.ts +1 -2
  229. package/dist/types/uint-8.js +7 -5
  230. package/dist/types/uint-8.js.map +1 -1
  231. package/dist/types/uint.d.ts +5 -6
  232. package/dist/types/uint.js +5 -0
  233. package/dist/types/uint.js.map +1 -1
  234. package/dist/types/vector-256.d.ts +1 -2
  235. package/dist/types/vector-256.js +2 -4
  236. package/dist/types/vector-256.js.map +1 -1
  237. package/dist/types/xchain-bridge.d.ts +44 -0
  238. package/dist/types/xchain-bridge.js +102 -0
  239. package/dist/types/xchain-bridge.js.map +1 -0
  240. package/dist/utils.d.ts +79 -0
  241. package/dist/utils.js +181 -0
  242. package/dist/utils.js.map +1 -0
  243. package/package.json +21 -17
  244. package/src/README.md +5 -0
  245. package/src/binary.ts +235 -0
  246. package/src/coretypes.ts +31 -0
  247. package/src/enums/README.md +144 -0
  248. package/src/enums/bytes.ts +74 -0
  249. package/src/enums/constants.ts +5 -0
  250. package/src/enums/definitions.json +3390 -0
  251. package/src/enums/field.ts +84 -0
  252. package/src/enums/index.ts +34 -0
  253. package/src/enums/utils-renumber.ts +134 -0
  254. package/src/enums/xrpl-definitions-base.ts +150 -0
  255. package/src/enums/xrpl-definitions.ts +33 -0
  256. package/src/hash-prefixes.ts +42 -0
  257. package/src/hashes.ts +75 -0
  258. package/src/index.ts +166 -0
  259. package/src/ledger-hashes.ts +191 -0
  260. package/src/quality.ts +38 -0
  261. package/src/serdes/binary-parser.ts +228 -0
  262. package/src/serdes/binary-serializer.ts +166 -0
  263. package/src/shamap.ts +186 -0
  264. package/src/types/account-id.ts +86 -0
  265. package/src/types/amount.ts +362 -0
  266. package/src/types/blob.ts +46 -0
  267. package/src/types/currency.ts +140 -0
  268. package/src/types/hash-128.ts +33 -0
  269. package/src/types/hash-160.ts +19 -0
  270. package/src/types/hash-192.ts +19 -0
  271. package/src/types/hash-256.ts +15 -0
  272. package/src/types/hash.ts +86 -0
  273. package/src/types/index.ts +68 -0
  274. package/src/types/issue.ts +136 -0
  275. package/src/types/path-set.ts +290 -0
  276. package/src/types/serialized-type.ts +122 -0
  277. package/src/types/st-array.ts +113 -0
  278. package/src/types/st-number.ts +233 -0
  279. package/src/types/st-object.ts +215 -0
  280. package/src/types/uint-16.ts +53 -0
  281. package/src/types/uint-32.ts +59 -0
  282. package/src/types/uint-64.ts +135 -0
  283. package/src/types/uint-8.ts +52 -0
  284. package/src/types/uint.ts +60 -0
  285. package/src/types/vector-256.ts +79 -0
  286. package/src/types/xchain-bridge.ts +128 -0
  287. package/src/utils.ts +220 -0
  288. package/test/amount.test.js +0 -43
  289. package/test/binary-json.test.js +0 -45
  290. package/test/binary-parser.test.js +0 -396
  291. package/test/binary-serializer.test.js +0 -319
  292. package/test/definitions.test.js +0 -100
  293. package/test/fixtures/account-tx-transactions.db +0 -0
  294. package/test/fixtures/codec-fixtures.json +0 -4466
  295. package/test/fixtures/data-driven-tests.json +0 -2919
  296. package/test/fixtures/delivermin-tx-binary.json +0 -1
  297. package/test/fixtures/delivermin-tx.json +0 -98
  298. package/test/fixtures/deposit-preauth-tx-binary.json +0 -1
  299. package/test/fixtures/deposit-preauth-tx-meta-binary.json +0 -1
  300. package/test/fixtures/deposit-preauth-tx.json +0 -58
  301. package/test/fixtures/escrow-cancel-binary.json +0 -1
  302. package/test/fixtures/escrow-cancel-tx.json +0 -6
  303. package/test/fixtures/escrow-create-binary.json +0 -1
  304. package/test/fixtures/escrow-create-tx.json +0 -10
  305. package/test/fixtures/escrow-finish-binary.json +0 -1
  306. package/test/fixtures/escrow-finish-meta-binary.json +0 -1
  307. package/test/fixtures/escrow-finish-tx.json +0 -95
  308. package/test/fixtures/ledger-full-38129.json +0 -1
  309. package/test/fixtures/ledger-full-40000.json +0 -1
  310. package/test/fixtures/negative-unl.json +0 -12
  311. package/test/fixtures/nf-token.json +0 -547
  312. package/test/fixtures/payment-channel-claim-binary.json +0 -1
  313. package/test/fixtures/payment-channel-claim-tx.json +0 -8
  314. package/test/fixtures/payment-channel-create-binary.json +0 -1
  315. package/test/fixtures/payment-channel-create-tx.json +0 -11
  316. package/test/fixtures/payment-channel-fund-binary.json +0 -1
  317. package/test/fixtures/payment-channel-fund-tx.json +0 -7
  318. package/test/fixtures/remit-binary.json +0 -1
  319. package/test/fixtures/remit-tx.json +0 -39
  320. package/test/fixtures/signerlistset-tx-binary.json +0 -1
  321. package/test/fixtures/signerlistset-tx-meta-binary.json +0 -1
  322. package/test/fixtures/signerlistset-tx.json +0 -94
  323. package/test/fixtures/ticket-create-binary.json +0 -1
  324. package/test/fixtures/ticket-create-tx.json +0 -7
  325. package/test/fixtures/unl-report-binary.json +0 -1
  326. package/test/fixtures/unl-report-meta-binary.json +0 -1
  327. package/test/fixtures/unl-report.json +0 -89
  328. package/test/fixtures/x-codec-fixtures.json +0 -188
  329. package/test/hash.test.js +0 -135
  330. package/test/ledger.test.js +0 -29
  331. package/test/lower-case-hex.test.js +0 -46
  332. package/test/pseudo-transaction.test.js +0 -38
  333. package/test/quality.test.js +0 -15
  334. package/test/shamap.test.js +0 -89
  335. package/test/signing-data-encoding.test.js +0 -213
  336. package/test/tx-encode-decode.test.js +0 -119
  337. package/test/types.test.js +0 -34
  338. package/test/uint.test.js +0 -148
  339. package/test/utils.js +0 -30
  340. package/test/x-address.test.js +0 -181
@@ -1,2919 +0,0 @@
1
- {
2
- "types": [
3
- {
4
- "name": "UInt16",
5
- "ordinal": 1
6
- },
7
- {
8
- "name": "UInt32",
9
- "ordinal": 2
10
- },
11
- {
12
- "name": "UInt64",
13
- "ordinal": 3
14
- },
15
- {
16
- "name": "Hash128",
17
- "ordinal": 4
18
- },
19
- {
20
- "name": "Hash256",
21
- "ordinal": 5
22
- },
23
- {
24
- "name": "Amount",
25
- "ordinal": 6
26
- },
27
- {
28
- "name": "Blob",
29
- "ordinal": 7
30
- },
31
- {
32
- "name": "AccountID",
33
- "ordinal": 8
34
- },
35
- {
36
- "name": "STObject",
37
- "ordinal": 14
38
- },
39
- {
40
- "name": "STArray",
41
- "ordinal": 15
42
- },
43
- {
44
- "name": "UInt8",
45
- "ordinal": 16
46
- },
47
- {
48
- "name": "Hash160",
49
- "ordinal": 17
50
- },
51
- {
52
- "name": "PathSet",
53
- "ordinal": 18
54
- },
55
- {
56
- "name": "Vector256",
57
- "ordinal": 19
58
- },
59
- {
60
- "name": "Transaction",
61
- "ordinal": 10001
62
- },
63
- {
64
- "name": "LedgerEntry",
65
- "ordinal": 10002
66
- },
67
- {
68
- "name": "Validation",
69
- "ordinal": 10003
70
- }
71
- ],
72
- "fields_tests": [
73
- {
74
- "type_name": "UInt16",
75
- "name": "LedgerEntryType",
76
- "nth_of_type": 1,
77
- "type": 1,
78
- "expected_hex": "11"
79
- },
80
- {
81
- "type_name": "UInt16",
82
- "name": "TransactionType",
83
- "nth_of_type": 2,
84
- "type": 1,
85
- "expected_hex": "12"
86
- },
87
- {
88
- "type_name": "UInt32",
89
- "name": "Flags",
90
- "nth_of_type": 2,
91
- "type": 2,
92
- "expected_hex": "22"
93
- },
94
- {
95
- "type_name": "UInt32",
96
- "name": "SourceTag",
97
- "nth_of_type": 3,
98
- "type": 2,
99
- "expected_hex": "23"
100
- },
101
- {
102
- "type_name": "UInt32",
103
- "name": "Sequence",
104
- "nth_of_type": 4,
105
- "type": 2,
106
- "expected_hex": "24"
107
- },
108
- {
109
- "type_name": "UInt32",
110
- "name": "PreviousTxnLgrSeq",
111
- "nth_of_type": 5,
112
- "type": 2,
113
- "expected_hex": "25"
114
- },
115
- {
116
- "type_name": "UInt32",
117
- "name": "LedgerSequence",
118
- "nth_of_type": 6,
119
- "type": 2,
120
- "expected_hex": "26"
121
- },
122
- {
123
- "type_name": "UInt32",
124
- "name": "CloseTime",
125
- "nth_of_type": 7,
126
- "type": 2,
127
- "expected_hex": "27"
128
- },
129
- {
130
- "type_name": "UInt32",
131
- "name": "ParentCloseTime",
132
- "nth_of_type": 8,
133
- "type": 2,
134
- "expected_hex": "28"
135
- },
136
- {
137
- "type_name": "UInt32",
138
- "name": "SigningTime",
139
- "nth_of_type": 9,
140
- "type": 2,
141
- "expected_hex": "29"
142
- },
143
- {
144
- "type_name": "UInt32",
145
- "name": "Expiration",
146
- "nth_of_type": 10,
147
- "type": 2,
148
- "expected_hex": "2A"
149
- },
150
- {
151
- "type_name": "UInt32",
152
- "name": "TransferRate",
153
- "nth_of_type": 11,
154
- "type": 2,
155
- "expected_hex": "2B"
156
- },
157
- {
158
- "type_name": "UInt32",
159
- "name": "WalletSize",
160
- "nth_of_type": 12,
161
- "type": 2,
162
- "expected_hex": "2C"
163
- },
164
- {
165
- "type_name": "UInt32",
166
- "name": "OwnerCount",
167
- "nth_of_type": 13,
168
- "type": 2,
169
- "expected_hex": "2D"
170
- },
171
- {
172
- "type_name": "UInt32",
173
- "name": "DestinationTag",
174
- "nth_of_type": 14,
175
- "type": 2,
176
- "expected_hex": "2E"
177
- },
178
- {
179
- "type_name": "UInt32",
180
- "name": "HighQualityIn",
181
- "nth_of_type": 16,
182
- "type": 2,
183
- "expected_hex": "2010"
184
- },
185
- {
186
- "type_name": "UInt32",
187
- "name": "HighQualityOut",
188
- "nth_of_type": 17,
189
- "type": 2,
190
- "expected_hex": "2011"
191
- },
192
- {
193
- "type_name": "UInt32",
194
- "name": "LowQualityIn",
195
- "nth_of_type": 18,
196
- "type": 2,
197
- "expected_hex": "2012"
198
- },
199
- {
200
- "type_name": "UInt32",
201
- "name": "LowQualityOut",
202
- "nth_of_type": 19,
203
- "type": 2,
204
- "expected_hex": "2013"
205
- },
206
- {
207
- "type_name": "UInt32",
208
- "name": "QualityIn",
209
- "nth_of_type": 20,
210
- "type": 2,
211
- "expected_hex": "2014"
212
- },
213
- {
214
- "type_name": "UInt32",
215
- "name": "QualityOut",
216
- "nth_of_type": 21,
217
- "type": 2,
218
- "expected_hex": "2015"
219
- },
220
- {
221
- "type_name": "UInt32",
222
- "name": "StampEscrow",
223
- "nth_of_type": 22,
224
- "type": 2,
225
- "expected_hex": "2016"
226
- },
227
- {
228
- "type_name": "UInt32",
229
- "name": "BondAmount",
230
- "nth_of_type": 23,
231
- "type": 2,
232
- "expected_hex": "2017"
233
- },
234
- {
235
- "type_name": "UInt32",
236
- "name": "LoadFee",
237
- "nth_of_type": 24,
238
- "type": 2,
239
- "expected_hex": "2018"
240
- },
241
- {
242
- "type_name": "UInt32",
243
- "name": "OfferSequence",
244
- "nth_of_type": 25,
245
- "type": 2,
246
- "expected_hex": "2019"
247
- },
248
- {
249
- "type_name": "UInt32",
250
- "name": "FirstLedgerSequence",
251
- "nth_of_type": 26,
252
- "type": 2,
253
- "expected_hex": "201A"
254
- },
255
- {
256
- "type_name": "UInt32",
257
- "name": "LastLedgerSequence",
258
- "nth_of_type": 27,
259
- "type": 2,
260
- "expected_hex": "201B"
261
- },
262
- {
263
- "type_name": "UInt32",
264
- "name": "TransactionIndex",
265
- "nth_of_type": 28,
266
- "type": 2,
267
- "expected_hex": "201C"
268
- },
269
- {
270
- "type_name": "UInt32",
271
- "name": "OperationLimit",
272
- "nth_of_type": 29,
273
- "type": 2,
274
- "expected_hex": "201D"
275
- },
276
- {
277
- "type_name": "UInt32",
278
- "name": "ReferenceFeeUnits",
279
- "nth_of_type": 30,
280
- "type": 2,
281
- "expected_hex": "201E"
282
- },
283
- {
284
- "type_name": "UInt32",
285
- "name": "ReserveBase",
286
- "nth_of_type": 31,
287
- "type": 2,
288
- "expected_hex": "201F"
289
- },
290
- {
291
- "type_name": "UInt32",
292
- "name": "ReserveIncrement",
293
- "nth_of_type": 32,
294
- "type": 2,
295
- "expected_hex": "2020"
296
- },
297
- {
298
- "type_name": "UInt32",
299
- "name": "SetFlag",
300
- "nth_of_type": 33,
301
- "type": 2,
302
- "expected_hex": "2021"
303
- },
304
- {
305
- "type_name": "UInt32",
306
- "name": "ClearFlag",
307
- "nth_of_type": 34,
308
- "type": 2,
309
- "expected_hex": "2022"
310
- },
311
- {
312
- "type_name": "UInt32",
313
- "name": "SignerQuorum",
314
- "nth_of_type": 35,
315
- "type": 2,
316
- "expected_hex": "2023"
317
- },
318
- {
319
- "type_name": "UInt32",
320
- "name": "CancelAfter",
321
- "nth_of_type": 36,
322
- "type": 2,
323
- "expected_hex": "2024"
324
- },
325
- {
326
- "type_name": "UInt32",
327
- "name": "FinishAfter",
328
- "nth_of_type": 37,
329
- "type": 2,
330
- "expected_hex": "2025"
331
- },
332
- {
333
- "type_name": "UInt64",
334
- "name": "IndexNext",
335
- "nth_of_type": 1,
336
- "type": 3,
337
- "expected_hex": "31"
338
- },
339
- {
340
- "type_name": "UInt64",
341
- "name": "IndexPrevious",
342
- "nth_of_type": 2,
343
- "type": 3,
344
- "expected_hex": "32"
345
- },
346
- {
347
- "type_name": "UInt64",
348
- "name": "BookNode",
349
- "nth_of_type": 3,
350
- "type": 3,
351
- "expected_hex": "33"
352
- },
353
- {
354
- "type_name": "UInt64",
355
- "name": "OwnerNode",
356
- "nth_of_type": 4,
357
- "type": 3,
358
- "expected_hex": "34"
359
- },
360
- {
361
- "type_name": "UInt64",
362
- "name": "BaseFee",
363
- "nth_of_type": 5,
364
- "type": 3,
365
- "expected_hex": "35"
366
- },
367
- {
368
- "type_name": "UInt64",
369
- "name": "ExchangeRate",
370
- "nth_of_type": 6,
371
- "type": 3,
372
- "expected_hex": "36"
373
- },
374
- {
375
- "type_name": "UInt64",
376
- "name": "LowNode",
377
- "nth_of_type": 7,
378
- "type": 3,
379
- "expected_hex": "37"
380
- },
381
- {
382
- "type_name": "UInt64",
383
- "name": "HighNode",
384
- "nth_of_type": 8,
385
- "type": 3,
386
- "expected_hex": "38"
387
- },
388
- {
389
- "type_name": "Hash128",
390
- "name": "EmailHash",
391
- "nth_of_type": 1,
392
- "type": 4,
393
- "expected_hex": "41"
394
- },
395
- {
396
- "type_name": "Hash256",
397
- "name": "LedgerHash",
398
- "nth_of_type": 1,
399
- "type": 5,
400
- "expected_hex": "51"
401
- },
402
- {
403
- "type_name": "Hash256",
404
- "name": "ParentHash",
405
- "nth_of_type": 2,
406
- "type": 5,
407
- "expected_hex": "52"
408
- },
409
- {
410
- "type_name": "Hash256",
411
- "name": "TransactionHash",
412
- "nth_of_type": 3,
413
- "type": 5,
414
- "expected_hex": "53"
415
- },
416
- {
417
- "type_name": "Hash256",
418
- "name": "AccountHash",
419
- "nth_of_type": 4,
420
- "type": 5,
421
- "expected_hex": "54"
422
- },
423
- {
424
- "type_name": "Hash256",
425
- "name": "PreviousTxnID",
426
- "nth_of_type": 5,
427
- "type": 5,
428
- "expected_hex": "55"
429
- },
430
- {
431
- "type_name": "Hash256",
432
- "name": "LedgerIndex",
433
- "nth_of_type": 6,
434
- "type": 5,
435
- "expected_hex": "56"
436
- },
437
- {
438
- "type_name": "Hash256",
439
- "name": "WalletLocator",
440
- "nth_of_type": 7,
441
- "type": 5,
442
- "expected_hex": "57"
443
- },
444
- {
445
- "type_name": "Hash256",
446
- "name": "RootIndex",
447
- "nth_of_type": 8,
448
- "type": 5,
449
- "expected_hex": "58"
450
- },
451
- {
452
- "type_name": "Hash256",
453
- "name": "AccountTxnID",
454
- "nth_of_type": 9,
455
- "type": 5,
456
- "expected_hex": "59"
457
- },
458
- {
459
- "type_name": "Hash256",
460
- "name": "BookDirectory",
461
- "nth_of_type": 16,
462
- "type": 5,
463
- "expected_hex": "5010"
464
- },
465
- {
466
- "type_name": "Hash256",
467
- "name": "InvoiceID",
468
- "nth_of_type": 17,
469
- "type": 5,
470
- "expected_hex": "5011"
471
- },
472
- {
473
- "type_name": "Hash256",
474
- "name": "Nickname",
475
- "nth_of_type": 18,
476
- "type": 5,
477
- "expected_hex": "5012"
478
- },
479
- {
480
- "type_name": "Hash256",
481
- "name": "Amendment",
482
- "nth_of_type": 19,
483
- "type": 5,
484
- "expected_hex": "5013"
485
- },
486
- {
487
- "type_name": "Hash256",
488
- "name": "Digest",
489
- "nth_of_type": 21,
490
- "type": 5,
491
- "expected_hex": "5015"
492
- },
493
- {
494
- "type_name": "Amount",
495
- "name": "Amount",
496
- "nth_of_type": 1,
497
- "type": 6,
498
- "expected_hex": "61"
499
- },
500
- {
501
- "type_name": "Amount",
502
- "name": "Balance",
503
- "nth_of_type": 2,
504
- "type": 6,
505
- "expected_hex": "62"
506
- },
507
- {
508
- "type_name": "Amount",
509
- "name": "LimitAmount",
510
- "nth_of_type": 3,
511
- "type": 6,
512
- "expected_hex": "63"
513
- },
514
- {
515
- "type_name": "Amount",
516
- "name": "TakerPays",
517
- "nth_of_type": 4,
518
- "type": 6,
519
- "expected_hex": "64"
520
- },
521
- {
522
- "type_name": "Amount",
523
- "name": "TakerGets",
524
- "nth_of_type": 5,
525
- "type": 6,
526
- "expected_hex": "65"
527
- },
528
- {
529
- "type_name": "Amount",
530
- "name": "LowLimit",
531
- "nth_of_type": 6,
532
- "type": 6,
533
- "expected_hex": "66"
534
- },
535
- {
536
- "type_name": "Amount",
537
- "name": "HighLimit",
538
- "nth_of_type": 7,
539
- "type": 6,
540
- "expected_hex": "67"
541
- },
542
- {
543
- "type_name": "Amount",
544
- "name": "Fee",
545
- "nth_of_type": 8,
546
- "type": 6,
547
- "expected_hex": "68"
548
- },
549
- {
550
- "type_name": "Amount",
551
- "name": "SendMax",
552
- "nth_of_type": 9,
553
- "type": 6,
554
- "expected_hex": "69"
555
- },
556
- {
557
- "type_name": "Amount",
558
- "name": "MinimumOffer",
559
- "nth_of_type": 16,
560
- "type": 6,
561
- "expected_hex": "6010"
562
- },
563
- {
564
- "type_name": "Amount",
565
- "name": "RippleEscrow",
566
- "nth_of_type": 17,
567
- "type": 6,
568
- "expected_hex": "6011"
569
- },
570
- {
571
- "type_name": "Amount",
572
- "name": "DeliveredAmount",
573
- "nth_of_type": 18,
574
- "type": 6,
575
- "expected_hex": "6012"
576
- },
577
- {
578
- "type_name": "Blob",
579
- "name": "PublicKey",
580
- "nth_of_type": 1,
581
- "type": 7,
582
- "expected_hex": "71"
583
- },
584
- {
585
- "type_name": "Blob",
586
- "name": "MessageKey",
587
- "nth_of_type": 2,
588
- "type": 7,
589
- "expected_hex": "72"
590
- },
591
- {
592
- "type_name": "Blob",
593
- "name": "SigningPubKey",
594
- "nth_of_type": 3,
595
- "type": 7,
596
- "expected_hex": "73"
597
- },
598
- {
599
- "type_name": "Blob",
600
- "name": "TxnSignature",
601
- "nth_of_type": 4,
602
- "type": 7,
603
- "expected_hex": "74"
604
- },
605
- {
606
- "type_name": "Blob",
607
- "name": "URI",
608
- "nth_of_type": 5,
609
- "type": 7,
610
- "expected_hex": "75"
611
- },
612
- {
613
- "type_name": "Blob",
614
- "name": "Signature",
615
- "nth_of_type": 6,
616
- "type": 7,
617
- "expected_hex": "76"
618
- },
619
- {
620
- "type_name": "Blob",
621
- "name": "Domain",
622
- "nth_of_type": 7,
623
- "type": 7,
624
- "expected_hex": "77"
625
- },
626
- {
627
- "type_name": "Blob",
628
- "name": "FundCode",
629
- "nth_of_type": 8,
630
- "type": 7,
631
- "expected_hex": "78"
632
- },
633
- {
634
- "type_name": "Blob",
635
- "name": "RemoveCode",
636
- "nth_of_type": 9,
637
- "type": 7,
638
- "expected_hex": "79"
639
- },
640
- {
641
- "type_name": "Blob",
642
- "name": "ExpireCode",
643
- "nth_of_type": 10,
644
- "type": 7,
645
- "expected_hex": "7A"
646
- },
647
- {
648
- "type_name": "Blob",
649
- "name": "CreateCode",
650
- "nth_of_type": 11,
651
- "type": 7,
652
- "expected_hex": "7B"
653
- },
654
- {
655
- "type_name": "Blob",
656
- "name": "MemoType",
657
- "nth_of_type": 12,
658
- "type": 7,
659
- "expected_hex": "7C"
660
- },
661
- {
662
- "type_name": "Blob",
663
- "name": "MemoData",
664
- "nth_of_type": 13,
665
- "type": 7,
666
- "expected_hex": "7D"
667
- },
668
- {
669
- "type_name": "Blob",
670
- "name": "MemoFormat",
671
- "nth_of_type": 14,
672
- "type": 7,
673
- "expected_hex": "7E"
674
- },
675
- {
676
- "type_name": "Blob",
677
- "name": "Fulfillment",
678
- "nth_of_type": 16,
679
- "type": 7,
680
- "expected_hex": "7010"
681
- },
682
- {
683
- "type_name": "Blob",
684
- "name": "Condition",
685
- "nth_of_type": 17,
686
- "type": 7,
687
- "expected_hex": "7011"
688
- },
689
- {
690
- "type_name": "AccountID",
691
- "name": "Account",
692
- "nth_of_type": 1,
693
- "type": 8,
694
- "expected_hex": "81"
695
- },
696
- {
697
- "type_name": "AccountID",
698
- "name": "Owner",
699
- "nth_of_type": 2,
700
- "type": 8,
701
- "expected_hex": "82"
702
- },
703
- {
704
- "type_name": "AccountID",
705
- "name": "Destination",
706
- "nth_of_type": 3,
707
- "type": 8,
708
- "expected_hex": "83"
709
- },
710
- {
711
- "type_name": "AccountID",
712
- "name": "Issuer",
713
- "nth_of_type": 4,
714
- "type": 8,
715
- "expected_hex": "84"
716
- },
717
- {
718
- "type_name": "AccountID",
719
- "name": "RegularKey",
720
- "nth_of_type": 8,
721
- "type": 8,
722
- "expected_hex": "88"
723
- },
724
- {
725
- "type_name": "STObject",
726
- "name": "ObjectEndMarker",
727
- "nth_of_type": 1,
728
- "type": 14,
729
- "expected_hex": "E1"
730
- },
731
- {
732
- "type_name": "STObject",
733
- "name": "TransactionMetaData",
734
- "nth_of_type": 2,
735
- "type": 14,
736
- "expected_hex": "E2"
737
- },
738
- {
739
- "type_name": "STObject",
740
- "name": "CreatedNode",
741
- "nth_of_type": 3,
742
- "type": 14,
743
- "expected_hex": "E3"
744
- },
745
- {
746
- "type_name": "STObject",
747
- "name": "DeletedNode",
748
- "nth_of_type": 4,
749
- "type": 14,
750
- "expected_hex": "E4"
751
- },
752
- {
753
- "type_name": "STObject",
754
- "name": "ModifiedNode",
755
- "nth_of_type": 5,
756
- "type": 14,
757
- "expected_hex": "E5"
758
- },
759
- {
760
- "type_name": "STObject",
761
- "name": "PreviousFields",
762
- "nth_of_type": 6,
763
- "type": 14,
764
- "expected_hex": "E6"
765
- },
766
- {
767
- "type_name": "STObject",
768
- "name": "FinalFields",
769
- "nth_of_type": 7,
770
- "type": 14,
771
- "expected_hex": "E7"
772
- },
773
- {
774
- "type_name": "STObject",
775
- "name": "NewFields",
776
- "nth_of_type": 8,
777
- "type": 14,
778
- "expected_hex": "E8"
779
- },
780
- {
781
- "type_name": "STObject",
782
- "name": "TemplateEntry",
783
- "nth_of_type": 9,
784
- "type": 14,
785
- "expected_hex": "E9"
786
- },
787
- {
788
- "type_name": "STObject",
789
- "name": "Memo",
790
- "nth_of_type": 10,
791
- "type": 14,
792
- "expected_hex": "EA"
793
- },
794
- {
795
- "type_name": "STArray",
796
- "name": "ArrayEndMarker",
797
- "nth_of_type": 1,
798
- "type": 15,
799
- "expected_hex": "F1"
800
- },
801
- {
802
- "type_name": "STArray",
803
- "name": "Signers",
804
- "nth_of_type": 3,
805
- "type": 15,
806
- "expected_hex": "F3"
807
- },
808
- {
809
- "type_name": "STArray",
810
- "name": "SignerEntries",
811
- "nth_of_type": 4,
812
- "type": 15,
813
- "expected_hex": "F4"
814
- },
815
- {
816
- "type_name": "STArray",
817
- "name": "Template",
818
- "nth_of_type": 5,
819
- "type": 15,
820
- "expected_hex": "F5"
821
- },
822
- {
823
- "type_name": "STArray",
824
- "name": "Necessary",
825
- "nth_of_type": 6,
826
- "type": 15,
827
- "expected_hex": "F6"
828
- },
829
- {
830
- "type_name": "STArray",
831
- "name": "Sufficient",
832
- "nth_of_type": 7,
833
- "type": 15,
834
- "expected_hex": "F7"
835
- },
836
- {
837
- "type_name": "STArray",
838
- "name": "AffectedNodes",
839
- "nth_of_type": 8,
840
- "type": 15,
841
- "expected_hex": "F8"
842
- },
843
- {
844
- "type_name": "STArray",
845
- "name": "Memos",
846
- "nth_of_type": 9,
847
- "type": 15,
848
- "expected_hex": "F9"
849
- },
850
- {
851
- "type_name": "UInt8",
852
- "name": "CloseResolution",
853
- "nth_of_type": 1,
854
- "type": 16,
855
- "expected_hex": "0110"
856
- },
857
- {
858
- "type_name": "UInt8",
859
- "name": "Method",
860
- "nth_of_type": 2,
861
- "type": 16,
862
- "expected_hex": "0210"
863
- },
864
- {
865
- "type_name": "UInt8",
866
- "name": "TransactionResult",
867
- "nth_of_type": 3,
868
- "type": 16,
869
- "expected_hex": "0310"
870
- },
871
- {
872
- "type_name": "Hash160",
873
- "name": "TakerPaysCurrency",
874
- "nth_of_type": 1,
875
- "type": 17,
876
- "expected_hex": "0111"
877
- },
878
- {
879
- "type_name": "Hash160",
880
- "name": "TakerPaysIssuer",
881
- "nth_of_type": 2,
882
- "type": 17,
883
- "expected_hex": "0211"
884
- },
885
- {
886
- "type_name": "Hash160",
887
- "name": "TakerGetsCurrency",
888
- "nth_of_type": 3,
889
- "type": 17,
890
- "expected_hex": "0311"
891
- },
892
- {
893
- "type_name": "Hash160",
894
- "name": "TakerGetsIssuer",
895
- "nth_of_type": 4,
896
- "type": 17,
897
- "expected_hex": "0411"
898
- },
899
- {
900
- "type_name": "PathSet",
901
- "name": "Paths",
902
- "nth_of_type": 1,
903
- "type": 18,
904
- "expected_hex": "0112"
905
- },
906
- {
907
- "type_name": "Vector256",
908
- "name": "Indexes",
909
- "nth_of_type": 1,
910
- "type": 19,
911
- "expected_hex": "0113"
912
- },
913
- {
914
- "type_name": "Vector256",
915
- "name": "Hashes",
916
- "nth_of_type": 2,
917
- "type": 19,
918
- "expected_hex": "0213"
919
- },
920
- {
921
- "type_name": "Vector256",
922
- "name": "Amendments",
923
- "nth_of_type": 3,
924
- "type": 19,
925
- "expected_hex": "0313"
926
- },
927
- {
928
- "type_name": "UInt8",
929
- "name": "TickSize",
930
- "nth_of_type": 16,
931
- "type": 16,
932
- "expected_hex": "001010"
933
- }
934
- ],
935
- "whole_objects": [
936
- {
937
- "tx_json": {
938
- "TakerPays": "101204800",
939
- "Account": "rGFpans8aW7XZNEcNky6RHKyEdLvXPMnUn",
940
- "TransactionType": "OfferCreate",
941
- "Fee": "12",
942
- "Expiration": 1398443249,
943
- "TakerGets": {
944
- "currency": "CNY",
945
- "value": "4.2",
946
- "issuer": "rKiCet8SdvWxPXnAgYarFUXMh1zCPz432Y"
947
- },
948
- "Flags": 0,
949
- "Sequence": 6068
950
- },
951
- "fields": [
952
- [
953
- "TransactionType",
954
- {
955
- "binary": ["0007"],
956
- "json": "OfferCreate",
957
- "field_header": "12"
958
- }
959
- ],
960
- [
961
- "Flags",
962
- {
963
- "binary": ["00000000"],
964
- "json": 0,
965
- "field_header": "22"
966
- }
967
- ],
968
- [
969
- "Sequence",
970
- {
971
- "binary": ["000017B4"],
972
- "json": 6068,
973
- "field_header": "24"
974
- }
975
- ],
976
- [
977
- "Expiration",
978
- {
979
- "binary": ["535A8CF1"],
980
- "json": 1398443249,
981
- "field_header": "2A"
982
- }
983
- ],
984
- [
985
- "TakerPays",
986
- {
987
- "binary": ["4000000006084340"],
988
- "json": "101204800",
989
- "field_header": "64"
990
- }
991
- ],
992
- [
993
- "TakerGets",
994
- {
995
- "binary": [
996
- "D48EEBE0B40E8000",
997
- "000000000000000000000000434E590000000000",
998
- "CED6E99370D5C00EF4EBF72567DA99F5661BFB3A"
999
- ],
1000
- "json": {
1001
- "currency": "CNY",
1002
- "value": "4.2",
1003
- "issuer": "rKiCet8SdvWxPXnAgYarFUXMh1zCPz432Y"
1004
- },
1005
- "field_header": "65"
1006
- }
1007
- ],
1008
- [
1009
- "Fee",
1010
- {
1011
- "binary": ["400000000000000C"],
1012
- "json": "12",
1013
- "field_header": "68"
1014
- }
1015
- ],
1016
- [
1017
- "Account",
1018
- {
1019
- "binary": ["AD6E583D47F90F29FD8B23225E6F905602B0292E"],
1020
- "vl_length": "14",
1021
- "json": "rGFpans8aW7XZNEcNky6RHKyEdLvXPMnUn",
1022
- "field_header": "81"
1023
- }
1024
- ]
1025
- ],
1026
- "blob_with_no_signing": "120007220000000024000017B42A535A8CF164400000000608434065D48EEBE0B40E8000000000000000000000000000434E590000000000CED6E99370D5C00EF4EBF72567DA99F5661BFB3A68400000000000000C8114AD6E583D47F90F29FD8B23225E6F905602B0292E"
1027
- },
1028
- {
1029
- "tx_json": {
1030
- "TakerPays": "1311313",
1031
- "Account": "rLpW9Reyn9YqZ8mxbq8nviXSp4TnHafVJQ",
1032
- "TransactionType": "OfferCreate",
1033
- "Fee": "12",
1034
- "TakerGets": {
1035
- "currency": "CNY",
1036
- "value": "0.05114362355976031",
1037
- "issuer": "rGYYWKxT1XgNipUJouCq4cKiyAdq8xBoE9"
1038
- },
1039
- "Flags": 0,
1040
- "Sequence": 20772,
1041
- "LastLedgerSequence": 6220012
1042
- },
1043
- "fields": [
1044
- [
1045
- "TransactionType",
1046
- {
1047
- "binary": ["0007"],
1048
- "json": "OfferCreate",
1049
- "field_header": "12"
1050
- }
1051
- ],
1052
- [
1053
- "Flags",
1054
- {
1055
- "binary": ["00000000"],
1056
- "json": 0,
1057
- "field_header": "22"
1058
- }
1059
- ],
1060
- [
1061
- "Sequence",
1062
- {
1063
- "binary": ["00005124"],
1064
- "json": 20772,
1065
- "field_header": "24"
1066
- }
1067
- ],
1068
- [
1069
- "LastLedgerSequence",
1070
- {
1071
- "binary": ["005EE8EC"],
1072
- "json": 6220012,
1073
- "field_header": "201B"
1074
- }
1075
- ],
1076
- [
1077
- "TakerPays",
1078
- {
1079
- "binary": ["4000000000140251"],
1080
- "json": "1311313",
1081
- "field_header": "64"
1082
- }
1083
- ],
1084
- [
1085
- "TakerGets",
1086
- {
1087
- "binary": [
1088
- "D4122B7C477B075F",
1089
- "000000000000000000000000434E590000000000",
1090
- "AA8114C65DA8EA1BE40849F974685289CC145CCF"
1091
- ],
1092
- "json": {
1093
- "currency": "CNY",
1094
- "value": "0.05114362355976031",
1095
- "issuer": "rGYYWKxT1XgNipUJouCq4cKiyAdq8xBoE9"
1096
- },
1097
- "field_header": "65"
1098
- }
1099
- ],
1100
- [
1101
- "Fee",
1102
- {
1103
- "binary": ["400000000000000C"],
1104
- "json": "12",
1105
- "field_header": "68"
1106
- }
1107
- ],
1108
- [
1109
- "Account",
1110
- {
1111
- "binary": ["D0B32295596E50017E246FE85FC5982A1BD89CE4"],
1112
- "vl_length": "14",
1113
- "json": "rLpW9Reyn9YqZ8mxbq8nviXSp4TnHafVJQ",
1114
- "field_header": "81"
1115
- }
1116
- ]
1117
- ],
1118
- "blob_with_no_signing": "12000722000000002400005124201B005EE8EC64400000000014025165D4122B7C477B075F000000000000000000000000434E590000000000AA8114C65DA8EA1BE40849F974685289CC145CCF68400000000000000C8114D0B32295596E50017E246FE85FC5982A1BD89CE4"
1119
- },
1120
- {
1121
- "tx_json": {
1122
- "TakerPays": "223174650",
1123
- "Account": "rPk2dXr27rMw9G5Ej9ad2Tt7RJzGy8ycBp",
1124
- "TransactionType": "OfferCreate",
1125
- "Memos": [{"Memo": {
1126
- "MemoType": "584D4D2076616C7565",
1127
- "MemoData": "322E3230393635"
1128
- }}],
1129
- "Fee": "15",
1130
- "OfferSequence": 1002,
1131
- "TakerGets": {
1132
- "currency": "XMM",
1133
- "value": "100",
1134
- "issuer": "rExAPEZvbkZqYPuNcZ7XEBLENEshsWDQc8"
1135
- },
1136
- "Flags": 524288,
1137
- "Sequence": 1003,
1138
- "LastLedgerSequence": 6220135
1139
- },
1140
- "fields": [
1141
- [
1142
- "TransactionType",
1143
- {
1144
- "binary": ["0007"],
1145
- "json": "OfferCreate",
1146
- "field_header": "12"
1147
- }
1148
- ],
1149
- [
1150
- "Flags",
1151
- {
1152
- "binary": ["00080000"],
1153
- "json": 524288,
1154
- "field_header": "22"
1155
- }
1156
- ],
1157
- [
1158
- "Sequence",
1159
- {
1160
- "binary": ["000003EB"],
1161
- "json": 1003,
1162
- "field_header": "24"
1163
- }
1164
- ],
1165
- [
1166
- "OfferSequence",
1167
- {
1168
- "binary": ["000003EA"],
1169
- "json": 1002,
1170
- "field_header": "2019"
1171
- }
1172
- ],
1173
- [
1174
- "LastLedgerSequence",
1175
- {
1176
- "binary": ["005EE967"],
1177
- "json": 6220135,
1178
- "field_header": "201B"
1179
- }
1180
- ],
1181
- [
1182
- "TakerPays",
1183
- {
1184
- "binary": ["400000000D4D5FFA"],
1185
- "json": "223174650",
1186
- "field_header": "64"
1187
- }
1188
- ],
1189
- [
1190
- "TakerGets",
1191
- {
1192
- "binary": [
1193
- "D5038D7EA4C68000",
1194
- "000000000000000000000000584D4D0000000000",
1195
- "A426093A78AA86EB2B878E5C2E33FEC224A01849"
1196
- ],
1197
- "json": {
1198
- "currency": "XMM",
1199
- "value": "100",
1200
- "issuer": "rExAPEZvbkZqYPuNcZ7XEBLENEshsWDQc8"
1201
- },
1202
- "field_header": "65"
1203
- }
1204
- ],
1205
- [
1206
- "Fee",
1207
- {
1208
- "binary": ["400000000000000F"],
1209
- "json": "15",
1210
- "field_header": "68"
1211
- }
1212
- ],
1213
- [
1214
- "Account",
1215
- {
1216
- "binary": ["F990B9E746546554A7B50A5E013BCB57095C6BB8"],
1217
- "vl_length": "14",
1218
- "json": "rPk2dXr27rMw9G5Ej9ad2Tt7RJzGy8ycBp",
1219
- "field_header": "81"
1220
- }
1221
- ],
1222
- [
1223
- "Memos",
1224
- {
1225
- "binary": [
1226
- "EA",
1227
- "7C",
1228
- "09",
1229
- "584D4D2076616C7565",
1230
- "7D",
1231
- "07",
1232
- "322E3230393635",
1233
- "E1"
1234
- ],
1235
- "json": [{"Memo": {
1236
- "MemoType": "584D4D2076616C7565",
1237
- "MemoData": "322E3230393635"
1238
- }}],
1239
- "field_header": "F9"
1240
- }
1241
- ]
1242
- ],
1243
- "blob_with_no_signing": "120007220008000024000003EB2019000003EA201B005EE96764400000000D4D5FFA65D5038D7EA4C68000000000000000000000000000584D4D0000000000A426093A78AA86EB2B878E5C2E33FEC224A0184968400000000000000F8114F990B9E746546554A7B50A5E013BCB57095C6BB8F9EA7C09584D4D2076616C75657D07322E3230393635E1F1"
1244
- },
1245
- {
1246
- "tx_json": {
1247
- "TakerPays": {
1248
- "currency": "BTC",
1249
- "value": "0.01262042643559221",
1250
- "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
1251
- },
1252
- "Account": "rPEZyTnSyQyXBCwMVYyaafSVPL8oMtfG6a",
1253
- "TransactionType": "OfferCreate",
1254
- "Fee": "50",
1255
- "OfferSequence": 526554,
1256
- "TakerGets": "1010386370",
1257
- "Sequence": 526615
1258
- },
1259
- "fields": [
1260
- [
1261
- "TransactionType",
1262
- {
1263
- "binary": ["0007"],
1264
- "json": "OfferCreate",
1265
- "field_header": "12"
1266
- }
1267
- ],
1268
- [
1269
- "Sequence",
1270
- {
1271
- "binary": ["00080917"],
1272
- "json": 526615,
1273
- "field_header": "24"
1274
- }
1275
- ],
1276
- [
1277
- "OfferSequence",
1278
- {
1279
- "binary": ["000808DA"],
1280
- "json": 526554,
1281
- "field_header": "2019"
1282
- }
1283
- ],
1284
- [
1285
- "TakerPays",
1286
- {
1287
- "binary": [
1288
- "D4047BD23375F335",
1289
- "0000000000000000000000004254430000000000",
1290
- "0A20B3C85F482532A9578DBB3950B85CA06594D1"
1291
- ],
1292
- "json": {
1293
- "currency": "BTC",
1294
- "value": "0.01262042643559221",
1295
- "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
1296
- },
1297
- "field_header": "64"
1298
- }
1299
- ],
1300
- [
1301
- "TakerGets",
1302
- {
1303
- "binary": ["400000003C3945C2"],
1304
- "json": "1010386370",
1305
- "field_header": "65"
1306
- }
1307
- ],
1308
- [
1309
- "Fee",
1310
- {
1311
- "binary": ["4000000000000032"],
1312
- "json": "50",
1313
- "field_header": "68"
1314
- }
1315
- ],
1316
- [
1317
- "Account",
1318
- {
1319
- "binary": ["F4141D8B4EF33BC3EE224088CA418DFCD2847193"],
1320
- "vl_length": "14",
1321
- "json": "rPEZyTnSyQyXBCwMVYyaafSVPL8oMtfG6a",
1322
- "field_header": "81"
1323
- }
1324
- ]
1325
- ],
1326
- "blob_with_no_signing": "12000724000809172019000808DA64D4047BD23375F33500000000000000000000000042544300000000000A20B3C85F482532A9578DBB3950B85CA06594D165400000003C3945C26840000000000000328114F4141D8B4EF33BC3EE224088CA418DFCD2847193"
1327
- },
1328
- {
1329
- "tx_json": {
1330
- "Account": "rHXUjUtk5eiPFYpg27izxHeZ1t4x835Ecn",
1331
- "Destination": "r45dBj4S3VvMMYXxr9vHX4Z4Ma6ifPMCkK",
1332
- "TransactionType": "Payment",
1333
- "Amount": {
1334
- "currency": "CNY",
1335
- "value": "5000",
1336
- "issuer": "r45dBj4S3VvMMYXxr9vHX4Z4Ma6ifPMCkK"
1337
- },
1338
- "Fee": "12",
1339
- "SendMax": {
1340
- "currency": "CNY",
1341
- "value": "5050",
1342
- "issuer": "rHXUjUtk5eiPFYpg27izxHeZ1t4x835Ecn"
1343
- },
1344
- "Flags": 0,
1345
- "Sequence": 6,
1346
- "Paths": [[{
1347
- "account": "razqQKzJRdB4UxFPWf5NEpEG3WMkmwgcXA"
1348
- }]],
1349
- "DestinationTag": 736049272
1350
- },
1351
- "fields": [
1352
- [
1353
- "TransactionType",
1354
- {
1355
- "binary": ["0000"],
1356
- "json": "Payment",
1357
- "field_header": "12"
1358
- }
1359
- ],
1360
- [
1361
- "Flags",
1362
- {
1363
- "binary": ["00000000"],
1364
- "json": 0,
1365
- "field_header": "22"
1366
- }
1367
- ],
1368
- [
1369
- "Sequence",
1370
- {
1371
- "binary": ["00000006"],
1372
- "json": 6,
1373
- "field_header": "24"
1374
- }
1375
- ],
1376
- [
1377
- "DestinationTag",
1378
- {
1379
- "binary": ["2BDF3878"],
1380
- "json": 736049272,
1381
- "field_header": "2E"
1382
- }
1383
- ],
1384
- [
1385
- "Amount",
1386
- {
1387
- "binary": [
1388
- "D551C37937E08000",
1389
- "000000000000000000000000434E590000000000",
1390
- "EE39E6D05CFD6A90DAB700A1D70149ECEE29DFEC"
1391
- ],
1392
- "json": {
1393
- "currency": "CNY",
1394
- "value": "5000",
1395
- "issuer": "r45dBj4S3VvMMYXxr9vHX4Z4Ma6ifPMCkK"
1396
- },
1397
- "field_header": "61"
1398
- }
1399
- ],
1400
- [
1401
- "Fee",
1402
- {
1403
- "binary": ["400000000000000C"],
1404
- "json": "12",
1405
- "field_header": "68"
1406
- }
1407
- ],
1408
- [
1409
- "SendMax",
1410
- {
1411
- "binary": [
1412
- "D551F0F2C01DA000",
1413
- "000000000000000000000000434E590000000000",
1414
- "B53847FA45E828BF9A52E38F7FB39E363493CE8B"
1415
- ],
1416
- "json": {
1417
- "currency": "CNY",
1418
- "value": "5050",
1419
- "issuer": "rHXUjUtk5eiPFYpg27izxHeZ1t4x835Ecn"
1420
- },
1421
- "field_header": "69"
1422
- }
1423
- ],
1424
- [
1425
- "Account",
1426
- {
1427
- "binary": ["B53847FA45E828BF9A52E38F7FB39E363493CE8B"],
1428
- "vl_length": "14",
1429
- "json": "rHXUjUtk5eiPFYpg27izxHeZ1t4x835Ecn",
1430
- "field_header": "81"
1431
- }
1432
- ],
1433
- [
1434
- "Destination",
1435
- {
1436
- "binary": ["EE39E6D05CFD6A90DAB700A1D70149ECEE29DFEC"],
1437
- "vl_length": "14",
1438
- "json": "r45dBj4S3VvMMYXxr9vHX4Z4Ma6ifPMCkK",
1439
- "field_header": "83"
1440
- }
1441
- ],
1442
- [
1443
- "Paths",
1444
- {
1445
- "binary": [
1446
- "01",
1447
- "41C8BE2C0A6AA17471B9F6D0AF92AAB1C94D5A25",
1448
- "00"
1449
- ],
1450
- "json": [[{
1451
- "account": "razqQKzJRdB4UxFPWf5NEpEG3WMkmwgcXA"
1452
- }]],
1453
- "field_header": "0112"
1454
- }
1455
- ]
1456
- ],
1457
- "blob_with_no_signing": "120000220000000024000000062E2BDF387861D551C37937E08000000000000000000000000000434E590000000000EE39E6D05CFD6A90DAB700A1D70149ECEE29DFEC68400000000000000C69D551F0F2C01DA000000000000000000000000000434E590000000000B53847FA45E828BF9A52E38F7FB39E363493CE8B8114B53847FA45E828BF9A52E38F7FB39E363493CE8B8314EE39E6D05CFD6A90DAB700A1D70149ECEE29DFEC01120141C8BE2C0A6AA17471B9F6D0AF92AAB1C94D5A2500"
1458
- },
1459
- {
1460
- "tx_json": {
1461
- "Account": "rP2jdgJhtY1pwDJQEMLfCixesg4cw8HcrW",
1462
- "Destination": "rHoUTGMxWKbrTTF8tpAjysjpu8PWrbt1Wx",
1463
- "TransactionType": "Payment",
1464
- "Amount": {
1465
- "currency": "RDD",
1466
- "value": "1150.848",
1467
- "issuer": "ra9eZxMbJrUcgV8ui7aPc161FgrqWScQxV"
1468
- },
1469
- "Fee": "10",
1470
- "SendMax": {
1471
- "currency": "RDD",
1472
- "value": "1152",
1473
- "issuer": "ra9eZxMbJrUcgV8ui7aPc161FgrqWScQxV"
1474
- },
1475
- "Flags": 2147483648,
1476
- "Sequence": 21703
1477
- },
1478
- "fields": [
1479
- [
1480
- "TransactionType",
1481
- {
1482
- "binary": ["0000"],
1483
- "json": "Payment",
1484
- "field_header": "12"
1485
- }
1486
- ],
1487
- [
1488
- "Flags",
1489
- {
1490
- "binary": ["80000000"],
1491
- "json": 2147483648,
1492
- "field_header": "22"
1493
- }
1494
- ],
1495
- [
1496
- "Sequence",
1497
- {
1498
- "binary": ["000054C7"],
1499
- "json": 21703,
1500
- "field_header": "24"
1501
- }
1502
- ],
1503
- [
1504
- "Amount",
1505
- {
1506
- "binary": [
1507
- "D54416B0AE3B0000",
1508
- "0000000000000000000000005244440000000000",
1509
- "387B5123A1C93417271BA6DBBBD087E68E7445B2"
1510
- ],
1511
- "json": {
1512
- "currency": "RDD",
1513
- "value": "1150.848",
1514
- "issuer": "ra9eZxMbJrUcgV8ui7aPc161FgrqWScQxV"
1515
- },
1516
- "field_header": "61"
1517
- }
1518
- ],
1519
- [
1520
- "Fee",
1521
- {
1522
- "binary": ["400000000000000A"],
1523
- "json": "10",
1524
- "field_header": "68"
1525
- }
1526
- ],
1527
- [
1528
- "SendMax",
1529
- {
1530
- "binary": [
1531
- "D54417BCE6C80000",
1532
- "0000000000000000000000005244440000000000",
1533
- "387B5123A1C93417271BA6DBBBD087E68E7445B2"
1534
- ],
1535
- "json": {
1536
- "currency": "RDD",
1537
- "value": "1152",
1538
- "issuer": "ra9eZxMbJrUcgV8ui7aPc161FgrqWScQxV"
1539
- },
1540
- "field_header": "69"
1541
- }
1542
- ],
1543
- [
1544
- "Account",
1545
- {
1546
- "binary": ["F7B414E9D25EE050553D8A0BB27202F4249AD328"],
1547
- "vl_length": "14",
1548
- "json": "rP2jdgJhtY1pwDJQEMLfCixesg4cw8HcrW",
1549
- "field_header": "81"
1550
- }
1551
- ],
1552
- [
1553
- "Destination",
1554
- {
1555
- "binary": ["B83EB506BBE5BCF3E89C638FDB185B1DEAC96584"],
1556
- "vl_length": "14",
1557
- "json": "rHoUTGMxWKbrTTF8tpAjysjpu8PWrbt1Wx",
1558
- "field_header": "83"
1559
- }
1560
- ]
1561
- ],
1562
- "blob_with_no_signing": "120000228000000024000054C761D54416B0AE3B00000000000000000000000000005244440000000000387B5123A1C93417271BA6DBBBD087E68E7445B268400000000000000A69D54417BCE6C800000000000000000000000000005244440000000000387B5123A1C93417271BA6DBBBD087E68E7445B28114F7B414E9D25EE050553D8A0BB27202F4249AD3288314B83EB506BBE5BCF3E89C638FDB185B1DEAC96584"
1563
- },
1564
- {
1565
- "tx_json": {
1566
- "Account": "r9TeThyi5xiuUUrFjtPKZiHcDxs7K9H6Rb",
1567
- "Destination": "r4BPgS7DHebQiU31xWELvZawwSG2fSPJ7C",
1568
- "TransactionType": "Payment",
1569
- "Amount": "25000000",
1570
- "Fee": "10",
1571
- "Flags": 0,
1572
- "Sequence": 2
1573
- },
1574
- "fields": [
1575
- [
1576
- "TransactionType",
1577
- {
1578
- "binary": ["0000"],
1579
- "json": "Payment",
1580
- "field_header": "12"
1581
- }
1582
- ],
1583
- [
1584
- "Flags",
1585
- {
1586
- "binary": ["00000000"],
1587
- "json": 0,
1588
- "field_header": "22"
1589
- }
1590
- ],
1591
- [
1592
- "Sequence",
1593
- {
1594
- "binary": ["00000002"],
1595
- "json": 2,
1596
- "field_header": "24"
1597
- }
1598
- ],
1599
- [
1600
- "Amount",
1601
- {
1602
- "binary": ["40000000017D7840"],
1603
- "json": "25000000",
1604
- "field_header": "61"
1605
- }
1606
- ],
1607
- [
1608
- "Fee",
1609
- {
1610
- "binary": ["400000000000000A"],
1611
- "json": "10",
1612
- "field_header": "68"
1613
- }
1614
- ],
1615
- [
1616
- "Account",
1617
- {
1618
- "binary": ["5CCB151F6E9D603F394AE778ACF10D3BECE874F6"],
1619
- "vl_length": "14",
1620
- "json": "r9TeThyi5xiuUUrFjtPKZiHcDxs7K9H6Rb",
1621
- "field_header": "81"
1622
- }
1623
- ],
1624
- [
1625
- "Destination",
1626
- {
1627
- "binary": ["E851BBBE79E328E43D68F43445368133DF5FBA5A"],
1628
- "vl_length": "14",
1629
- "json": "r4BPgS7DHebQiU31xWELvZawwSG2fSPJ7C",
1630
- "field_header": "83"
1631
- }
1632
- ]
1633
- ],
1634
- "blob_with_no_signing": "120000220000000024000000026140000000017D784068400000000000000A81145CCB151F6E9D603F394AE778ACF10D3BECE874F68314E851BBBE79E328E43D68F43445368133DF5FBA5A"
1635
- },
1636
- {
1637
- "tx_json": {
1638
- "Account": "rGWTUVmm1fB5QUjMYn8KfnyrFNgDiD9H9e",
1639
- "Destination": "rw71Qs1UYQrSQ9hSgRohqNNQcyjCCfffkQ",
1640
- "TransactionType": "Payment",
1641
- "Amount": "200000",
1642
- "Fee": "15",
1643
- "Flags": 0,
1644
- "Sequence": 144,
1645
- "LastLedgerSequence": 6220218
1646
- },
1647
- "fields": [
1648
- [
1649
- "TransactionType",
1650
- {
1651
- "binary": ["0000"],
1652
- "json": "Payment",
1653
- "field_header": "12"
1654
- }
1655
- ],
1656
- [
1657
- "Flags",
1658
- {
1659
- "binary": ["00000000"],
1660
- "json": 0,
1661
- "field_header": "22"
1662
- }
1663
- ],
1664
- [
1665
- "Sequence",
1666
- {
1667
- "binary": ["00000090"],
1668
- "json": 144,
1669
- "field_header": "24"
1670
- }
1671
- ],
1672
- [
1673
- "LastLedgerSequence",
1674
- {
1675
- "binary": ["005EE9BA"],
1676
- "json": 6220218,
1677
- "field_header": "201B"
1678
- }
1679
- ],
1680
- [
1681
- "Amount",
1682
- {
1683
- "binary": ["4000000000030D40"],
1684
- "json": "200000",
1685
- "field_header": "61"
1686
- }
1687
- ],
1688
- [
1689
- "Fee",
1690
- {
1691
- "binary": ["400000000000000F"],
1692
- "json": "15",
1693
- "field_header": "68"
1694
- }
1695
- ],
1696
- [
1697
- "Account",
1698
- {
1699
- "binary": ["AA1BD19D9E87BE8069FDBF6843653C43837C03C6"],
1700
- "vl_length": "14",
1701
- "json": "rGWTUVmm1fB5QUjMYn8KfnyrFNgDiD9H9e",
1702
- "field_header": "81"
1703
- }
1704
- ],
1705
- [
1706
- "Destination",
1707
- {
1708
- "binary": ["67FE6EC28E0464DD24FB2D62A492AAC697CFAD02"],
1709
- "vl_length": "14",
1710
- "json": "rw71Qs1UYQrSQ9hSgRohqNNQcyjCCfffkQ",
1711
- "field_header": "83"
1712
- }
1713
- ]
1714
- ],
1715
- "blob_with_no_signing": "12000022000000002400000090201B005EE9BA614000000000030D4068400000000000000F8114AA1BD19D9E87BE8069FDBF6843653C43837C03C6831467FE6EC28E0464DD24FB2D62A492AAC697CFAD02"
1716
- },
1717
- {
1718
- "tx_json": {
1719
- "Account": "r4BPgS7DHebQiU31xWELvZawwSG2fSPJ7C",
1720
- "Destination": "rBqSFEFg2B6GBMobtxnU1eLA1zbNC9NDGM",
1721
- "TransactionType": "Payment",
1722
- "Amount": "25000000",
1723
- "Fee": "12",
1724
- "Flags": 0,
1725
- "Sequence": 1,
1726
- "DestinationTag": 4146942154
1727
- },
1728
- "fields": [
1729
- [
1730
- "TransactionType",
1731
- {
1732
- "binary": ["0000"],
1733
- "json": "Payment",
1734
- "field_header": "12"
1735
- }
1736
- ],
1737
- [
1738
- "Flags",
1739
- {
1740
- "binary": ["00000000"],
1741
- "json": 0,
1742
- "field_header": "22"
1743
- }
1744
- ],
1745
- [
1746
- "Sequence",
1747
- {
1748
- "binary": ["00000001"],
1749
- "json": 1,
1750
- "field_header": "24"
1751
- }
1752
- ],
1753
- [
1754
- "DestinationTag",
1755
- {
1756
- "binary": ["F72D50CA"],
1757
- "json": 4146942154,
1758
- "field_header": "2E"
1759
- }
1760
- ],
1761
- [
1762
- "Amount",
1763
- {
1764
- "binary": ["40000000017D7840"],
1765
- "json": "25000000",
1766
- "field_header": "61"
1767
- }
1768
- ],
1769
- [
1770
- "Fee",
1771
- {
1772
- "binary": ["400000000000000C"],
1773
- "json": "12",
1774
- "field_header": "68"
1775
- }
1776
- ],
1777
- [
1778
- "Account",
1779
- {
1780
- "binary": ["E851BBBE79E328E43D68F43445368133DF5FBA5A"],
1781
- "vl_length": "14",
1782
- "json": "r4BPgS7DHebQiU31xWELvZawwSG2fSPJ7C",
1783
- "field_header": "81"
1784
- }
1785
- ],
1786
- [
1787
- "Destination",
1788
- {
1789
- "binary": ["76DAC5E814CD4AA74142C3AB45E69A900E637AA2"],
1790
- "vl_length": "14",
1791
- "json": "rBqSFEFg2B6GBMobtxnU1eLA1zbNC9NDGM",
1792
- "field_header": "83"
1793
- }
1794
- ]
1795
- ],
1796
- "blob_with_no_signing": "120000220000000024000000012EF72D50CA6140000000017D784068400000000000000C8114E851BBBE79E328E43D68F43445368133DF5FBA5A831476DAC5E814CD4AA74142C3AB45E69A900E637AA2"
1797
- },
1798
- {
1799
- "tx_json": {
1800
- "Account": "rFLiPGytDEwC5heoqFcFAZoqPPmKBzX1o",
1801
- "Destination": "rBsbetvMYuMkEeHZYizPMkpveCVH8EVQYd",
1802
- "TransactionType": "Payment",
1803
- "Amount": "500000",
1804
- "Fee": "20",
1805
- "SourceTag": 668920,
1806
- "Sequence": 34954
1807
- },
1808
- "fields": [
1809
- [
1810
- "TransactionType",
1811
- {
1812
- "binary": ["0000"],
1813
- "json": "Payment",
1814
- "field_header": "12"
1815
- }
1816
- ],
1817
- [
1818
- "SourceTag",
1819
- {
1820
- "binary": ["000A34F8"],
1821
- "json": 668920,
1822
- "field_header": "23"
1823
- }
1824
- ],
1825
- [
1826
- "Sequence",
1827
- {
1828
- "binary": ["0000888A"],
1829
- "json": 34954,
1830
- "field_header": "24"
1831
- }
1832
- ],
1833
- [
1834
- "Amount",
1835
- {
1836
- "binary": ["400000000007A120"],
1837
- "json": "500000",
1838
- "field_header": "61"
1839
- }
1840
- ],
1841
- [
1842
- "Fee",
1843
- {
1844
- "binary": ["4000000000000014"],
1845
- "json": "20",
1846
- "field_header": "68"
1847
- }
1848
- ],
1849
- [
1850
- "Account",
1851
- {
1852
- "binary": ["08F41F116A1F60D60296B16907F0A041BF106197"],
1853
- "vl_length": "14",
1854
- "json": "rFLiPGytDEwC5heoqFcFAZoqPPmKBzX1o",
1855
- "field_header": "81"
1856
- }
1857
- ],
1858
- [
1859
- "Destination",
1860
- {
1861
- "binary": ["6E2F0455C46CF5DF61A1E58419A89D45459045EA"],
1862
- "vl_length": "14",
1863
- "json": "rBsbetvMYuMkEeHZYizPMkpveCVH8EVQYd",
1864
- "field_header": "83"
1865
- }
1866
- ]
1867
- ],
1868
- "blob_with_no_signing": "12000023000A34F8240000888A61400000000007A120684000000000000014811408F41F116A1F60D60296B16907F0A041BF10619783146E2F0455C46CF5DF61A1E58419A89D45459045EA"
1869
- },
1870
- {
1871
- "tx_json": {
1872
- "Account": "r3ZDv3hLmTKwkgAqcXtX2yaMfnhRD3Grjc",
1873
- "Destination": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
1874
- "TransactionType": "Payment",
1875
- "Amount": {
1876
- "currency": "BTC",
1877
- "value": "0.04",
1878
- "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
1879
- },
1880
- "Fee": "106",
1881
- "SendMax": "3267350000",
1882
- "Flags": 0,
1883
- "Sequence": 10,
1884
- "Paths": [[{
1885
- "currency": "BTC",
1886
- "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
1887
- }]],
1888
- "InvoiceID": "342B8D16BEE494D169034AFF0908FDE35874A38E548D4CEC8DFC5C49E9A33B76",
1889
- "DestinationTag": 1403334172
1890
- },
1891
- "fields": [
1892
- [
1893
- "TransactionType",
1894
- {
1895
- "binary": ["0000"],
1896
- "json": "Payment",
1897
- "field_header": "12"
1898
- }
1899
- ],
1900
- [
1901
- "Flags",
1902
- {
1903
- "binary": ["00000000"],
1904
- "json": 0,
1905
- "field_header": "22"
1906
- }
1907
- ],
1908
- [
1909
- "Sequence",
1910
- {
1911
- "binary": ["0000000A"],
1912
- "json": 10,
1913
- "field_header": "24"
1914
- }
1915
- ],
1916
- [
1917
- "DestinationTag",
1918
- {
1919
- "binary": ["53A52E1C"],
1920
- "json": 1403334172,
1921
- "field_header": "2E"
1922
- }
1923
- ],
1924
- [
1925
- "InvoiceID",
1926
- {
1927
- "binary": ["342B8D16BEE494D169034AFF0908FDE35874A38E548D4CEC8DFC5C49E9A33B76"],
1928
- "json": "342B8D16BEE494D169034AFF0908FDE35874A38E548D4CEC8DFC5C49E9A33B76",
1929
- "field_header": "5011"
1930
- }
1931
- ],
1932
- [
1933
- "Amount",
1934
- {
1935
- "binary": [
1936
- "D40E35FA931A0000",
1937
- "0000000000000000000000004254430000000000",
1938
- "DD39C650A96EDA48334E70CC4A85B8B2E8502CD3"
1939
- ],
1940
- "json": {
1941
- "currency": "BTC",
1942
- "value": "0.04",
1943
- "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
1944
- },
1945
- "field_header": "61"
1946
- }
1947
- ],
1948
- [
1949
- "Fee",
1950
- {
1951
- "binary": ["400000000000006A"],
1952
- "json": "106",
1953
- "field_header": "68"
1954
- }
1955
- ],
1956
- [
1957
- "SendMax",
1958
- {
1959
- "binary": ["40000000C2BFCDF0"],
1960
- "json": "3267350000",
1961
- "field_header": "69"
1962
- }
1963
- ],
1964
- [
1965
- "Account",
1966
- {
1967
- "binary": ["52E0F910686FB449A23BC78C3D4CE564C988C6C0"],
1968
- "vl_length": "14",
1969
- "json": "r3ZDv3hLmTKwkgAqcXtX2yaMfnhRD3Grjc",
1970
- "field_header": "81"
1971
- }
1972
- ],
1973
- [
1974
- "Destination",
1975
- {
1976
- "binary": ["DD39C650A96EDA48334E70CC4A85B8B2E8502CD3"],
1977
- "vl_length": "14",
1978
- "json": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
1979
- "field_header": "83"
1980
- }
1981
- ],
1982
- [
1983
- "Paths",
1984
- {
1985
- "binary": [
1986
- "30",
1987
- "0000000000000000000000004254430000000000",
1988
- "DD39C650A96EDA48334E70CC4A85B8B2E8502CD3",
1989
- "00"
1990
- ],
1991
- "json": [[{
1992
- "currency": "BTC",
1993
- "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
1994
- }]],
1995
- "field_header": "0112"
1996
- }
1997
- ]
1998
- ],
1999
- "blob_with_no_signing": "1200002200000000240000000A2E53A52E1C5011342B8D16BEE494D169034AFF0908FDE35874A38E548D4CEC8DFC5C49E9A33B7661D40E35FA931A00000000000000000000000000004254430000000000DD39C650A96EDA48334E70CC4A85B8B2E8502CD368400000000000006A6940000000C2BFCDF0811452E0F910686FB449A23BC78C3D4CE564C988C6C08314DD39C650A96EDA48334E70CC4A85B8B2E8502CD30112300000000000000000000000004254430000000000DD39C650A96EDA48334E70CC4A85B8B2E8502CD300"
2000
- },
2001
- {
2002
- "tx_json": {
2003
- "Account": "rLpW9Reyn9YqZ8mxbq8nviXSp4TnHafVJQ",
2004
- "TransactionType": "OfferCancel",
2005
- "Fee": "12",
2006
- "OfferSequence": 20763,
2007
- "Flags": 0,
2008
- "Sequence": 20769,
2009
- "LastLedgerSequence": 6220009
2010
- },
2011
- "fields": [
2012
- [
2013
- "TransactionType",
2014
- {
2015
- "binary": ["0008"],
2016
- "json": "OfferCancel",
2017
- "field_header": "12"
2018
- }
2019
- ],
2020
- [
2021
- "Flags",
2022
- {
2023
- "binary": ["00000000"],
2024
- "json": 0,
2025
- "field_header": "22"
2026
- }
2027
- ],
2028
- [
2029
- "Sequence",
2030
- {
2031
- "binary": ["00005121"],
2032
- "json": 20769,
2033
- "field_header": "24"
2034
- }
2035
- ],
2036
- [
2037
- "OfferSequence",
2038
- {
2039
- "binary": ["0000511B"],
2040
- "json": 20763,
2041
- "field_header": "2019"
2042
- }
2043
- ],
2044
- [
2045
- "LastLedgerSequence",
2046
- {
2047
- "binary": ["005EE8E9"],
2048
- "json": 6220009,
2049
- "field_header": "201B"
2050
- }
2051
- ],
2052
- [
2053
- "Fee",
2054
- {
2055
- "binary": ["400000000000000C"],
2056
- "json": "12",
2057
- "field_header": "68"
2058
- }
2059
- ],
2060
- [
2061
- "Account",
2062
- {
2063
- "binary": ["D0B32295596E50017E246FE85FC5982A1BD89CE4"],
2064
- "vl_length": "14",
2065
- "json": "rLpW9Reyn9YqZ8mxbq8nviXSp4TnHafVJQ",
2066
- "field_header": "81"
2067
- }
2068
- ]
2069
- ],
2070
- "blob_with_no_signing": "1200082200000000240000512120190000511B201B005EE8E968400000000000000C8114D0B32295596E50017E246FE85FC5982A1BD89CE4"
2071
- },
2072
- {
2073
- "tx_json": {
2074
- "Account": "rfeMWWbSaGqc6Yth2dTetLBeKeUTTfE2pG",
2075
- "TransactionType": "SetRegularKey",
2076
- "Fee": "10",
2077
- "Flags": 2147483648,
2078
- "Sequence": 3,
2079
- "RegularKey": "rfeMWWbSaGqc6Yth2dTetLBeKeUTTfE2pG"
2080
- },
2081
- "fields": [
2082
- [
2083
- "TransactionType",
2084
- {
2085
- "binary": ["0005"],
2086
- "json": "SetRegularKey",
2087
- "field_header": "12"
2088
- }
2089
- ],
2090
- [
2091
- "Flags",
2092
- {
2093
- "binary": ["80000000"],
2094
- "json": 2147483648,
2095
- "field_header": "22"
2096
- }
2097
- ],
2098
- [
2099
- "Sequence",
2100
- {
2101
- "binary": ["00000003"],
2102
- "json": 3,
2103
- "field_header": "24"
2104
- }
2105
- ],
2106
- [
2107
- "Fee",
2108
- {
2109
- "binary": ["400000000000000A"],
2110
- "json": "10",
2111
- "field_header": "68"
2112
- }
2113
- ],
2114
- [
2115
- "Account",
2116
- {
2117
- "binary": ["48E143E2384A1B3C69A412789F2CA3FCE2F65F0B"],
2118
- "vl_length": "14",
2119
- "json": "rfeMWWbSaGqc6Yth2dTetLBeKeUTTfE2pG",
2120
- "field_header": "81"
2121
- }
2122
- ],
2123
- [
2124
- "RegularKey",
2125
- {
2126
- "binary": ["48E143E2384A1B3C69A412789F2CA3FCE2F65F0B"],
2127
- "vl_length": "14",
2128
- "json": "rfeMWWbSaGqc6Yth2dTetLBeKeUTTfE2pG",
2129
- "field_header": "88"
2130
- }
2131
- ]
2132
- ],
2133
- "blob_with_no_signing": "1200052280000000240000000368400000000000000A811448E143E2384A1B3C69A412789F2CA3FCE2F65F0B881448E143E2384A1B3C69A412789F2CA3FCE2F65F0B"
2134
- },
2135
- {
2136
- "tx_json": {
2137
- "Account": "rKXCummUHnenhYudNb9UoJ4mGBR75vFcgz",
2138
- "TransactionType": "SetRegularKey",
2139
- "Fee": "12",
2140
- "Flags": 2147483648,
2141
- "Sequence": 238,
2142
- "RegularKey": "rP9jbfTepHAHWB4q9YjNkLyaZT15uvexiZ",
2143
- "LastLedgerSequence": 6224204
2144
- },
2145
- "fields": [
2146
- [
2147
- "TransactionType",
2148
- {
2149
- "binary": ["0005"],
2150
- "json": "SetRegularKey",
2151
- "field_header": "12"
2152
- }
2153
- ],
2154
- [
2155
- "Flags",
2156
- {
2157
- "binary": ["80000000"],
2158
- "json": 2147483648,
2159
- "field_header": "22"
2160
- }
2161
- ],
2162
- [
2163
- "Sequence",
2164
- {
2165
- "binary": ["000000EE"],
2166
- "json": 238,
2167
- "field_header": "24"
2168
- }
2169
- ],
2170
- [
2171
- "LastLedgerSequence",
2172
- {
2173
- "binary": ["005EF94C"],
2174
- "json": 6224204,
2175
- "field_header": "201B"
2176
- }
2177
- ],
2178
- [
2179
- "Fee",
2180
- {
2181
- "binary": ["400000000000000C"],
2182
- "json": "12",
2183
- "field_header": "68"
2184
- }
2185
- ],
2186
- [
2187
- "Account",
2188
- {
2189
- "binary": ["CB3F392892D0772FF5AD155D8D70404B1DB2ACFE"],
2190
- "vl_length": "14",
2191
- "json": "rKXCummUHnenhYudNb9UoJ4mGBR75vFcgz",
2192
- "field_header": "81"
2193
- }
2194
- ],
2195
- [
2196
- "RegularKey",
2197
- {
2198
- "binary": ["F2F9A54D9CEBBE64342B52DE3450FFA0738C8D00"],
2199
- "vl_length": "14",
2200
- "json": "rP9jbfTepHAHWB4q9YjNkLyaZT15uvexiZ",
2201
- "field_header": "88"
2202
- }
2203
- ]
2204
- ],
2205
- "blob_with_no_signing": "120005228000000024000000EE201B005EF94C68400000000000000C8114CB3F392892D0772FF5AD155D8D70404B1DB2ACFE8814F2F9A54D9CEBBE64342B52DE3450FFA0738C8D00"
2206
- },
2207
- {
2208
- "tx_json": {
2209
- "Account": "rJMiz2rCMjZzEMijXNH1exNBryTQEjFd9S",
2210
- "TransactionType": "TrustSet",
2211
- "LimitAmount": {
2212
- "currency": "WCG",
2213
- "value": "10000000",
2214
- "issuer": "rUx4xgE7bNWCCgGcXv1CCoQyTcCeZ275YG"
2215
- },
2216
- "Fee": "12",
2217
- "Flags": 131072,
2218
- "Sequence": 44
2219
- },
2220
- "fields": [
2221
- [
2222
- "TransactionType",
2223
- {
2224
- "binary": ["0014"],
2225
- "json": "TrustSet",
2226
- "field_header": "12"
2227
- }
2228
- ],
2229
- [
2230
- "Flags",
2231
- {
2232
- "binary": ["00020000"],
2233
- "json": 131072,
2234
- "field_header": "22"
2235
- }
2236
- ],
2237
- [
2238
- "Sequence",
2239
- {
2240
- "binary": ["0000002C"],
2241
- "json": 44,
2242
- "field_header": "24"
2243
- }
2244
- ],
2245
- [
2246
- "LimitAmount",
2247
- {
2248
- "binary": [
2249
- "D6438D7EA4C68000",
2250
- "0000000000000000000000005743470000000000",
2251
- "832297BEF589D59F9C03A84F920F8D9128CC1CE4"
2252
- ],
2253
- "json": {
2254
- "currency": "WCG",
2255
- "value": "10000000",
2256
- "issuer": "rUx4xgE7bNWCCgGcXv1CCoQyTcCeZ275YG"
2257
- },
2258
- "field_header": "63"
2259
- }
2260
- ],
2261
- [
2262
- "Fee",
2263
- {
2264
- "binary": ["400000000000000C"],
2265
- "json": "12",
2266
- "field_header": "68"
2267
- }
2268
- ],
2269
- [
2270
- "Account",
2271
- {
2272
- "binary": ["BE6C30732AE33CF2AF3344CE8172A6B9300183E3"],
2273
- "vl_length": "14",
2274
- "json": "rJMiz2rCMjZzEMijXNH1exNBryTQEjFd9S",
2275
- "field_header": "81"
2276
- }
2277
- ]
2278
- ],
2279
- "blob_with_no_signing": "1200142200020000240000002C63D6438D7EA4C680000000000000000000000000005743470000000000832297BEF589D59F9C03A84F920F8D9128CC1CE468400000000000000C8114BE6C30732AE33CF2AF3344CE8172A6B9300183E3"
2280
- },
2281
- {
2282
- "tx_json": {
2283
- "Account": "rUyPiNcSFFj6uMR2gEaD8jUerQ59G1qvwN",
2284
- "TransactionType": "TrustSet",
2285
- "LimitAmount": {
2286
- "currency": "BTC",
2287
- "value": "1",
2288
- "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
2289
- },
2290
- "Fee": "12",
2291
- "Flags": 2147614720,
2292
- "Sequence": 43,
2293
- "LastLedgerSequence": 6220463
2294
- },
2295
- "fields": [
2296
- [
2297
- "TransactionType",
2298
- {
2299
- "binary": ["0014"],
2300
- "json": "TrustSet",
2301
- "field_header": "12"
2302
- }
2303
- ],
2304
- [
2305
- "Flags",
2306
- {
2307
- "binary": ["80020000"],
2308
- "json": 2147614720,
2309
- "field_header": "22"
2310
- }
2311
- ],
2312
- [
2313
- "Sequence",
2314
- {
2315
- "binary": ["0000002B"],
2316
- "json": 43,
2317
- "field_header": "24"
2318
- }
2319
- ],
2320
- [
2321
- "LastLedgerSequence",
2322
- {
2323
- "binary": ["005EEAAF"],
2324
- "json": 6220463,
2325
- "field_header": "201B"
2326
- }
2327
- ],
2328
- [
2329
- "LimitAmount",
2330
- {
2331
- "binary": [
2332
- "D4838D7EA4C68000",
2333
- "0000000000000000000000004254430000000000",
2334
- "DD39C650A96EDA48334E70CC4A85B8B2E8502CD3"
2335
- ],
2336
- "json": {
2337
- "currency": "BTC",
2338
- "value": "1",
2339
- "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
2340
- },
2341
- "field_header": "63"
2342
- }
2343
- ],
2344
- [
2345
- "Fee",
2346
- {
2347
- "binary": ["400000000000000C"],
2348
- "json": "12",
2349
- "field_header": "68"
2350
- }
2351
- ],
2352
- [
2353
- "Account",
2354
- {
2355
- "binary": ["8353C031DF5AA061A23535E6ABCEEEA23F152B1E"],
2356
- "vl_length": "14",
2357
- "json": "rUyPiNcSFFj6uMR2gEaD8jUerQ59G1qvwN",
2358
- "field_header": "81"
2359
- }
2360
- ]
2361
- ],
2362
- "blob_with_no_signing": "1200142280020000240000002B201B005EEAAF63D4838D7EA4C680000000000000000000000000004254430000000000DD39C650A96EDA48334E70CC4A85B8B2E8502CD368400000000000000C81148353C031DF5AA061A23535E6ABCEEEA23F152B1E"
2363
- },
2364
- {
2365
- "tx_json": {
2366
- "Account": "rpP2GdsQwenNnFPefbXFgiTvEgJWQpq8Rw",
2367
- "TransactionType": "AccountSet",
2368
- "Fee": "10",
2369
- "Flags": 0,
2370
- "Sequence": 10598
2371
- },
2372
- "fields": [
2373
- [
2374
- "TransactionType",
2375
- {
2376
- "binary": ["0003"],
2377
- "json": "AccountSet",
2378
- "field_header": "12"
2379
- }
2380
- ],
2381
- [
2382
- "Flags",
2383
- {
2384
- "binary": ["00000000"],
2385
- "json": 0,
2386
- "field_header": "22"
2387
- }
2388
- ],
2389
- [
2390
- "Sequence",
2391
- {
2392
- "binary": ["00002966"],
2393
- "json": 10598,
2394
- "field_header": "24"
2395
- }
2396
- ],
2397
- [
2398
- "Fee",
2399
- {
2400
- "binary": ["400000000000000A"],
2401
- "json": "10",
2402
- "field_header": "68"
2403
- }
2404
- ],
2405
- [
2406
- "Account",
2407
- {
2408
- "binary": ["0F3D0C7D2CFAB2EC8295451F0B3CA038E8E9CDCD"],
2409
- "vl_length": "14",
2410
- "json": "rpP2GdsQwenNnFPefbXFgiTvEgJWQpq8Rw",
2411
- "field_header": "81"
2412
- }
2413
- ]
2414
- ],
2415
- "blob_with_no_signing": "1200032200000000240000296668400000000000000A81140F3D0C7D2CFAB2EC8295451F0B3CA038E8E9CDCD"
2416
- },
2417
- {
2418
- "tx_json": {
2419
- "Account": "rGCnJuD31Kx4QGZJ2dX7xoje6T4Zr5s9EB",
2420
- "TransactionType": "AccountSet",
2421
- "Fee": "15",
2422
- "Flags": 0,
2423
- "Sequence": 290,
2424
- "LastLedgerSequence": 6221014
2425
- },
2426
- "fields": [
2427
- [
2428
- "TransactionType",
2429
- {
2430
- "binary": ["0003"],
2431
- "json": "AccountSet",
2432
- "field_header": "12"
2433
- }
2434
- ],
2435
- [
2436
- "Flags",
2437
- {
2438
- "binary": ["00000000"],
2439
- "json": 0,
2440
- "field_header": "22"
2441
- }
2442
- ],
2443
- [
2444
- "Sequence",
2445
- {
2446
- "binary": ["00000122"],
2447
- "json": 290,
2448
- "field_header": "24"
2449
- }
2450
- ],
2451
- [
2452
- "LastLedgerSequence",
2453
- {
2454
- "binary": ["005EECD6"],
2455
- "json": 6221014,
2456
- "field_header": "201B"
2457
- }
2458
- ],
2459
- [
2460
- "Fee",
2461
- {
2462
- "binary": ["400000000000000F"],
2463
- "json": "15",
2464
- "field_header": "68"
2465
- }
2466
- ],
2467
- [
2468
- "Account",
2469
- {
2470
- "binary": ["ABBD4A3AF95FDFD6D072F11421D8F107CAEA1852"],
2471
- "vl_length": "14",
2472
- "json": "rGCnJuD31Kx4QGZJ2dX7xoje6T4Zr5s9EB",
2473
- "field_header": "81"
2474
- }
2475
- ]
2476
- ],
2477
- "blob_with_no_signing": "12000322000000002400000122201B005EECD668400000000000000F8114ABBD4A3AF95FDFD6D072F11421D8F107CAEA1852"
2478
- }
2479
- ],
2480
- "values_tests": [
2481
- {
2482
- "test_json": "0",
2483
- "type_id": 6,
2484
- "is_native": true,
2485
- "type": "Amount",
2486
- "expected_hex": "4000000000000000",
2487
- "is_negative": false
2488
- },
2489
- {
2490
- "test_json": "1",
2491
- "type_id": 6,
2492
- "is_native": true,
2493
- "type": "Amount",
2494
- "expected_hex": "4000000000000001",
2495
- "is_negative": false
2496
- },
2497
- {
2498
- "test_json": "-1",
2499
- "type_id": 6,
2500
- "is_native": true,
2501
- "type": "Amount",
2502
- "expected_hex": "0000000000000001",
2503
- "is_negative": true
2504
- },
2505
- {
2506
- "test_json": {
2507
- "currency": "USD",
2508
- "value": "-1",
2509
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2510
- },
2511
- "significant_digits": 1,
2512
- "type_id": 6,
2513
- "is_native": false,
2514
- "mantissa": "00038D7EA4C68000",
2515
- "type": "Amount",
2516
- "expected_hex": "94838D7EA4C6800000000000000000000000000055534400000000000000000000000000000000000000000000000001",
2517
- "is_negative": true,
2518
- "exponent": -15
2519
- },
2520
- {
2521
- "test_json": {
2522
- "currency": "USD",
2523
- "value": "1",
2524
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2525
- },
2526
- "significant_digits": 1,
2527
- "type_id": 6,
2528
- "is_native": false,
2529
- "mantissa": "00038D7EA4C68000",
2530
- "type": "Amount",
2531
- "expected_hex": "D4838D7EA4C6800000000000000000000000000055534400000000000000000000000000000000000000000000000001",
2532
- "is_negative": false,
2533
- "exponent": -15
2534
- },
2535
- {
2536
- "test_json": {
2537
- "currency": "USD",
2538
- "value": "0",
2539
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2540
- },
2541
- "significant_digits": 1,
2542
- "type_id": 6,
2543
- "is_native": false,
2544
- "mantissa": "0000000000000000",
2545
- "type": "Amount",
2546
- "expected_hex": "800000000000000000000000000000000000000055534400000000000000000000000000000000000000000000000001",
2547
- "is_negative": false,
2548
- "exponent": -15
2549
- },
2550
- {
2551
- "test_json": {
2552
- "currency": "USD",
2553
- "value": "-1.0",
2554
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2555
- },
2556
- "significant_digits": 1,
2557
- "type_id": 6,
2558
- "is_native": false,
2559
- "mantissa": "00038D7EA4C68000",
2560
- "type": "Amount",
2561
- "expected_hex": "94838D7EA4C6800000000000000000000000000055534400000000000000000000000000000000000000000000000001",
2562
- "is_negative": true,
2563
- "exponent": -15
2564
- },
2565
- {
2566
- "test_json": {
2567
- "currency": "USD",
2568
- "value": "1.0",
2569
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2570
- },
2571
- "significant_digits": 1,
2572
- "type_id": 6,
2573
- "is_native": false,
2574
- "mantissa": "00038D7EA4C68000",
2575
- "type": "Amount",
2576
- "expected_hex": "D4838D7EA4C6800000000000000000000000000055534400000000000000000000000000000000000000000000000001",
2577
- "is_negative": false,
2578
- "exponent": -15
2579
- },
2580
- {
2581
- "test_json": {
2582
- "currency": "USD",
2583
- "value": "0.0",
2584
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2585
- },
2586
- "significant_digits": 1,
2587
- "type_id": 6,
2588
- "is_native": false,
2589
- "mantissa": "0000000000000000",
2590
- "type": "Amount",
2591
- "expected_hex": "800000000000000000000000000000000000000055534400000000000000000000000000000000000000000000000001",
2592
- "is_negative": false,
2593
- "exponent": -15
2594
- },
2595
- {
2596
- "test_json": {
2597
- "currency": "USD",
2598
- "value": "0.000000000000000000000000000000000000000000000000000000000000000000000000001",
2599
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2600
- },
2601
- "significant_digits": 1,
2602
- "type_id": 6,
2603
- "is_native": false,
2604
- "mantissa": "00038D7EA4C68000",
2605
- "type": "Amount",
2606
- "expected_hex": "C1C38D7EA4C6800000000000000000000000000055534400000000000000000000000000000000000000000000000001",
2607
- "is_negative": false,
2608
- "exponent": -90
2609
- },
2610
- {
2611
- "test_json": {
2612
- "currency": "USD",
2613
- "value": "100000000000000000000000000000000000000000000000000000000000000000000000000000",
2614
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2615
- },
2616
- "significant_digits": 1,
2617
- "type_id": 6,
2618
- "is_native": false,
2619
- "mantissa": "00038D7EA4C68000",
2620
- "type": "Amount",
2621
- "expected_hex": "E7C38D7EA4C6800000000000000000000000000055534400000000000000000000000000000000000000000000000001",
2622
- "is_negative": false,
2623
- "exponent": 62
2624
- },
2625
- {
2626
- "test_json": {
2627
- "currency": "USD",
2628
- "value": "1.111111111111111",
2629
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2630
- },
2631
- "significant_digits": 16,
2632
- "type_id": 6,
2633
- "is_native": false,
2634
- "mantissa": "0003F28CB71571C7",
2635
- "type": "Amount",
2636
- "expected_hex": "D483F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2637
- "is_negative": false,
2638
- "exponent": -15
2639
- },
2640
- {
2641
- "test_json": {
2642
- "currency": "USD",
2643
- "value": "11.11111111111111",
2644
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2645
- },
2646
- "significant_digits": 16,
2647
- "type_id": 6,
2648
- "is_native": false,
2649
- "mantissa": "0003F28CB71571C7",
2650
- "type": "Amount",
2651
- "expected_hex": "D4C3F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2652
- "is_negative": false,
2653
- "exponent": -14
2654
- },
2655
- {
2656
- "test_json": {
2657
- "currency": "USD",
2658
- "value": "111.1111111111111",
2659
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2660
- },
2661
- "significant_digits": 16,
2662
- "type_id": 6,
2663
- "is_native": false,
2664
- "mantissa": "0003F28CB71571C7",
2665
- "type": "Amount",
2666
- "expected_hex": "D503F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2667
- "is_negative": false,
2668
- "exponent": -13
2669
- },
2670
- {
2671
- "test_json": {
2672
- "currency": "USD",
2673
- "value": "1111.111111111111",
2674
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2675
- },
2676
- "significant_digits": 16,
2677
- "type_id": 6,
2678
- "is_native": false,
2679
- "mantissa": "0003F28CB71571C7",
2680
- "type": "Amount",
2681
- "expected_hex": "D543F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2682
- "is_negative": false,
2683
- "exponent": -12
2684
- },
2685
- {
2686
- "test_json": {
2687
- "currency": "USD",
2688
- "value": "11111.11111111111",
2689
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2690
- },
2691
- "significant_digits": 16,
2692
- "type_id": 6,
2693
- "is_native": false,
2694
- "mantissa": "0003F28CB71571C7",
2695
- "type": "Amount",
2696
- "expected_hex": "D583F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2697
- "is_negative": false,
2698
- "exponent": -11
2699
- },
2700
- {
2701
- "test_json": {
2702
- "currency": "USD",
2703
- "value": "111111.1111111111",
2704
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2705
- },
2706
- "significant_digits": 16,
2707
- "type_id": 6,
2708
- "is_native": false,
2709
- "mantissa": "0003F28CB71571C7",
2710
- "type": "Amount",
2711
- "expected_hex": "D5C3F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2712
- "is_negative": false,
2713
- "exponent": -10
2714
- },
2715
- {
2716
- "test_json": {
2717
- "currency": "USD",
2718
- "value": "1111111.111111111",
2719
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2720
- },
2721
- "significant_digits": 16,
2722
- "type_id": 6,
2723
- "is_native": false,
2724
- "mantissa": "0003F28CB71571C7",
2725
- "type": "Amount",
2726
- "expected_hex": "D603F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2727
- "is_negative": false,
2728
- "exponent": -9
2729
- },
2730
- {
2731
- "test_json": {
2732
- "currency": "USD",
2733
- "value": "11111111.11111111",
2734
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2735
- },
2736
- "significant_digits": 16,
2737
- "type_id": 6,
2738
- "is_native": false,
2739
- "mantissa": "0003F28CB71571C7",
2740
- "type": "Amount",
2741
- "expected_hex": "D643F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2742
- "is_negative": false,
2743
- "exponent": -8
2744
- },
2745
- {
2746
- "test_json": {
2747
- "currency": "USD",
2748
- "value": "111111111.1111111",
2749
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2750
- },
2751
- "significant_digits": 16,
2752
- "type_id": 6,
2753
- "is_native": false,
2754
- "mantissa": "0003F28CB71571C7",
2755
- "type": "Amount",
2756
- "expected_hex": "D683F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2757
- "is_negative": false,
2758
- "exponent": -7
2759
- },
2760
- {
2761
- "test_json": {
2762
- "currency": "USD",
2763
- "value": "1111111111.111111",
2764
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2765
- },
2766
- "significant_digits": 16,
2767
- "type_id": 6,
2768
- "is_native": false,
2769
- "mantissa": "0003F28CB71571C7",
2770
- "type": "Amount",
2771
- "expected_hex": "D6C3F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2772
- "is_negative": false,
2773
- "exponent": -6
2774
- },
2775
- {
2776
- "test_json": {
2777
- "currency": "USD",
2778
- "value": "11111111111.11111",
2779
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2780
- },
2781
- "significant_digits": 16,
2782
- "type_id": 6,
2783
- "is_native": false,
2784
- "mantissa": "0003F28CB71571C7",
2785
- "type": "Amount",
2786
- "expected_hex": "D703F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2787
- "is_negative": false,
2788
- "exponent": -5
2789
- },
2790
- {
2791
- "test_json": {
2792
- "currency": "USD",
2793
- "value": "111111111111.1111",
2794
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2795
- },
2796
- "significant_digits": 16,
2797
- "type_id": 6,
2798
- "is_native": false,
2799
- "mantissa": "0003F28CB71571C7",
2800
- "type": "Amount",
2801
- "expected_hex": "D743F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2802
- "is_negative": false,
2803
- "exponent": -4
2804
- },
2805
- {
2806
- "test_json": {
2807
- "currency": "USD",
2808
- "value": "1111111111111.111",
2809
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2810
- },
2811
- "significant_digits": 16,
2812
- "type_id": 6,
2813
- "is_native": false,
2814
- "mantissa": "0003F28CB71571C7",
2815
- "type": "Amount",
2816
- "expected_hex": "D783F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2817
- "is_negative": false,
2818
- "exponent": -3
2819
- },
2820
- {
2821
- "test_json": {
2822
- "currency": "USD",
2823
- "value": "11111111111111.11",
2824
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2825
- },
2826
- "significant_digits": 16,
2827
- "type_id": 6,
2828
- "is_native": false,
2829
- "mantissa": "0003F28CB71571C7",
2830
- "type": "Amount",
2831
- "expected_hex": "D7C3F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2832
- "is_negative": false,
2833
- "exponent": -2
2834
- },
2835
- {
2836
- "test_json": {
2837
- "currency": "USD",
2838
- "value": "111111111111111.1",
2839
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2840
- },
2841
- "significant_digits": 16,
2842
- "type_id": 6,
2843
- "is_native": false,
2844
- "mantissa": "0003F28CB71571C7",
2845
- "type": "Amount",
2846
- "expected_hex": "D803F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2847
- "is_negative": false,
2848
- "exponent": -1
2849
- },
2850
- {
2851
- "test_json": {
2852
- "currency": "USD",
2853
- "value": "1111111111111111.0",
2854
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2855
- },
2856
- "significant_digits": 16,
2857
- "type_id": 6,
2858
- "is_native": false,
2859
- "mantissa": "0003F28CB71571C7",
2860
- "type": "Amount",
2861
- "expected_hex": "D843F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
2862
- "is_negative": false,
2863
- "exponent": 0
2864
- },
2865
- {
2866
- "test_json": {
2867
- "currency": "USD",
2868
- "value": "1111111111111111.1",
2869
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2870
- },
2871
- "significant_digits": 17,
2872
- "type_id": 6,
2873
- "is_native": false,
2874
- "type": "Amount",
2875
- "error": "value precision of 17 is greater than maximum iou precision of 16",
2876
- "is_negative": false
2877
- },
2878
- {
2879
- "test_json": {
2880
- "currency": "USD",
2881
- "value": "9999999999999999000000000000000000000000000000000000000000000000000000000000000000000000000000000",
2882
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2883
- },
2884
- "type": "Amount",
2885
- "error": "exponent is too large"
2886
- },
2887
- {
2888
- "test_json": {
2889
- "currency": "USD",
2890
- "value": "11111000.00000001",
2891
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
2892
- },
2893
- "significant_digits": 16,
2894
- "type_id": 6,
2895
- "is_native": false,
2896
- "mantissa": "0003F28A20CF5801",
2897
- "type": "Amount",
2898
- "expected_hex": "D643F28A20CF580100000000000000000000000055534400000000000000000000000000000000000000000000000001",
2899
- "is_negative": false,
2900
- "exponent": -8
2901
- },
2902
- {
2903
- "test_json": "1000000000000000000",
2904
- "type_id": 6,
2905
- "is_native": true,
2906
- "type": "Amount",
2907
- "error": "1000000000000 absolute XAH is bigger than max native value 100000000000.0",
2908
- "is_negative": false
2909
- },
2910
- {
2911
- "test_json": "-10000000000000000000000000",
2912
- "type_id": 6,
2913
- "is_native": true,
2914
- "type": "Amount",
2915
- "error": "10000000000000000000 absolute XAH is bigger than max native value 100000000000.0",
2916
- "is_negative": true
2917
- }
2918
- ]
2919
- }