Last updated
Was this helpful?
Last updated
Was this helpful?
Validate an STObject
read_ptr
uint32_t
The buffer to read the source STObject from
read_len
uint32_t
The Length of the source object
blob
ByteArray | HexString
The blob (e.g. serialized transaction) to be validated.
int64_t
1
if the STObject pointed to by read_ptr
is a valid STObject.
0
if it isn't.
If negative, an error:
OUT_OF_BOUNDS
- pointers/lengths specified outside of hook memory.
ErrorCode | number
Returns number 1 if the STObject is valid, 0 if it isn't, or an error code if validation fails.