Hook ABI Conversion Helper

Hook ABI Conversion Helper

Enter HookState pair, or HookParameter pair or just Invoke Blob.

How to use

Enter a HookState key and value pair, or HookParameter pair to convert to ABI format. You can also enter just an Invoke Blob in the key field to decode it.

Pick a byte length and identify the type of data you are trying to decode. This tool will tell you all possible ABI interpretations of the data, and you can use contextual knowledge to pick the correct one. For example, if you know a certain key is used to store an account, you can look for 20-byte long segments that decode to valid addresses.

Solved result will give you the ABI JSON that you can use in XRPLWin Explorer and other tools that support ABI, for example HookStore. You can also share the ABI with others to let them decode the same data, or use it in your own tools and scripts.

Try it

Here are some example inputs you can try. Click on any of them to load the key and value into the converter and see how it works.

Tutorials & Guides
Supported types
Null UInt8 UInt16 UInt32 UInt64 Int16 Int32 Int64 XFL Blob VarString AccountID Amount NativeAmount IOUAmount Hash128 Hash160 Hash256 Hash512 Timestamp LedgerIndex