validate_asset_id

Ensures that the ID has exactly 32 bytes

Throws "INVALID ID" otherwise.

Parameters

id

the id to validate