Hook State Converter
Decode HookState, HookParameter and Invoke hex into typed ABI segments.
How to use
Enter a HookState key and value, or a HookParameter pair; an Invoke blob goes in the key alone.
Pick a byte length and see every type those bytes can be, or press Suggest. Your knowledge of the hook decides: a 20-byte segment that decodes to an account you know is an account.
The solved result is the ABI JSON of this explorer's projections. On an account's Namespaces tab you can build projections from its real states and publish them.
Guides and types
Null
UInt8
UInt16
UInt32
UInt64
Int8
Int16
Int32
Int64
XFL
Blob
VarString
AccountID
Amount
NativeAmount
IOUAmount
Hash128
Hash160
Hash256
Hash512
Timestamp
LedgerIndex
Bool