12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933 |
- {
- "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": "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": "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"
- },
- {
- "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
- }
- ]
- }
|