123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919 |
- {
- "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": "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": "RippleEscrow",
- "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": "URI",
- "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": "Fulfillment",
- "nth_of_type": 16,
- "type": 7,
- "expected_hex": "7010"
- },
- {
- "type_name": "Blob",
- "name": "Condition",
- "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": "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"
- },
- {
- "type_name": "UInt8",
- "name": "TickSize",
- "nth_of_type": 16,
- "type": 16,
- "expected_hex": "001010"
- }
- ],
- "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"
- }
- ],
- [
- "Flags",
- {
- "binary": ["00000000"],
- "json": 0,
- "field_header": "22"
- }
- ],
- [
- "Sequence",
- {
- "binary": ["00000090"],
- "json": 144,
- "field_header": "24"
- }
- ],
- [
- "LastLedgerSequence",
- {
- "binary": ["005EE9BA"],
- "json": 6220218,
- "field_header": "201B"
- }
- ],
- [
- "Amount",
- {
- "binary": ["4000000000030D40"],
- "json": "200000",
- "field_header": "61"
- }
- ],
- [
- "Fee",
- {
- "binary": ["400000000000000F"],
- "json": "15",
- "field_header": "68"
- }
- ],
- [
- "Account",
- {
- "binary": ["AA1BD19D9E87BE8069FDBF6843653C43837C03C6"],
- "vl_length": "14",
- "json": "rGWTUVmm1fB5QUjMYn8KfnyrFNgDiD9H9e",
- "field_header": "81"
- }
- ],
- [
- "Destination",
- {
- "binary": ["67FE6EC28E0464DD24FB2D62A492AAC697CFAD02"],
- "vl_length": "14",
- "json": "rw71Qs1UYQrSQ9hSgRohqNNQcyjCCfffkQ",
- "field_header": "83"
- }
- ]
- ],
- "blob_with_no_signing": "12000022000000002400000090201B005EE9BA614000000000030D4068400000000000000F8114AA1BD19D9E87BE8069FDBF6843653C43837C03C6831467FE6EC28E0464DD24FB2D62A492AAC697CFAD02"
- },
- {
- "tx_json": {
- "Account": "r4BPgS7DHebQiU31xWELvZawwSG2fSPJ7C",
- "Destination": "rBqSFEFg2B6GBMobtxnU1eLA1zbNC9NDGM",
- "TransactionType": "Payment",
- "Amount": "25000000",
- "Fee": "12",
- "Flags": 0,
- "Sequence": 1,
- "DestinationTag": 4146942154
- },
- "fields": [
- [
- "TransactionType",
- {
- "binary": ["0000"],
- "json": "Payment",
- "field_header": "12"
- }
- ],
- [
- "Flags",
- {
- "binary": ["00000000"],
- "json": 0,
- "field_header": "22"
- }
- ],
- [
- "Sequence",
- {
- "binary": ["00000001"],
- "json": 1,
- "field_header": "24"
- }
- ],
- [
- "DestinationTag",
- {
- "binary": ["F72D50CA"],
- "json": 4146942154,
- "field_header": "2E"
- }
- ],
- [
- "Amount",
- {
- "binary": ["40000000017D7840"],
- "json": "25000000",
- "field_header": "61"
- }
- ],
- [
- "Fee",
- {
- "binary": ["400000000000000C"],
- "json": "12",
- "field_header": "68"
- }
- ],
- [
- "Account",
- {
- "binary": ["E851BBBE79E328E43D68F43445368133DF5FBA5A"],
- "vl_length": "14",
- "json": "r4BPgS7DHebQiU31xWELvZawwSG2fSPJ7C",
- "field_header": "81"
- }
- ],
- [
- "Destination",
- {
- "binary": ["76DAC5E814CD4AA74142C3AB45E69A900E637AA2"],
- "vl_length": "14",
- "json": "rBqSFEFg2B6GBMobtxnU1eLA1zbNC9NDGM",
- "field_header": "83"
- }
- ]
- ],
- "blob_with_no_signing": "120000220000000024000000012EF72D50CA6140000000017D784068400000000000000C8114E851BBBE79E328E43D68F43445368133DF5FBA5A831476DAC5E814CD4AA74142C3AB45E69A900E637AA2"
- },
- {
- "tx_json": {
- "Account": "rFLiPGytDEwC5heoqFcFAZoqPPmKBzX1o",
- "Destination": "rBsbetvMYuMkEeHZYizPMkpveCVH8EVQYd",
- "TransactionType": "Payment",
- "Amount": "500000",
- "Fee": "20",
- "SourceTag": 668920,
- "Sequence": 34954
- },
- "fields": [
- [
- "TransactionType",
- {
- "binary": ["0000"],
- "json": "Payment",
- "field_header": "12"
- }
- ],
- [
- "SourceTag",
- {
- "binary": ["000A34F8"],
- "json": 668920,
- "field_header": "23"
- }
- ],
- [
- "Sequence",
- {
- "binary": ["0000888A"],
- "json": 34954,
- "field_header": "24"
- }
- ],
- [
- "Amount",
- {
- "binary": ["400000000007A120"],
- "json": "500000",
- "field_header": "61"
- }
- ],
- [
- "Fee",
- {
- "binary": ["4000000000000014"],
- "json": "20",
- "field_header": "68"
- }
- ],
- [
- "Account",
- {
- "binary": ["08F41F116A1F60D60296B16907F0A041BF106197"],
- "vl_length": "14",
- "json": "rFLiPGytDEwC5heoqFcFAZoqPPmKBzX1o",
- "field_header": "81"
- }
- ],
- [
- "Destination",
- {
- "binary": ["6E2F0455C46CF5DF61A1E58419A89D45459045EA"],
- "vl_length": "14",
- "json": "rBsbetvMYuMkEeHZYizPMkpveCVH8EVQYd",
- "field_header": "83"
- }
- ]
- ],
- "blob_with_no_signing": "12000023000A34F8240000888A61400000000007A120684000000000000014811408F41F116A1F60D60296B16907F0A041BF10619783146E2F0455C46CF5DF61A1E58419A89D45459045EA"
- },
- {
- "tx_json": {
- "Account": "r3ZDv3hLmTKwkgAqcXtX2yaMfnhRD3Grjc",
- "Destination": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
- "TransactionType": "Payment",
- "Amount": {
- "currency": "BTC",
- "value": "0.04",
- "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
- },
- "Fee": "106",
- "SendMax": "3267350000",
- "Flags": 0,
- "Sequence": 10,
- "Paths": [[{
- "currency": "BTC",
- "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
- }]],
- "InvoiceID": "342B8D16BEE494D169034AFF0908FDE35874A38E548D4CEC8DFC5C49E9A33B76",
- "DestinationTag": 1403334172
- },
- "fields": [
- [
- "TransactionType",
- {
- "binary": ["0000"],
- "json": "Payment",
- "field_header": "12"
- }
- ],
- [
- "Flags",
- {
- "binary": ["00000000"],
- "json": 0,
- "field_header": "22"
- }
- ],
- [
- "Sequence",
- {
- "binary": ["0000000A"],
- "json": 10,
- "field_header": "24"
- }
- ],
- [
- "DestinationTag",
- {
- "binary": ["53A52E1C"],
- "json": 1403334172,
- "field_header": "2E"
- }
- ],
- [
- "InvoiceID",
- {
- "binary": ["342B8D16BEE494D169034AFF0908FDE35874A38E548D4CEC8DFC5C49E9A33B76"],
- "json": "342B8D16BEE494D169034AFF0908FDE35874A38E548D4CEC8DFC5C49E9A33B76",
- "field_header": "5011"
- }
- ],
- [
- "Amount",
- {
- "binary": [
- "D40E35FA931A0000",
- "0000000000000000000000004254430000000000",
- "DD39C650A96EDA48334E70CC4A85B8B2E8502CD3"
- ],
- "json": {
- "currency": "BTC",
- "value": "0.04",
- "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
- },
- "field_header": "61"
- }
- ],
- [
- "Fee",
- {
- "binary": ["400000000000006A"],
- "json": "106",
- "field_header": "68"
- }
- ],
- [
- "SendMax",
- {
- "binary": ["40000000C2BFCDF0"],
- "json": "3267350000",
- "field_header": "69"
- }
- ],
- [
- "Account",
- {
- "binary": ["52E0F910686FB449A23BC78C3D4CE564C988C6C0"],
- "vl_length": "14",
- "json": "r3ZDv3hLmTKwkgAqcXtX2yaMfnhRD3Grjc",
- "field_header": "81"
- }
- ],
- [
- "Destination",
- {
- "binary": ["DD39C650A96EDA48334E70CC4A85B8B2E8502CD3"],
- "vl_length": "14",
- "json": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
- "field_header": "83"
- }
- ],
- [
- "Paths",
- {
- "binary": [
- "30",
- "0000000000000000000000004254430000000000",
- "DD39C650A96EDA48334E70CC4A85B8B2E8502CD3",
- "00"
- ],
- "json": [[{
- "currency": "BTC",
- "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
- }]],
- "field_header": "0112"
- }
- ]
- ],
- "blob_with_no_signing": "1200002200000000240000000A2E53A52E1C5011342B8D16BEE494D169034AFF0908FDE35874A38E548D4CEC8DFC5C49E9A33B7661D40E35FA931A00000000000000000000000000004254430000000000DD39C650A96EDA48334E70CC4A85B8B2E8502CD368400000000000006A6940000000C2BFCDF0811452E0F910686FB449A23BC78C3D4CE564C988C6C08314DD39C650A96EDA48334E70CC4A85B8B2E8502CD30112300000000000000000000000004254430000000000DD39C650A96EDA48334E70CC4A85B8B2E8502CD300"
- },
- {
- "tx_json": {
- "Account": "rLpW9Reyn9YqZ8mxbq8nviXSp4TnHafVJQ",
- "TransactionType": "OfferCancel",
- "Fee": "12",
- "OfferSequence": 20763,
- "Flags": 0,
- "Sequence": 20769,
- "LastLedgerSequence": 6220009
- },
- "fields": [
- [
- "TransactionType",
- {
- "binary": ["0008"],
- "json": "OfferCancel",
- "field_header": "12"
- }
- ],
- [
- "Flags",
- {
- "binary": ["00000000"],
- "json": 0,
- "field_header": "22"
- }
- ],
- [
- "Sequence",
- {
- "binary": ["00005121"],
- "json": 20769,
- "field_header": "24"
- }
- ],
- [
- "OfferSequence",
- {
- "binary": ["0000511B"],
- "json": 20763,
- "field_header": "2019"
- }
- ],
- [
- "LastLedgerSequence",
- {
- "binary": ["005EE8E9"],
- "json": 6220009,
- "field_header": "201B"
- }
- ],
- [
- "Fee",
- {
- "binary": ["400000000000000C"],
- "json": "12",
- "field_header": "68"
- }
- ],
- [
- "Account",
- {
- "binary": ["D0B32295596E50017E246FE85FC5982A1BD89CE4"],
- "vl_length": "14",
- "json": "rLpW9Reyn9YqZ8mxbq8nviXSp4TnHafVJQ",
- "field_header": "81"
- }
- ]
- ],
- "blob_with_no_signing": "1200082200000000240000512120190000511B201B005EE8E968400000000000000C8114D0B32295596E50017E246FE85FC5982A1BD89CE4"
- },
- {
- "tx_json": {
- "Account": "rfeMWWbSaGqc6Yth2dTetLBeKeUTTfE2pG",
- "TransactionType": "SetRegularKey",
- "Fee": "10",
- "Flags": 2147483648,
- "Sequence": 3,
- "RegularKey": "rfeMWWbSaGqc6Yth2dTetLBeKeUTTfE2pG"
- },
- "fields": [
- [
- "TransactionType",
- {
- "binary": ["0005"],
- "json": "SetRegularKey",
- "field_header": "12"
- }
- ],
- [
- "Flags",
- {
- "binary": ["80000000"],
- "json": 2147483648,
- "field_header": "22"
- }
- ],
- [
- "Sequence",
- {
- "binary": ["00000003"],
- "json": 3,
- "field_header": "24"
- }
- ],
- [
- "Fee",
- {
- "binary": ["400000000000000A"],
- "json": "10",
- "field_header": "68"
- }
- ],
- [
- "Account",
- {
- "binary": ["48E143E2384A1B3C69A412789F2CA3FCE2F65F0B"],
- "vl_length": "14",
- "json": "rfeMWWbSaGqc6Yth2dTetLBeKeUTTfE2pG",
- "field_header": "81"
- }
- ],
- [
- "RegularKey",
- {
- "binary": ["48E143E2384A1B3C69A412789F2CA3FCE2F65F0B"],
- "vl_length": "14",
- "json": "rfeMWWbSaGqc6Yth2dTetLBeKeUTTfE2pG",
- "field_header": "88"
- }
- ]
- ],
- "blob_with_no_signing": "1200052280000000240000000368400000000000000A811448E143E2384A1B3C69A412789F2CA3FCE2F65F0B881448E143E2384A1B3C69A412789F2CA3FCE2F65F0B"
- },
- {
- "tx_json": {
- "Account": "rKXCummUHnenhYudNb9UoJ4mGBR75vFcgz",
- "TransactionType": "SetRegularKey",
- "Fee": "12",
- "Flags": 2147483648,
- "Sequence": 238,
- "RegularKey": "rP9jbfTepHAHWB4q9YjNkLyaZT15uvexiZ",
- "LastLedgerSequence": 6224204
- },
- "fields": [
- [
- "TransactionType",
- {
- "binary": ["0005"],
- "json": "SetRegularKey",
- "field_header": "12"
- }
- ],
- [
- "Flags",
- {
- "binary": ["80000000"],
- "json": 2147483648,
- "field_header": "22"
- }
- ],
- [
- "Sequence",
- {
- "binary": ["000000EE"],
- "json": 238,
- "field_header": "24"
- }
- ],
- [
- "LastLedgerSequence",
- {
- "binary": ["005EF94C"],
- "json": 6224204,
- "field_header": "201B"
- }
- ],
- [
- "Fee",
- {
- "binary": ["400000000000000C"],
- "json": "12",
- "field_header": "68"
- }
- ],
- [
- "Account",
- {
- "binary": ["CB3F392892D0772FF5AD155D8D70404B1DB2ACFE"],
- "vl_length": "14",
- "json": "rKXCummUHnenhYudNb9UoJ4mGBR75vFcgz",
- "field_header": "81"
- }
- ],
- [
- "RegularKey",
- {
- "binary": ["F2F9A54D9CEBBE64342B52DE3450FFA0738C8D00"],
- "vl_length": "14",
- "json": "rP9jbfTepHAHWB4q9YjNkLyaZT15uvexiZ",
- "field_header": "88"
- }
- ]
- ],
- "blob_with_no_signing": "120005228000000024000000EE201B005EF94C68400000000000000C8114CB3F392892D0772FF5AD155D8D70404B1DB2ACFE8814F2F9A54D9CEBBE64342B52DE3450FFA0738C8D00"
- },
- {
- "tx_json": {
- "Account": "rJMiz2rCMjZzEMijXNH1exNBryTQEjFd9S",
- "TransactionType": "TrustSet",
- "LimitAmount": {
- "currency": "WCG",
- "value": "10000000",
- "issuer": "rUx4xgE7bNWCCgGcXv1CCoQyTcCeZ275YG"
- },
- "Fee": "12",
- "Flags": 131072,
- "Sequence": 44
- },
- "fields": [
- [
- "TransactionType",
- {
- "binary": ["0014"],
- "json": "TrustSet",
- "field_header": "12"
- }
- ],
- [
- "Flags",
- {
- "binary": ["00020000"],
- "json": 131072,
- "field_header": "22"
- }
- ],
- [
- "Sequence",
- {
- "binary": ["0000002C"],
- "json": 44,
- "field_header": "24"
- }
- ],
- [
- "LimitAmount",
- {
- "binary": [
- "D6438D7EA4C68000",
- "0000000000000000000000005743470000000000",
- "832297BEF589D59F9C03A84F920F8D9128CC1CE4"
- ],
- "json": {
- "currency": "WCG",
- "value": "10000000",
- "issuer": "rUx4xgE7bNWCCgGcXv1CCoQyTcCeZ275YG"
- },
- "field_header": "63"
- }
- ],
- [
- "Fee",
- {
- "binary": ["400000000000000C"],
- "json": "12",
- "field_header": "68"
- }
- ],
- [
- "Account",
- {
- "binary": ["BE6C30732AE33CF2AF3344CE8172A6B9300183E3"],
- "vl_length": "14",
- "json": "rJMiz2rCMjZzEMijXNH1exNBryTQEjFd9S",
- "field_header": "81"
- }
- ]
- ],
- "blob_with_no_signing": "1200142200020000240000002C63D6438D7EA4C680000000000000000000000000005743470000000000832297BEF589D59F9C03A84F920F8D9128CC1CE468400000000000000C8114BE6C30732AE33CF2AF3344CE8172A6B9300183E3"
- },
- {
- "tx_json": {
- "Account": "rUyPiNcSFFj6uMR2gEaD8jUerQ59G1qvwN",
- "TransactionType": "TrustSet",
- "LimitAmount": {
- "currency": "BTC",
- "value": "1",
- "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
- },
- "Fee": "12",
- "Flags": 2147614720,
- "Sequence": 43,
- "LastLedgerSequence": 6220463
- },
- "fields": [
- [
- "TransactionType",
- {
- "binary": ["0014"],
- "json": "TrustSet",
- "field_header": "12"
- }
- ],
- [
- "Flags",
- {
- "binary": ["80020000"],
- "json": 2147614720,
- "field_header": "22"
- }
- ],
- [
- "Sequence",
- {
- "binary": ["0000002B"],
- "json": 43,
- "field_header": "24"
- }
- ],
- [
- "LastLedgerSequence",
- {
- "binary": ["005EEAAF"],
- "json": 6220463,
- "field_header": "201B"
- }
- ],
- [
- "LimitAmount",
- {
- "binary": [
- "D4838D7EA4C68000",
- "0000000000000000000000004254430000000000",
- "DD39C650A96EDA48334E70CC4A85B8B2E8502CD3"
- ],
- "json": {
- "currency": "BTC",
- "value": "1",
- "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
- },
- "field_header": "63"
- }
- ],
- [
- "Fee",
- {
- "binary": ["400000000000000C"],
- "json": "12",
- "field_header": "68"
- }
- ],
- [
- "Account",
- {
- "binary": ["8353C031DF5AA061A23535E6ABCEEEA23F152B1E"],
- "vl_length": "14",
- "json": "rUyPiNcSFFj6uMR2gEaD8jUerQ59G1qvwN",
- "field_header": "81"
- }
- ]
- ],
- "blob_with_no_signing": "1200142280020000240000002B201B005EEAAF63D4838D7EA4C680000000000000000000000000004254430000000000DD39C650A96EDA48334E70CC4A85B8B2E8502CD368400000000000000C81148353C031DF5AA061A23535E6ABCEEEA23F152B1E"
- },
- {
- "tx_json": {
- "Account": "rpP2GdsQwenNnFPefbXFgiTvEgJWQpq8Rw",
- "TransactionType": "AccountSet",
- "Fee": "10",
- "Flags": 0,
- "Sequence": 10598
- },
- "fields": [
- [
- "TransactionType",
- {
- "binary": ["0003"],
- "json": "AccountSet",
- "field_header": "12"
- }
- ],
- [
- "Flags",
- {
- "binary": ["00000000"],
- "json": 0,
- "field_header": "22"
- }
- ],
- [
- "Sequence",
- {
- "binary": ["00002966"],
- "json": 10598,
- "field_header": "24"
- }
- ],
- [
- "Fee",
- {
- "binary": ["400000000000000A"],
- "json": "10",
- "field_header": "68"
- }
- ],
- [
- "Account",
- {
- "binary": ["0F3D0C7D2CFAB2EC8295451F0B3CA038E8E9CDCD"],
- "vl_length": "14",
- "json": "rpP2GdsQwenNnFPefbXFgiTvEgJWQpq8Rw",
- "field_header": "81"
- }
- ]
- ],
- "blob_with_no_signing": "1200032200000000240000296668400000000000000A81140F3D0C7D2CFAB2EC8295451F0B3CA038E8E9CDCD"
- },
- {
- "tx_json": {
- "Account": "rGCnJuD31Kx4QGZJ2dX7xoje6T4Zr5s9EB",
- "TransactionType": "AccountSet",
- "Fee": "15",
- "Flags": 0,
- "Sequence": 290,
- "LastLedgerSequence": 6221014
- },
- "fields": [
- [
- "TransactionType",
- {
- "binary": ["0003"],
- "json": "AccountSet",
- "field_header": "12"
- }
- ],
- [
- "Flags",
- {
- "binary": ["00000000"],
- "json": 0,
- "field_header": "22"
- }
- ],
- [
- "Sequence",
- {
- "binary": ["00000122"],
- "json": 290,
- "field_header": "24"
- }
- ],
- [
- "LastLedgerSequence",
- {
- "binary": ["005EECD6"],
- "json": 6221014,
- "field_header": "201B"
- }
- ],
- [
- "Fee",
- {
- "binary": ["400000000000000F"],
- "json": "15",
- "field_header": "68"
- }
- ],
- [
- "Account",
- {
- "binary": ["ABBD4A3AF95FDFD6D072F11421D8F107CAEA1852"],
- "vl_length": "14",
- "json": "rGCnJuD31Kx4QGZJ2dX7xoje6T4Zr5s9EB",
- "field_header": "81"
- }
- ]
- ],
- "blob_with_no_signing": "12000322000000002400000122201B005EECD668400000000000000F8114ABBD4A3AF95FDFD6D072F11421D8F107CAEA1852"
- }
- ],
- "values_tests": [
- {
- "test_json": "0",
- "type_id": 6,
- "is_native": true,
- "type": "Amount",
- "expected_hex": "4000000000000000",
- "is_negative": false
- },
- {
- "test_json": "1",
- "type_id": 6,
- "is_native": true,
- "type": "Amount",
- "expected_hex": "4000000000000001",
- "is_negative": false
- },
- {
- "test_json": "-1",
- "type_id": 6,
- "is_native": true,
- "type": "Amount",
- "expected_hex": "0000000000000001",
- "is_negative": true
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "-1",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 1,
- "type_id": 6,
- "is_native": false,
- "mantissa": "00038D7EA4C68000",
- "type": "Amount",
- "expected_hex": "94838D7EA4C6800000000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": true,
- "exponent": -15
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "1",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 1,
- "type_id": 6,
- "is_native": false,
- "mantissa": "00038D7EA4C68000",
- "type": "Amount",
- "expected_hex": "D4838D7EA4C6800000000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -15
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "0",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 1,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0000000000000000",
- "type": "Amount",
- "expected_hex": "800000000000000000000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -15
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "-1.0",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 1,
- "type_id": 6,
- "is_native": false,
- "mantissa": "00038D7EA4C68000",
- "type": "Amount",
- "expected_hex": "94838D7EA4C6800000000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": true,
- "exponent": -15
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "1.0",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 1,
- "type_id": 6,
- "is_native": false,
- "mantissa": "00038D7EA4C68000",
- "type": "Amount",
- "expected_hex": "D4838D7EA4C6800000000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -15
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "0.0",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 1,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0000000000000000",
- "type": "Amount",
- "expected_hex": "800000000000000000000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -15
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "0.000000000000000000000000000000000000000000000000000000000000000000000000001",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 1,
- "type_id": 6,
- "is_native": false,
- "mantissa": "00038D7EA4C68000",
- "type": "Amount",
- "expected_hex": "C1C38D7EA4C6800000000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -90
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "100000000000000000000000000000000000000000000000000000000000000000000000000000",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 1,
- "type_id": 6,
- "is_native": false,
- "mantissa": "00038D7EA4C68000",
- "type": "Amount",
- "expected_hex": "E7C38D7EA4C6800000000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": 62
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "1.111111111111111",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D483F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -15
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "11.11111111111111",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D4C3F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -14
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "111.1111111111111",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D503F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -13
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "1111.111111111111",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D543F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -12
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "11111.11111111111",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D583F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -11
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "111111.1111111111",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D5C3F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -10
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "1111111.111111111",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D603F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -9
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "11111111.11111111",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D643F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -8
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "111111111.1111111",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D683F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -7
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "1111111111.111111",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D6C3F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -6
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "11111111111.11111",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D703F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -5
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "111111111111.1111",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D743F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -4
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "1111111111111.111",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D783F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -3
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "11111111111111.11",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D7C3F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -2
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "111111111111111.1",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D803F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -1
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "1111111111111111.0",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28CB71571C7",
- "type": "Amount",
- "expected_hex": "D843F28CB71571C700000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": 0
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "1111111111111111.1",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 17,
- "type_id": 6,
- "is_native": false,
- "type": "Amount",
- "error": "value precision of 17 is greater than maximum iou precision of 16",
- "is_negative": false
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "9999999999999999000000000000000000000000000000000000000000000000000000000000000000000000000000000",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "type": "Amount",
- "error": "exponent is too large"
- },
- {
- "test_json": {
- "currency": "USD",
- "value": "11111000.00000001",
- "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
- },
- "significant_digits": 16,
- "type_id": 6,
- "is_native": false,
- "mantissa": "0003F28A20CF5801",
- "type": "Amount",
- "expected_hex": "D643F28A20CF580100000000000000000000000055534400000000000000000000000000000000000000000000000001",
- "is_negative": false,
- "exponent": -8
- },
- {
- "test_json": "1000000000000000000",
- "type_id": 6,
- "is_native": true,
- "type": "Amount",
- "error": "1000000000000 absolute XRP is bigger than max native value 100000000000.0",
- "is_negative": false
- },
- {
- "test_json": "-10000000000000000000000000",
- "type_id": 6,
- "is_native": true,
- "type": "Amount",
- "error": "10000000000000000000 absolute XRP is bigger than max native value 100000000000.0",
- "is_negative": true
- }
- ]
- }
|