bluzelle-binary-codec
Version:
bluzelle binary codec
1,654 lines (1,653 loc) • 120 kB
JSON
{
"types": [
{
"name": "UInt16",
"ordinal": 1
},
{
"name": "UInt32",
"ordinal": 2
},
{
"name": "UInt64",
"ordinal": 3
},
{
"name": "Hash128",
"ordinal": 4
},
{
"name": "Hash256",
"ordinal": 5
},
{
"name": "Amount",
"ordinal": 6
},
{
"name": "Blob",
"ordinal": 7
},
{
"name": "AccountID",
"ordinal": 8
},
{
"name": "STObject",
"ordinal": 14
},
{
"name": "STArray",
"ordinal": 15
},
{
"name": "UInt8",
"ordinal": 16
},
{
"name": "Hash160",
"ordinal": 17
},
{
"name": "PathSet",
"ordinal": 18
},
{
"name": "Vector256",
"ordinal": 19
},
{
"name": "Transaction",
"ordinal": 10001
},
{
"name": "LedgerEntry",
"ordinal": 10002
},
{
"name": "Validation",
"ordinal": 10003
}
],
"fields_tests": [
{
"type_name": "UInt16",
"name": "LedgerEntryType",
"nth_of_type": 1,
"type": 1,
"expected_hex": "11"
},
{
"type_name": "UInt16",
"name": "TransactionType",
"nth_of_type": 2,
"type": 1,
"expected_hex": "12"
},
{
"type_name": "UInt32",
"name": "Flags",
"nth_of_type": 2,
"type": 2,
"expected_hex": "22"
},
{
"type_name": "UInt32",
"name": "SourceTag",
"nth_of_type": 3,
"type": 2,
"expected_hex": "23"
},
{
"type_name": "UInt32",
"name": "Sequence",
"nth_of_type": 4,
"type": 2,
"expected_hex": "24"
},
{
"type_name": "UInt32",
"name": "PreviousTxnLgrSeq",
"nth_of_type": 5,
"type": 2,
"expected_hex": "25"
},
{
"type_name": "UInt32",
"name": "LedgerSequence",
"nth_of_type": 6,
"type": 2,
"expected_hex": "26"
},
{
"type_name": "UInt32",
"name": "CloseTime",
"nth_of_type": 7,
"type": 2,
"expected_hex": "27"
},
{
"type_name": "UInt32",
"name": "ParentCloseTime",
"nth_of_type": 8,
"type": 2,
"expected_hex": "28"
},
{
"type_name": "UInt32",
"name": "SigningTime",
"nth_of_type": 9,
"type": 2,
"expected_hex": "29"
},
{
"type_name": "UInt32",
"name": "Expiration",
"nth_of_type": 10,
"type": 2,
"expected_hex": "2A"
},
{
"type_name": "UInt32",
"name": "TransferRate",
"nth_of_type": 11,
"type": 2,
"expected_hex": "2B"
},
{
"type_name": "UInt32",
"name": "WalletSize",
"nth_of_type": 12,
"type": 2,
"expected_hex": "2C"
},
{
"type_name": "UInt32",
"name": "OwnerCount",
"nth_of_type": 13,
"type": 2,
"expected_hex": "2D"
},
{
"type_name": "UInt32",
"name": "DestinationTag",
"nth_of_type": 14,
"type": 2,
"expected_hex": "2E"
},
{
"type_name": "UInt32",
"name": "HighQualityIn",
"nth_of_type": 16,
"type": 2,
"expected_hex": "2010"
},
{
"type_name": "UInt32",
"name": "HighQualityOut",
"nth_of_type": 17,
"type": 2,
"expected_hex": "2011"
},
{
"type_name": "UInt32",
"name": "LowQualityIn",
"nth_of_type": 18,
"type": 2,
"expected_hex": "2012"
},
{
"type_name": "UInt32",
"name": "LowQualityOut",
"nth_of_type": 19,
"type": 2,
"expected_hex": "2013"
},
{
"type_name": "UInt32",
"name": "QualityIn",
"nth_of_type": 20,
"type": 2,
"expected_hex": "2014"
},
{
"type_name": "UInt32",
"name": "QualityOut",
"nth_of_type": 21,
"type": 2,
"expected_hex": "2015"
},
{
"type_name": "UInt32",
"name": "StampEscrow",
"nth_of_type": 22,
"type": 2,
"expected_hex": "2016"
},
{
"type_name": "UInt32",
"name": "BondAmount",
"nth_of_type": 23,
"type": 2,
"expected_hex": "2017"
},
{
"type_name": "UInt32",
"name": "LoadFee",
"nth_of_type": 24,
"type": 2,
"expected_hex": "2018"
},
{
"type_name": "UInt32",
"name": "OfferSequence",
"nth_of_type": 25,
"type": 2,
"expected_hex": "2019"
},
{
"type_name": "UInt32",
"name": "FirstLedgerSequence",
"nth_of_type": 26,
"type": 2,
"expected_hex": "201A"
},
{
"type_name": "UInt32",
"name": "LastLedgerSequence",
"nth_of_type": 27,
"type": 2,
"expected_hex": "201B"
},
{
"type_name": "UInt32",
"name": "TransactionIndex",
"nth_of_type": 28,
"type": 2,
"expected_hex": "201C"
},
{
"type_name": "UInt32",
"name": "OperationLimit",
"nth_of_type": 29,
"type": 2,
"expected_hex": "201D"
},
{
"type_name": "UInt32",
"name": "ReferenceFeeUnits",
"nth_of_type": 30,
"type": 2,
"expected_hex": "201E"
},
{
"type_name": "UInt32",
"name": "ReserveBase",
"nth_of_type": 31,
"type": 2,
"expected_hex": "201F"
},
{
"type_name": "UInt32",
"name": "ReserveIncrement",
"nth_of_type": 32,
"type": 2,
"expected_hex": "2020"
},
{
"type_name": "UInt32",
"name": "SetFlag",
"nth_of_type": 33,
"type": 2,
"expected_hex": "2021"
},
{
"type_name": "UInt32",
"name": "ClearFlag",
"nth_of_type": 34,
"type": 2,
"expected_hex": "2022"
},
{
"type_name": "UInt32",
"name": "SignerQuorum",
"nth_of_type": 35,
"type": 2,
"expected_hex": "2023"
},
{
"type_name": "UInt32",
"name": "CancelAfter",
"nth_of_type": 36,
"type": 2,
"expected_hex": "2024"
},
{
"type_name": "UInt32",
"name": "FinishAfter",
"nth_of_type": 37,
"type": 2,
"expected_hex": "2025"
},
{
"type_name": "UInt64",
"name": "IndexNext",
"nth_of_type": 1,
"type": 3,
"expected_hex": "31"
},
{
"type_name": "UInt64",
"name": "IndexPrevious",
"nth_of_type": 2,
"type": 3,
"expected_hex": "32"
},
{
"type_name": "UInt64",
"name": "BookNode",
"nth_of_type": 3,
"type": 3,
"expected_hex": "33"
},
{
"type_name": "UInt64",
"name": "OwnerNode",
"nth_of_type": 4,
"type": 3,
"expected_hex": "34"
},
{
"type_name": "UInt64",
"name": "BaseFee",
"nth_of_type": 5,
"type": 3,
"expected_hex": "35"
},
{
"type_name": "UInt64",
"name": "ExchangeRate",
"nth_of_type": 6,
"type": 3,
"expected_hex": "36"
},
{
"type_name": "UInt64",
"name": "LowNode",
"nth_of_type": 7,
"type": 3,
"expected_hex": "37"
},
{
"type_name": "UInt64",
"name": "HighNode",
"nth_of_type": 8,
"type": 3,
"expected_hex": "38"
},
{
"type_name": "Hash128",
"name": "EmailHash",
"nth_of_type": 1,
"type": 4,
"expected_hex": "41"
},
{
"type_name": "Hash256",
"name": "LedgerHash",
"nth_of_type": 1,
"type": 5,
"expected_hex": "51"
},
{
"type_name": "Hash256",
"name": "ParentHash",
"nth_of_type": 2,
"type": 5,
"expected_hex": "52"
},
{
"type_name": "Hash256",
"name": "TransactionHash",
"nth_of_type": 3,
"type": 5,
"expected_hex": "53"
},
{
"type_name": "Hash256",
"name": "AccountHash",
"nth_of_type": 4,
"type": 5,
"expected_hex": "54"
},
{
"type_name": "Hash256",
"name": "PreviousTxnID",
"nth_of_type": 5,
"type": 5,
"expected_hex": "55"
},
{
"type_name": "Hash256",
"name": "LedgerIndex",
"nth_of_type": 6,
"type": 5,
"expected_hex": "56"
},
{
"type_name": "Hash256",
"name": "WalletLocator",
"nth_of_type": 7,
"type": 5,
"expected_hex": "57"
},
{
"type_name": "Hash256",
"name": "RootIndex",
"nth_of_type": 8,
"type": 5,
"expected_hex": "58"
},
{
"type_name": "Hash256",
"name": "AccountTxnID",
"nth_of_type": 9,
"type": 5,
"expected_hex": "59"
},
{
"type_name": "Hash256",
"name": "BookDirectory",
"nth_of_type": 16,
"type": 5,
"expected_hex": "5010"
},
{
"type_name": "Hash256",
"name": "InvoiceID",
"nth_of_type": 17,
"type": 5,
"expected_hex": "5011"
},
{
"type_name": "Hash256",
"name": "Nickname",
"nth_of_type": 18,
"type": 5,
"expected_hex": "5012"
},
{
"type_name": "Hash256",
"name": "Amendment",
"nth_of_type": 19,
"type": 5,
"expected_hex": "5013"
},
{
"type_name": "Hash256",
"name": "TicketID",
"nth_of_type": 20,
"type": 5,
"expected_hex": "5014"
},
{
"type_name": "Hash256",
"name": "Digest",
"nth_of_type": 21,
"type": 5,
"expected_hex": "5015"
},
{
"type_name": "Amount",
"name": "Amount",
"nth_of_type": 1,
"type": 6,
"expected_hex": "61"
},
{
"type_name": "Amount",
"name": "Balance",
"nth_of_type": 2,
"type": 6,
"expected_hex": "62"
},
{
"type_name": "Amount",
"name": "LimitAmount",
"nth_of_type": 3,
"type": 6,
"expected_hex": "63"
},
{
"type_name": "Amount",
"name": "TakerPays",
"nth_of_type": 4,
"type": 6,
"expected_hex": "64"
},
{
"type_name": "Amount",
"name": "TakerGets",
"nth_of_type": 5,
"type": 6,
"expected_hex": "65"
},
{
"type_name": "Amount",
"name": "LowLimit",
"nth_of_type": 6,
"type": 6,
"expected_hex": "66"
},
{
"type_name": "Amount",
"name": "HighLimit",
"nth_of_type": 7,
"type": 6,
"expected_hex": "67"
},
{
"type_name": "Amount",
"name": "Fee",
"nth_of_type": 8,
"type": 6,
"expected_hex": "68"
},
{
"type_name": "Amount",
"name": "SendMax",
"nth_of_type": 9,
"type": 6,
"expected_hex": "69"
},
{
"type_name": "Amount",
"name": "MinimumOffer",
"nth_of_type": 16,
"type": 6,
"expected_hex": "6010"
},
{
"type_name": "Amount",
"name": "BluzelleEscrow",
"nth_of_type": 17,
"type": 6,
"expected_hex": "6011"
},
{
"type_name": "Amount",
"name": "DeliveredAmount",
"nth_of_type": 18,
"type": 6,
"expected_hex": "6012"
},
{
"type_name": "Blob",
"name": "PublicKey",
"nth_of_type": 1,
"type": 7,
"expected_hex": "71"
},
{
"type_name": "Blob",
"name": "MessageKey",
"nth_of_type": 2,
"type": 7,
"expected_hex": "72"
},
{
"type_name": "Blob",
"name": "SigningPubKey",
"nth_of_type": 3,
"type": 7,
"expected_hex": "73"
},
{
"type_name": "Blob",
"name": "TxnSignature",
"nth_of_type": 4,
"type": 7,
"expected_hex": "74"
},
{
"type_name": "Blob",
"name": "Generator",
"nth_of_type": 5,
"type": 7,
"expected_hex": "75"
},
{
"type_name": "Blob",
"name": "Signature",
"nth_of_type": 6,
"type": 7,
"expected_hex": "76"
},
{
"type_name": "Blob",
"name": "Domain",
"nth_of_type": 7,
"type": 7,
"expected_hex": "77"
},
{
"type_name": "Blob",
"name": "FundCode",
"nth_of_type": 8,
"type": 7,
"expected_hex": "78"
},
{
"type_name": "Blob",
"name": "RemoveCode",
"nth_of_type": 9,
"type": 7,
"expected_hex": "79"
},
{
"type_name": "Blob",
"name": "ExpireCode",
"nth_of_type": 10,
"type": 7,
"expected_hex": "7A"
},
{
"type_name": "Blob",
"name": "CreateCode",
"nth_of_type": 11,
"type": 7,
"expected_hex": "7B"
},
{
"type_name": "Blob",
"name": "MemoType",
"nth_of_type": 12,
"type": 7,
"expected_hex": "7C"
},
{
"type_name": "Blob",
"name": "MemoData",
"nth_of_type": 13,
"type": 7,
"expected_hex": "7D"
},
{
"type_name": "Blob",
"name": "MemoFormat",
"nth_of_type": 14,
"type": 7,
"expected_hex": "7E"
},
{
"type_name": "Blob",
"name": "Proof",
"nth_of_type": 17,
"type": 7,
"expected_hex": "7011"
},
{
"type_name": "AccountID",
"name": "Account",
"nth_of_type": 1,
"type": 8,
"expected_hex": "81"
},
{
"type_name": "AccountID",
"name": "Owner",
"nth_of_type": 2,
"type": 8,
"expected_hex": "82"
},
{
"type_name": "AccountID",
"name": "Destination",
"nth_of_type": 3,
"type": 8,
"expected_hex": "83"
},
{
"type_name": "AccountID",
"name": "Issuer",
"nth_of_type": 4,
"type": 8,
"expected_hex": "84"
},
{
"type_name": "AccountID",
"name": "Target",
"nth_of_type": 7,
"type": 8,
"expected_hex": "87"
},
{
"type_name": "AccountID",
"name": "RegularKey",
"nth_of_type": 8,
"type": 8,
"expected_hex": "88"
},
{
"type_name": "STObject",
"name": "ObjectEndMarker",
"nth_of_type": 1,
"type": 14,
"expected_hex": "E1"
},
{
"type_name": "STObject",
"name": "TransactionMetaData",
"nth_of_type": 2,
"type": 14,
"expected_hex": "E2"
},
{
"type_name": "STObject",
"name": "CreatedNode",
"nth_of_type": 3,
"type": 14,
"expected_hex": "E3"
},
{
"type_name": "STObject",
"name": "DeletedNode",
"nth_of_type": 4,
"type": 14,
"expected_hex": "E4"
},
{
"type_name": "STObject",
"name": "ModifiedNode",
"nth_of_type": 5,
"type": 14,
"expected_hex": "E5"
},
{
"type_name": "STObject",
"name": "PreviousFields",
"nth_of_type": 6,
"type": 14,
"expected_hex": "E6"
},
{
"type_name": "STObject",
"name": "FinalFields",
"nth_of_type": 7,
"type": 14,
"expected_hex": "E7"
},
{
"type_name": "STObject",
"name": "NewFields",
"nth_of_type": 8,
"type": 14,
"expected_hex": "E8"
},
{
"type_name": "STObject",
"name": "TemplateEntry",
"nth_of_type": 9,
"type": 14,
"expected_hex": "E9"
},
{
"type_name": "STObject",
"name": "Memo",
"nth_of_type": 10,
"type": 14,
"expected_hex": "EA"
},
{
"type_name": "STArray",
"name": "ArrayEndMarker",
"nth_of_type": 1,
"type": 15,
"expected_hex": "F1"
},
{
"type_name": "STArray",
"name": "Signers",
"nth_of_type": 3,
"type": 15,
"expected_hex": "F3"
},
{
"type_name": "STArray",
"name": "SignerEntries",
"nth_of_type": 4,
"type": 15,
"expected_hex": "F4"
},
{
"type_name": "STArray",
"name": "Template",
"nth_of_type": 5,
"type": 15,
"expected_hex": "F5"
},
{
"type_name": "STArray",
"name": "Necessary",
"nth_of_type": 6,
"type": 15,
"expected_hex": "F6"
},
{
"type_name": "STArray",
"name": "Sufficient",
"nth_of_type": 7,
"type": 15,
"expected_hex": "F7"
},
{
"type_name": "STArray",
"name": "AffectedNodes",
"nth_of_type": 8,
"type": 15,
"expected_hex": "F8"
},
{
"type_name": "STArray",
"name": "Memos",
"nth_of_type": 9,
"type": 15,
"expected_hex": "F9"
},
{
"type_name": "UInt8",
"name": "CloseResolution",
"nth_of_type": 1,
"type": 16,
"expected_hex": "0110"
},
{
"type_name": "UInt8",
"name": "Method",
"nth_of_type": 2,
"type": 16,
"expected_hex": "0210"
},
{
"type_name": "UInt8",
"name": "TransactionResult",
"nth_of_type": 3,
"type": 16,
"expected_hex": "0310"
},
{
"type_name": "Hash160",
"name": "TakerPaysCurrency",
"nth_of_type": 1,
"type": 17,
"expected_hex": "0111"
},
{
"type_name": "Hash160",
"name": "TakerPaysIssuer",
"nth_of_type": 2,
"type": 17,
"expected_hex": "0211"
},
{
"type_name": "Hash160",
"name": "TakerGetsCurrency",
"nth_of_type": 3,
"type": 17,
"expected_hex": "0311"
},
{
"type_name": "Hash160",
"name": "TakerGetsIssuer",
"nth_of_type": 4,
"type": 17,
"expected_hex": "0411"
},
{
"type_name": "PathSet",
"name": "Paths",
"nth_of_type": 1,
"type": 18,
"expected_hex": "0112"
},
{
"type_name": "Vector256",
"name": "Indexes",
"nth_of_type": 1,
"type": 19,
"expected_hex": "0113"
},
{
"type_name": "Vector256",
"name": "Hashes",
"nth_of_type": 2,
"type": 19,
"expected_hex": "0213"
},
{
"type_name": "Vector256",
"name": "Amendments",
"nth_of_type": 3,
"type": 19,
"expected_hex": "0313"
}
],
"whole_objects": [
{
"tx_json": {
"TakerPays": "101204800",
"Account": "rGFpans8aW7XZNEcNky6RHKyEdLvXPMnUn",
"TransactionType": "OfferCreate",
"Fee": "12",
"Expiration": 1398443249,
"TakerGets": {
"currency": "CNY",
"value": "4.2",
"issuer": "rKiCet8SdvWxPXnAgYarFUXMh1zCPz432Y"
},
"Flags": 0,
"Sequence": 6068
},
"fields": [
[
"TransactionType",
{
"binary": ["0007"],
"json": "OfferCreate",
"field_header": "12"
}
],
[
"Flags",
{
"binary": ["00000000"],
"json": 0,
"field_header": "22"
}
],
[
"Sequence",
{
"binary": ["000017B4"],
"json": 6068,
"field_header": "24"
}
],
[
"Expiration",
{
"binary": ["535A8CF1"],
"json": 1398443249,
"field_header": "2A"
}
],
[
"TakerPays",
{
"binary": ["4000000006084340"],
"json": "101204800",
"field_header": "64"
}
],
[
"TakerGets",
{
"binary": [
"D48EEBE0B40E8000",
"000000000000000000000000434E590000000000",
"CED6E99370D5C00EF4EBF72567DA99F5661BFB3A"
],
"json": {
"currency": "CNY",
"value": "4.2",
"issuer": "rKiCet8SdvWxPXnAgYarFUXMh1zCPz432Y"
},
"field_header": "65"
}
],
[
"Fee",
{
"binary": ["400000000000000C"],
"json": "12",
"field_header": "68"
}
],
[
"Account",
{
"binary": ["AD6E583D47F90F29FD8B23225E6F905602B0292E"],
"vl_length": "14",
"json": "rGFpans8aW7XZNEcNky6RHKyEdLvXPMnUn",
"field_header": "81"
}
]
],
"blob_with_no_signing": "120007220000000024000017B42A535A8CF164400000000608434065D48EEBE0B40E8000000000000000000000000000434E590000000000CED6E99370D5C00EF4EBF72567DA99F5661BFB3A68400000000000000C8114AD6E583D47F90F29FD8B23225E6F905602B0292E"
},
{
"tx_json": {
"TakerPays": "1311313",
"Account": "rLpW9Reyn9YqZ8mxbq8nviXSp4TnHafVJQ",
"TransactionType": "OfferCreate",
"Fee": "12",
"TakerGets": {
"currency": "CNY",
"value": "0.05114362355976031",
"issuer": "rGYYWKxT1XgNipUJouCq4cKiyAdq8xBoE9"
},
"Flags": 0,
"Sequence": 20772,
"LastLedgerSequence": 6220012
},
"fields": [
[
"TransactionType",
{
"binary": ["0007"],
"json": "OfferCreate",
"field_header": "12"
}
],
[
"Flags",
{
"binary": ["00000000"],
"json": 0,
"field_header": "22"
}
],
[
"Sequence",
{
"binary": ["00005124"],
"json": 20772,
"field_header": "24"
}
],
[
"LastLedgerSequence",
{
"binary": ["005EE8EC"],
"json": 6220012,
"field_header": "201B"
}
],
[
"TakerPays",
{
"binary": ["4000000000140251"],
"json": "1311313",
"field_header": "64"
}
],
[
"TakerGets",
{
"binary": [
"D4122B7C477B075F",
"000000000000000000000000434E590000000000",
"AA8114C65DA8EA1BE40849F974685289CC145CCF"
],
"json": {
"currency": "CNY",
"value": "0.05114362355976031",
"issuer": "rGYYWKxT1XgNipUJouCq4cKiyAdq8xBoE9"
},
"field_header": "65"
}
],
[
"Fee",
{
"binary": ["400000000000000C"],
"json": "12",
"field_header": "68"
}
],
[
"Account",
{
"binary": ["D0B32295596E50017E246FE85FC5982A1BD89CE4"],
"vl_length": "14",
"json": "rLpW9Reyn9YqZ8mxbq8nviXSp4TnHafVJQ",
"field_header": "81"
}
]
],
"blob_with_no_signing": "12000722000000002400005124201B005EE8EC64400000000014025165D4122B7C477B075F000000000000000000000000434E590000000000AA8114C65DA8EA1BE40849F974685289CC145CCF68400000000000000C8114D0B32295596E50017E246FE85FC5982A1BD89CE4"
},
{
"tx_json": {
"TakerPays": "223174650",
"Account": "rPk2dXr27rMw9G5Ej9ad2Tt7RJzGy8ycBp",
"TransactionType": "OfferCreate",
"Memos": [{"Memo": {
"MemoType": "584D4D2076616C7565",
"MemoData": "322E3230393635"
}}],
"Fee": "15",
"OfferSequence": 1002,
"TakerGets": {
"currency": "XMM",
"value": "100",
"issuer": "rExAPEZvbkZqYPuNcZ7XEBLENEshsWDQc8"
},
"Flags": 524288,
"Sequence": 1003,
"LastLedgerSequence": 6220135
},
"fields": [
[
"TransactionType",
{
"binary": ["0007"],
"json": "OfferCreate",
"field_header": "12"
}
],
[
"Flags",
{
"binary": ["00080000"],
"json": 524288,
"field_header": "22"
}
],
[
"Sequence",
{
"binary": ["000003EB"],
"json": 1003,
"field_header": "24"
}
],
[
"OfferSequence",
{
"binary": ["000003EA"],
"json": 1002,
"field_header": "2019"
}
],
[
"LastLedgerSequence",
{
"binary": ["005EE967"],
"json": 6220135,
"field_header": "201B"
}
],
[
"TakerPays",
{
"binary": ["400000000D4D5FFA"],
"json": "223174650",
"field_header": "64"
}
],
[
"TakerGets",
{
"binary": [
"D5038D7EA4C68000",
"000000000000000000000000584D4D0000000000",
"A426093A78AA86EB2B878E5C2E33FEC224A01849"
],
"json": {
"currency": "XMM",
"value": "100",
"issuer": "rExAPEZvbkZqYPuNcZ7XEBLENEshsWDQc8"
},
"field_header": "65"
}
],
[
"Fee",
{
"binary": ["400000000000000F"],
"json": "15",
"field_header": "68"
}
],
[
"Account",
{
"binary": ["F990B9E746546554A7B50A5E013BCB57095C6BB8"],
"vl_length": "14",
"json": "rPk2dXr27rMw9G5Ej9ad2Tt7RJzGy8ycBp",
"field_header": "81"
}
],
[
"Memos",
{
"binary": [
"EA",
"7C",
"09",
"584D4D2076616C7565",
"7D",
"07",
"322E3230393635",
"E1"
],
"json": [{"Memo": {
"MemoType": "584D4D2076616C7565",
"MemoData": "322E3230393635"
}}],
"field_header": "F9"
}
]
],
"blob_with_no_signing": "120007220008000024000003EB2019000003EA201B005EE96764400000000D4D5FFA65D5038D7EA4C68000000000000000000000000000584D4D0000000000A426093A78AA86EB2B878E5C2E33FEC224A0184968400000000000000F8114F990B9E746546554A7B50A5E013BCB57095C6BB8F9EA7C09584D4D2076616C75657D07322E3230393635E1F1"
},
{
"tx_json": {
"TakerPays": {
"currency": "BTC",
"value": "0.01262042643559221",
"issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
},
"Account": "rPEZyTnSyQyXBCwMVYyaafSVPL8oMtfG6a",
"TransactionType": "OfferCreate",
"Fee": "50",
"OfferSequence": 526554,
"TakerGets": "1010386370",
"Sequence": 526615
},
"fields": [
[
"TransactionType",
{
"binary": ["0007"],
"json": "OfferCreate",
"field_header": "12"
}
],
[
"Sequence",
{
"binary": ["00080917"],
"json": 526615,
"field_header": "24"
}
],
[
"OfferSequence",
{
"binary": ["000808DA"],
"json": 526554,
"field_header": "2019"
}
],
[
"TakerPays",
{
"binary": [
"D4047BD23375F335",
"0000000000000000000000004254430000000000",
"0A20B3C85F482532A9578DBB3950B85CA06594D1"
],
"json": {
"currency": "BTC",
"value": "0.01262042643559221",
"issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
},
"field_header": "64"
}
],
[
"TakerGets",
{
"binary": ["400000003C3945C2"],
"json": "1010386370",
"field_header": "65"
}
],
[
"Fee",
{
"binary": ["4000000000000032"],
"json": "50",
"field_header": "68"
}
],
[
"Account",
{
"binary": ["F4141D8B4EF33BC3EE224088CA418DFCD2847193"],
"vl_length": "14",
"json": "rPEZyTnSyQyXBCwMVYyaafSVPL8oMtfG6a",
"field_header": "81"
}
]
],
"blob_with_no_signing": "12000724000809172019000808DA64D4047BD23375F33500000000000000000000000042544300000000000A20B3C85F482532A9578DBB3950B85CA06594D165400000003C3945C26840000000000000328114F4141D8B4EF33BC3EE224088CA418DFCD2847193"
},
{
"tx_json": {
"Account": "rHXUjUtk5eiPFYpg27izxHeZ1t4x835Ecn",
"Destination": "r45dBj4S3VvMMYXxr9vHX4Z4Ma6ifPMCkK",
"TransactionType": "Payment",
"Amount": {
"currency": "CNY",
"value": "5000",
"issuer": "r45dBj4S3VvMMYXxr9vHX4Z4Ma6ifPMCkK"
},
"Fee": "12",
"SendMax": {
"currency": "CNY",
"value": "5050",
"issuer": "rHXUjUtk5eiPFYpg27izxHeZ1t4x835Ecn"
},
"Flags": 0,
"Sequence": 6,
"Paths": [[{
"account": "razqQKzJRdB4UxFPWf5NEpEG3WMkmwgcXA"
}]],
"DestinationTag": 736049272
},
"fields": [
[
"TransactionType",
{
"binary": ["0000"],
"json": "Payment",
"field_header": "12"
}
],
[
"Flags",
{
"binary": ["00000000"],
"json": 0,
"field_header": "22"
}
],
[
"Sequence",
{
"binary": ["00000006"],
"json": 6,
"field_header": "24"
}
],
[
"DestinationTag",
{
"binary": ["2BDF3878"],
"json": 736049272,
"field_header": "2E"
}
],
[
"Amount",
{
"binary": [
"D551C37937E08000",
"000000000000000000000000434E590000000000",
"EE39E6D05CFD6A90DAB700A1D70149ECEE29DFEC"
],
"json": {
"currency": "CNY",
"value": "5000",
"issuer": "r45dBj4S3VvMMYXxr9vHX4Z4Ma6ifPMCkK"
},
"field_header": "61"
}
],
[
"Fee",
{
"binary": ["400000000000000C"],
"json": "12",
"field_header": "68"
}
],
[
"SendMax",
{
"binary": [
"D551F0F2C01DA000",
"000000000000000000000000434E590000000000",
"B53847FA45E828BF9A52E38F7FB39E363493CE8B"
],
"json": {
"currency": "CNY",
"value": "5050",
"issuer": "rHXUjUtk5eiPFYpg27izxHeZ1t4x835Ecn"
},
"field_header": "69"
}
],
[
"Account",
{
"binary": ["B53847FA45E828BF9A52E38F7FB39E363493CE8B"],
"vl_length": "14",
"json": "rHXUjUtk5eiPFYpg27izxHeZ1t4x835Ecn",
"field_header": "81"
}
],
[
"Destination",
{
"binary": ["EE39E6D05CFD6A90DAB700A1D70149ECEE29DFEC"],
"vl_length": "14",
"json": "r45dBj4S3VvMMYXxr9vHX4Z4Ma6ifPMCkK",
"field_header": "83"
}
],
[
"Paths",
{
"binary": [
"01",
"41C8BE2C0A6AA17471B9F6D0AF92AAB1C94D5A25",
"00"
],
"json": [[{
"account": "razqQKzJRdB4UxFPWf5NEpEG3WMkmwgcXA"
}]],
"field_header": "0112"
}
]
],
"blob_with_no_signing": "120000220000000024000000062E2BDF387861D551C37937E08000000000000000000000000000434E590000000000EE39E6D05CFD6A90DAB700A1D70149ECEE29DFEC68400000000000000C69D551F0F2C01DA000000000000000000000000000434E590000000000B53847FA45E828BF9A52E38F7FB39E363493CE8B8114B53847FA45E828BF9A52E38F7FB39E363493CE8B8314EE39E6D05CFD6A90DAB700A1D70149ECEE29DFEC01120141C8BE2C0A6AA17471B9F6D0AF92AAB1C94D5A2500"
},
{
"tx_json": {
"Account": "rP2jdgJhtY1pwDJQEMLfCixesg4cw8HcrW",
"Destination": "rHoUTGMxWKbrTTF8tpAjysjpu8PWrbt1Wx",
"TransactionType": "Payment",
"Amount": {
"currency": "RDD",
"value": "1150.848",
"issuer": "ra9eZxMbJrUcgV8ui7aPc161FgrqWScQxV"
},
"Fee": "10",
"SendMax": {
"currency": "RDD",
"value": "1152",
"issuer": "ra9eZxMbJrUcgV8ui7aPc161FgrqWScQxV"
},
"Flags": 2147483648,
"Sequence": 21703
},
"fields": [
[
"TransactionType",
{
"binary": ["0000"],
"json": "Payment",
"field_header": "12"
}
],
[
"Flags",
{
"binary": ["80000000"],
"json": 2147483648,
"field_header": "22"
}
],
[
"Sequence",
{
"binary": ["000054C7"],
"json": 21703,
"field_header": "24"
}
],
[
"Amount",
{
"binary": [
"D54416B0AE3B0000",
"0000000000000000000000005244440000000000",
"387B5123A1C93417271BA6DBBBD087E68E7445B2"
],
"json": {
"currency": "RDD",
"value": "1150.848",
"issuer": "ra9eZxMbJrUcgV8ui7aPc161FgrqWScQxV"
},
"field_header": "61"
}
],
[
"Fee",
{
"binary": ["400000000000000A"],
"json": "10",
"field_header": "68"
}
],
[
"SendMax",
{
"binary": [
"D54417BCE6C80000",
"0000000000000000000000005244440000000000",
"387B5123A1C93417271BA6DBBBD087E68E7445B2"
],
"json": {
"currency": "RDD",
"value": "1152",
"issuer": "ra9eZxMbJrUcgV8ui7aPc161FgrqWScQxV"
},
"field_header": "69"
}
],
[
"Account",
{
"binary": ["F7B414E9D25EE050553D8A0BB27202F4249AD328"],
"vl_length": "14",
"json": "rP2jdgJhtY1pwDJQEMLfCixesg4cw8HcrW",
"field_header": "81"
}
],
[
"Destination",
{
"binary": ["B83EB506BBE5BCF3E89C638FDB185B1DEAC96584"],
"vl_length": "14",
"json": "rHoUTGMxWKbrTTF8tpAjysjpu8PWrbt1Wx",
"field_header": "83"
}
]
],
"blob_with_no_signing": "120000228000000024000054C761D54416B0AE3B00000000000000000000000000005244440000000000387B5123A1C93417271BA6DBBBD087E68E7445B268400000000000000A69D54417BCE6C800000000000000000000000000005244440000000000387B5123A1C93417271BA6DBBBD087E68E7445B28114F7B414E9D25EE050553D8A0BB27202F4249AD3288314B83EB506BBE5BCF3E89C638FDB185B1DEAC96584"
},
{
"tx_json": {
"Account": "r9TeThyi5xiuUUrFjtPKZiHcDxs7K9H6Rb",
"Destination": "r4BPgS7DHebQiU31xWELvZawwSG2fSPJ7C",
"TransactionType": "Payment",
"Amount": "25000000",
"Fee": "10",
"Flags": 0,
"Sequence": 2
},
"fields": [
[
"TransactionType",
{
"binary": ["0000"],
"json": "Payment",
"field_header": "12"
}
],
[
"Flags",
{
"binary": ["00000000"],
"json": 0,
"field_header": "22"
}
],
[
"Sequence",
{
"binary": ["00000002"],
"json": 2,
"field_header": "24"
}
],
[
"Amount",
{
"binary": ["40000000017D7840"],
"json": "25000000",
"field_header": "61"
}
],
[
"Fee",
{
"binary": ["400000000000000A"],
"json": "10",
"field_header": "68"
}
],
[
"Account",
{
"binary": ["5CCB151F6E9D603F394AE778ACF10D3BECE874F6"],
"vl_length": "14",
"json": "r9TeThyi5xiuUUrFjtPKZiHcDxs7K9H6Rb",
"field_header": "81"
}
],
[
"Destination",
{
"binary": ["E851BBBE79E328E43D68F43445368133DF5FBA5A"],
"vl_length": "14",
"json": "r4BPgS7DHebQiU31xWELvZawwSG2fSPJ7C",
"field_header": "83"
}
]
],
"blob_with_no_signing": "120000220000000024000000026140000000017D784068400000000000000A81145CCB151F6E9D603F394AE778ACF10D3BECE874F68314E851BBBE79E328E43D68F43445368133DF5FBA5A"
},
{
"tx_json": {
"Account": "rGWTUVmm1fB5QUjMYn8KfnyrFNgDiD9H9e",
"Destination": "rw71Qs1UYQrSQ9hSgRohqNNQcyjCCfffkQ",
"TransactionType": "Payment",
"Amount": "200000",
"Fee": "15",
"Flags": 0,
"Sequence": 144,
"LastLedgerSequence": 6220218
},
"fields": [
[
"TransactionType",
{
"binary": ["0000"],
"json": "Payment",
"field_header": "12"